Add shipment to order
Orders
Add shipment to order
Associate a shipment with an order using a shipping address and option.
POST
Add shipment to order
Request
Headers
| Header | Type | Description |
|---|---|---|
Authorization | string | Provide the customer token as Bearer <jwt>. |
x-shop-id | string | Identify the shop that owns the order. |
Content-Type | string | Always set to application/json. |
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
orderId | string | Yes | The order ID to associate with the shipment. |
shippingAddressId | string | Yes | The shipping address ID to use for delivery. |
shippingOptionId | string | Yes | The shipping option to use. |
courierId | string | No | ID of a specific courier within the shipping option. |
Successful response
Error responses
404 Order not found
400 Missing required field
Authorizations
JWT issued by the Salesive Store API for authenticated shoppers.
Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.
Headers
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.
Body
application/json

