- Account
- Address
- Authorization
- Brand
- Cart
- Category
- Checkout
- Favorite
- Order
- Product
- Review
- Upload
- HomeGET
- SettingGET
Update Checkout
Developing
PUT
/checkout
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
shipping_address_id
string
required
shipping_method_code
string
required
billing_address_id
string
required
billing_method_code
string
required
Example
{
"shipping_address_id": "1",
"shipping_method_code": "fixed_shipping.0",
"billing_address_id": "1",
"billing_method_code": "bank_transfer"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.innoshop.net/api/checkout' \
--header 'Content-Type: application/json' \
--data-raw '{
"shipping_address_id": "1",
"shipping_method_code": "fixed_shipping.0",
"billing_address_id": "1",
"billing_method_code": "bank_transfer"
}'
Responses
🟢200成功
application/json
Body
object {0}
Example
{}
Modified at 2024-08-15 14:22:08