Shipment
Prerequisites
Add shipping information
Request
curl -D- -X POST <base_url>/api/v1/carts/<cartId>/shipping \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
-H 'Content-Type: application/json' \
-d '{
"priceGroupId": "<priceGroupId>",
"shippingMethodId": "<shippingMethodId>",
"shippingAddress": {
"attention":"<attention>",
"city": "<city>",
"companyName":"<companyName>",
"countryId": "<countryId>",
"email":"<email>",
"firstName": "<firstName>",
"lastName": "<lastName>",
"line1": "<addressLine1>",
"line2": "<addressLine2>",
"mobileNumber":"<mobileNumber>",
"phoneNumber":"<phoneNumber>",
"postalCode": "<postalCode>",
"state":"<state>",
},
}'Response
Error Handling
Error
Description
Related Articles
Error HandlingLast updated