input ShippedPackagesInput
Fields
| Field | Type | Description |
|---|---|---|
address | CreateOrderAddressInput! | Address details for this shipped packages. |
carrier | String! | Carrier name or carrier code used for shipping. |
method | String! | Carrier service or shipping method code. |
tracking_number | String | Carrier tracking number for the shipment or label. |
tracking_url | String | URL for the tracking URL resource. |
label_url | String | URL for the label URL resource. |
cost | String | Internal cost as a decimal monetary amount; distinct from customer-facing price. |
line_items | [ShippedLineItemInput] | List of line items associated with this shipped packages. |
dimensions | DimensionsInput | Package or item dimensions. Length, width, and height are in inches unless account or carrier configuration specifies another unit. |
Referenced By
- FulfillOrderInput Type
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"
}