DraftFulfillment

Required access

read_orders access scope

Returns unfulfilled line items grouped by their fulfillment service. Each draft fulfillment contains additional information, such as whether the fulfillment requires shipping and whether a shipping label can be printed for it.

Show definition
# Returns unfulfilled line items grouped by their fulfillment service. Each draft
# fulfillment contains additional information, such as whether the fulfillment
# requires shipping and whether a shipping label can be printed for it.
type DraftFulfillment {
  # Whether a label can be purchased.
  allowLabelPurchase: Boolean!

  # The line items (which might correspond to a variant) that are part of this draft fulfillment.
  lineItems: [LineItem!]!

  # Whether a fulfillment requires shipping.
  requiresShipping: Boolean!

  # The service responsible for fulfilling the fulfillment.
  service: FulfillmentService!
}

Fields

allowLabelPurchase   (Boolean!)

Whether a label can be purchased.

lineItems   ([LineItem!]!)

The line items (which might correspond to a variant) that are part of this draft fulfillment.

requiresShipping   (Boolean!)

Whether a fulfillment requires shipping.

service   (FulfillmentService!)

The service responsible for fulfilling the fulfillment.

Sign up for a Partner account to get started.

Sign up