Skip to main content
Anchor to ShippingLabelPurchaseInput

ShippingLabelPurchaseInput

input_object

The input fields for the fulfillment order, shipping date and time, package details, weight, notification setting, and optional rate preference used to purchase a shipping label.

•ID!
non-null

The ID of the fulfillment order to create the shipping label for. The fulfillment order must be fulfillable, require shipping, and have a destination shipping address.

•Boolean
Default:false

Whether to notify the customer after the shipping label is purchased.

•MailingAddressInput

A custom ship-from origin address that overrides the fulfillment order's assigned location for this label. If not provided, the assigned location is used.

•PackageInfoInput

The package to use for the shipment. Provide either a custom package or a carrier-provided package.

Anchor to preferredRateSelectionpreferredRateSelection
•PreferredRateSelectionInput

The preferred carrier and service to use for the shipping label. If omitted, the mutation uses Shopify Shipping's default rate selection.

•DateTime!
non-null

The date and time when the package is expected to be shipped. The value must not be in the past.

•WeightInput

Total shipment weight, including the items being fulfilled and the package. If omitted, the total weight used is calculated using the weight of the empty package and the weight of the fulfillable line items.


Was this section helpful?