OrdersFulfillment Orders

Merge Fulfillment Order

Merge a fulfillment order into another

Merges line items from this fulfillment order into a target fulfillment order. Both orders must be from the same order and assigned to the same warehouse. The source order will be closed if all items are merged.

POST
/shipos/fulfillment-orders/{fulfillment_order_id}/merge
x-access-token<token>

In: header

Path Parameters

fulfillment_order_id*string

UUID of the source fulfillment order (items will be removed from here)

Request Body

application/json

Request type for merging a fulfillment order into another

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/shipos/fulfillment-orders/string/merge" \  -H "Content-Type: application/json" \  -d '{    "target_fulfillment_order_id": "string",    "line_items": [      {        "core_fulfillment_order_line_item_id": "string",        "quantity": 0.1      }    ]  }'
{  "success": true,  "message": "string",  "source_fulfillment_order_id": "string",  "target_fulfillment_order_id": "string",  "source_closed": true}