input ShippedPackagesInput

Fields

FieldTypeDescription
addressCreateOrderAddressInput!

Address details for this shipped packages.

carrierString!

Carrier name or carrier code used for shipping.

methodString!

Carrier service or shipping method code.

tracking_numberString

Carrier tracking number for the shipment or label.

tracking_urlString

URL for the tracking URL resource.

label_urlString

URL for the label URL resource.

costString

Internal cost as a decimal monetary amount; distinct from customer-facing price.

line_items[ShippedLineItemInput]

List of line items associated with this shipped packages.

dimensionsDimensionsInput

Package or item dimensions. Length, width, and height are in inches unless account or carrier configuration specifies another unit.

Referenced By

Example

{
  "address": {address1: "123 Fulfillment Ave", city: "New York", country: "US"},
  "carrier": "ups",
  "method": "ups_ground",
  "tracking_number": "1Z999AA10123456784",
  "tracking_url": "https://example.com/resource",
  "label_url": "https://example.com/labels/SHIP-1001.pdf",
  "cost": "19.99",
  "line_items": [[{sku: "BLUE-TEE-M", quantity: 2}]],
  "dimensions": "default"
}