Skip to main content

Unmerge Merged Shipment

POST 

/api/v2/merged-shipments/:mergedShipment/unmerge

Reverses a merge group, restoring each sales order to its pre-merge state. Only allowed before a label is purchased / the shipment is shipped.

Required scope: orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Path Parameters:

  • mergedShipment (integer): ID of the merge group

Request Body:

  • reason (optional, string, max 1000): Audit-trail reason for the unmerge

Required permission: fulfillment_orders.update (Fulfillment Orders → Edit) and fulfillment_orders.index (Fulfillment Orders → View). A token also needs its orders scope; the owner needs these role permissions.

Request​

Responses​

OK