Fulfillment
Requires access scope, access scope, access scope, access scope, access scope or access scope.
Represents a fulfillment. In Shopify, a fulfillment represents a shipment of one or more items in an order. When an order has been completely fulfilled, it means that all the items that are included in the order have been sent to the customer. There can be more than one fulfillment for an order.
Anchor to FieldsFields
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the fulfillment was created.
- Anchor to deliveredAtdelivered•Date
At Time The date that this fulfillment was delivered.
- Anchor to displayStatusdisplay•Fulfillment
Status Display Status Human readable display status for this fulfillment.
- Anchor to estimatedDeliveryAtestimated•Date
Delivery At Time The estimated date that this fulfillment will arrive.
- Anchor to eventsevents•Fulfillment
Event Connection! non-null The history of events associated with this fulfillment.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Fulfillment
Key Event Sort Keys Default:HAPPENED_AT Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
Arguments
- Anchor to fulfillmentLineItemsfulfillment•Fulfillment
Line Items Line Item Connection! non-null List of the fulfillment's line items.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to fulfillmentOrdersfulfillment•Fulfillment
Orders Order Connection! non-null A paginated list of fulfillment orders for the fulfillment.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- •ID!non-null
A globally-unique ID.
- Anchor to inTransitAtin•Date
Transit At Time The date and time when the fulfillment went into transit.
- Anchor to legacyResourceIdlegacy•Unsigned
Resource Id Int64! non-null The ID of the corresponding resource in the REST Admin API.
- Anchor to locationlocation•Location
The location that the fulfillment was processed at.
- Anchor to namename•String!non-null
Human readable reference identifier for this fulfillment.
- Anchor to orderorder•Order!non-null
The order for which the fulfillment was created.
- Anchor to originAddressorigin•Fulfillment
Address Origin Address The address at which the fulfillment occurred. This field is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. Typically this is the address of the warehouse or fulfillment center. To retrieve a fulfillment location's address, use the
field on theobject instead.- Anchor to requiresShippingrequires•Boolean!
Shipping non-null Whether any of the line items in the fulfillment require shipping.
- Anchor to serviceservice•Fulfillment
Service Fulfillment service associated with the fulfillment.
- Anchor to statusstatus•Fulfillment
Status! non-null The status of the fulfillment.
- Anchor to totalQuantitytotal•Int!
Quantity non-null Sum of all line item quantities for the fulfillment.
- Anchor to trackingInfotracking•[Fulfillment
Info Tracking Info!]! non-null Tracking information associated with the fulfillment, such as the tracking company, tracking number, and tracking URL.
- Anchor to firstfirst•Int
Truncate the array result to this size.
Arguments
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time when the fulfillment was last modified.
Anchor to QueriesQueries
- •query
Returns a Fulfillment resource by ID.
- •ID!required
The ID of the Fulfillment to return.
Arguments
- •ID!
Anchor to MutationsMutations
- •mutation
Cancels a fulfillment.
- •ID!required
The ID of the fulfillment to be canceled.
Arguments
- •ID!
- •mutation
Creates a fulfillment for one or many fulfillment orders. The fulfillment orders are associated with the same order and are assigned to the same location.
- Anchor to fulfillmentfulfillment•Fulfillment
Input! required The input fields used to create a fulfillment from fulfillment orders.
- Anchor to messagemessage•String
An optional message for the fulfillment request.
Arguments
- •mutation
Updates tracking information for a fulfillment.
- Anchor to fulfillmentIdfulfillment•ID!
Id required The ID of the fulfillment.
- Anchor to trackingInfoInputtracking•Fulfillment
Info Input Tracking Input! required The tracking input for the mutation, including tracking URL, number, and company.
- Anchor to notifyCustomernotify•Boolean
Customer Whether the customer will be notified of this update and future updates for the fulfillment. If this field is left blank, then notifications won't be sent to the customer when the fulfillment is updated.
Arguments
Deprecated mutations
- •mutationDeprecated
- Anchor to fulfillmentfulfillment•Fulfillment
V2Input! required The input fields used to create a fulfillment from fulfillment orders.
- Anchor to messagemessage•String
An optional message for the fulfillment request.
Arguments
- •mutationDeprecated
- Anchor to fulfillmentIdfulfillment•ID!
Id required The ID of the fulfillment.
- Anchor to trackingInfoInputtracking•Fulfillment
Info Input Tracking Input! required The tracking input for the mutation, including tracking URL, number, and company.
- Anchor to notifyCustomernotify•Boolean
Customer Whether the customer will be notified of this update and future updates for the fulfillment. If this field is left blank, then notifications won't be sent to the customer when the fulfillment is updated.
Arguments