orderFulfill Mutation
Creates new fulfillments for an order.
Triggers the following webhook events:
- FULFILLMENT_CREATED (async): A new fulfillment is created.
- ORDER_FULFILLED (async): Order is fulfilled.
- FULFILLMENT_TRACKING_NUMBER_UPDATED (async): Sent when fulfillment tracking number is updated.
- FULFILLMENT_APPROVED (async): A fulfillment is approved.
Applied directives
@webhookEventsInfo(asyncEvents: [FULFILLMENT_CREATED, ORDER_FULFILLED, FULFILLMENT_TRACKING_NUMBER_UPDATED, FULFILLMENT_APPROVED], syncEvents: [])
orderFulfill(input: OrderFulfillInput!, order: ID): OrderFulfill
Returns
Show return type
type OrderFulfill {
fulfillments: [Fulfillment!]
order: Order
orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [OrderError!]!
}Arguments
input
input · OrderFulfillInput!
Fields required to create a fulfillment.
order
order · ID
ID of the order to be fulfilled.
Schema: Saleor 3.23.43. Download SDL.