Mark fulfillment order as fulfilled

The Mark a fulfillment order as fulfilled action creates a fulfillment for all line items on a fulfillment order.

If a fulfillment order is in a state where it can't be fulfilled, such as ON_HOLD, then the Flow workflow will fail. The fulfillment order must be in a state where it can be fulfilled. This can be determined by setting a condition to evaluate if the FulfillmentOrder.supportedActions.action includes CREATE_FULFILLMENT.

On this page

Fields

The Mark a fulfillment order as fulfilled action contains the following fields.

Fields used in the Mark a fulfillment order as fulfilled action.
FieldDescription
MessageAn additional message to be sent with the fulfillment.
Notify customerNotify customer that the fulfillment has been created.

Triggers

The Mark a fulfillment order as fulfilled action operates on fulfillment orders. The action uses a Fulfillment order ID to identify the fulfillment order and create a fulfillment for it. The Mark a fulfillment order as fulfilled action can be used in workflows that start with the following triggers:

The Mark a fulfillment order as fulfilled action can also be used in any workflow that iterates through fulfillment orders using the For each loop (iterate) action.

Examples

Example of a workflow that creates a fulfillment when a fulfillment order changes location

In this example workflow, when a fulfillment order is moved to a new location, then a fulfillment is created for the fulfillment order.

Example of a workflow that marks all fulfillment orders in an order as fulfilled when an order is created
In this example workflow, when an order is created, then a fulfillment is created for all fulfillment orders.

API details

To learn more, review the fulfillmentCreateV2 mutation.

Can’t find the answers you’re looking for? We’re here to help.