curl --request PATCH \
--url 'https://api.stateset.com/api/v1/orders/{id}/ship' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"lines": [
{
"order_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": 2
}
],
"tracking_number": "1Z999AA10123456784"
}'
{
"created_at": "2026-08-31T14:22:05Z",
"currency": "USD",
"customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"fulfillment_status": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Two-Person Tent",
"product_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": 2,
"shipped_quantity": 1,
"sku": "SKU-TENT-2P-GRN",
"total": "102.12",
"unit_price": "49.00"
}
],
"order_number": "ORD-10042",
"payment_status": "string",
"status": "pending",
"total_amount": "102.12",
"updated_at": "2026-08-31T14:22:05Z"
}
Ship an order
Without a body every remaining unit ships. With lines, only those units ship and the order is partially_shipped until the last unit leaves.
PATCH
/
api
/
v1
/
orders
/
{id}
/
ship
curl --request PATCH \
--url 'https://api.stateset.com/api/v1/orders/{id}/ship' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"lines": [
{
"order_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": 2
}
],
"tracking_number": "1Z999AA10123456784"
}'
{
"created_at": "2026-08-31T14:22:05Z",
"currency": "USD",
"customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"fulfillment_status": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Two-Person Tent",
"product_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": 2,
"shipped_quantity": 1,
"sku": "SKU-TENT-2P-GRN",
"total": "102.12",
"unit_price": "49.00"
}
],
"order_number": "ORD-10042",
"payment_status": "string",
"status": "pending",
"total_amount": "102.12",
"updated_at": "2026-08-31T14:22:05Z"
}
Without a body every remaining unit ships. With
lines, only those units
ship and the order is partially_shipped until the last unit leaves.
Path parameters
string
required
Order ID (UUID)
Request body
JSON body of typeShipOrderRequest,null.
Response
OrderResponse
string (date-time)
required
string
required
string (uuid)
required
string
required
string (uuid)
required
OrderItemResponse[]
required
string
required
string
required
string
required
string
required
string (date-time)
required
Status codes
| Code | Meaning |
|---|---|
200 | Order shipped (fully or partially) |
400 | Order cannot be shipped, or a line exceeds its unshipped quantity |
404 | Order not found |
curl --request PATCH \
--url 'https://api.stateset.com/api/v1/orders/{id}/ship' \
--header "Authorization: Bearer $STATESET_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"lines": [
{
"order_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": 2
}
],
"tracking_number": "1Z999AA10123456784"
}'
{
"created_at": "2026-08-31T14:22:05Z",
"currency": "USD",
"customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"fulfillment_status": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Two-Person Tent",
"product_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": 2,
"shipped_quantity": 1,
"sku": "SKU-TENT-2P-GRN",
"total": "102.12",
"unit_price": "49.00"
}
],
"order_number": "ORD-10042",
"payment_status": "string",
"status": "pending",
"total_amount": "102.12",
"updated_at": "2026-08-31T14:22:05Z"
}
Last modified on August 31, 2026