Admin API / Mutations
endShipmentBundling
Ends the bundling window of 1 to 100 NOT_STARTED shipments now, so a new order of the buyer starts a new shipment, and starts the completion of their linked Shopify orders. A later payment of an order that is already on a shipment sets a new end and opens its window again. One result per input ID, in input order; a failed shipment does not stop the others. A shipment that the caller cannot read gives ShipmentNotFoundError. A shipment whose seller is not the caller and not the owner of a store that the caller staffs gives UnauthorizedError. A shipment that is not NOT_STARTED, or whose window already ended, gives ShipmentBundlingClosedError, so a repeat gives that error for the shipments that the first call closed. A shipment whose window already ended also gets a completion start. If the completion does not start, the call returns an error and the windows stay closed. A repeat starts the completion.
admin:shipments:writeRequires this member role or higher: SELLERendShipmentBundling(
input: EndShipmentBundlingInput!
): EndShipmentBundlingPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | EndShipmentBundlingInput! | The shipments to close. |