Admin API/Shipping and fulfillment/Mutations
fulfillmentCreate
mutationShips a confirmed order with one parcel: committed stock leaves the warehouse, the order becomes Shipped.
Returns FulfillmentCreatePayload!
mutation FulfillmentCreate($orderId: ID!) {
fulfillmentCreate(orderId: $orderId) {
fulfillment {
id
status
deliveredAt
displayStatus
returnedAt
shippedAt
}
userErrors {
code
message
field
}
}
}
# Variables
{
"orderId": "gid://ostorya/Order/0f8c5b1e-…"
}Arguments
Payload
- fulfillmentFulfillment
- userErrors[UserError!]!required