Skip to main content

syncOrderFulfillments

Reconciles a V2 order's fulfillment orders on its source integration so the external system matches Endless's fulfillments (e.g. moves Shopify FulfillmentOrder line items to the location Endless targets for them).

Asynchronous: the mutation validates the request, enqueues the reconcile, and returns a process id to track progress.

Requirements

  • User must have orders:sync_order_fulfillments permission
  • Order must exist, be a V2 order, and be locally held by the caller
  • The order's source integration must support fulfillment-order sync
  • The order's fulfillments must cover its ordered units (nothing unassigned or over-covered)

Arguments

  • order_id (required): The ID of the order to sync
syncOrderFulfillments(
input: SyncOrderFulfillmentsInput!
): AsynchronousActionResponse

Arguments

syncOrderFulfillments.input ● SyncOrderFulfillmentsInput! non-null input common

Parameters for SyncOrderFulfillments

Type

AsynchronousActionResponse object common

Asynchronous action response type