Shipments
Return a list of Shipments
Storefront API
- Authentication
- Account
- Account / Address
- Account / Credit Cards
- Account / Orders
- Order Status
- Cart
- Cart / Line Items
- Cart / Other
- Cart / Coupons
- Checkout
- Checkout / State
- Checkout / Shipments
- Checkout / Payments
- Checkout / Store Credit
- Stripe
- Products
- Vendors
- Stores
- Taxons
- Countries
- CMS Pages
- Menus
- Wishlists
- Wishlists / Wished Items
- Digital Downloads
Platform API
- Authentication
- Addresses
- Adjustments
- Classifications
- CMS Pages
- CMS Sections
- Countries
- Data Feeds
- Digital Links
- Digital Assets
- Line Items
- Menu Items
- Menus
- Option Types
- Option Values
- Orders
- Payment Methods
- Payments
- Products
- Promotion Actions
- Promotion Categories
- Promotion Rules
- Promotions
- Roles
- Shipments
- GETReturn a list of Shipments
- POSTCreate a Shipment
- GETReturn a Shipment
- DELDelete a Shipment
- PATCHUpdate a Shipment
- PATCHAdds item (Variant) to an existing Shipment
- PATCHRemoves item (Variant) from Shipment
- PATCHMark Shipment as ready to be shipped
- PATCHMark Shipment as shipped
- PATCHCancels the Shipment
- PATCHResumes the Shipment
- PATCHMoves Shipment back to pending state
- GET
- Shipping Categories
- Shipping Methods
- States
- Stock Items
- Stock Locations
- Store Credit Categories
- Store Credit Types
- Store Credits
- Tax Categories
- Tax Rates
- Taxonomies
- Taxons
- Users
- Variants
- Vendors
- Webhook Events
- Webhook Subscribers
- Wished Items
- Wishlists
- Zones
Shipments
Return a list of Shipments
Returns a list of Shipments
GET
/
api
/
v2
/
platform
/
shipments
curl --request GET \
--url http://{defaultHost}/api/v2/platform/shipments \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "28",
"type": "shipment",
"attributes": {
"tracking": "U10000",
"number": "H74819281258",
"cost": "100.0",
"shipped_at": null,
"state": "pending",
"created_at": "2022-11-08T19:35:09.196Z",
"updated_at": "2022-11-08T19:35:09.199Z",
"adjustment_total": "0.0",
"additional_tax_total": "0.0",
"promo_total": "0.0",
"included_tax_total": "0.0",
"pre_tax_amount": "0.0",
"taxable_adjustment_total": "0.0",
"non_taxable_adjustment_total": "0.0",
"public_metadata": {},
"private_metadata": {},
"display_discounted_cost": "$100.00",
"display_item_cost": "$0.00",
"display_amount": "$100.00",
"display_final_price": "$100.00",
"display_cost": "$100.00",
"tracking_url": null
},
"relationships": {
"order": {
"data": {
"id": "78",
"type": "order"
}
},
"address": {
"data": null
},
"stock_location": {
"data": {
"id": "106",
"type": "stock_location"
}
},
"adjustments": {
"data": []
},
"inventory_units": {
"data": []
},
"shipping_rates": {
"data": [
{
"id": "30",
"type": "shipping_rate"
}
]
},
"state_changes": {
"data": []
},
"selected_shipping_rate": {
"data": {
"id": "30",
"type": "shipping_rate"
}
}
}
},
{
"id": "29",
"type": "shipment",
"attributes": {
"tracking": "U10000",
"number": "H45064150244",
"cost": "100.0",
"shipped_at": null,
"state": "pending",
"created_at": "2022-11-08T19:35:09.230Z",
"updated_at": "2022-11-08T19:35:09.233Z",
"adjustment_total": "0.0",
"additional_tax_total": "0.0",
"promo_total": "0.0",
"included_tax_total": "0.0",
"pre_tax_amount": "0.0",
"taxable_adjustment_total": "0.0",
"non_taxable_adjustment_total": "0.0",
"public_metadata": {},
"private_metadata": {},
"display_discounted_cost": "$100.00",
"display_item_cost": "$0.00",
"display_amount": "$100.00",
"display_final_price": "$100.00",
"display_cost": "$100.00",
"tracking_url": null
},
"relationships": {
"order": {
"data": {
"id": "79",
"type": "order"
}
},
"address": {
"data": null
},
"stock_location": {
"data": {
"id": "107",
"type": "stock_location"
}
},
"adjustments": {
"data": []
},
"inventory_units": {
"data": []
},
"shipping_rates": {
"data": [
{
"id": "31",
"type": "shipping_rate"
}
]
},
"state_changes": {
"data": []
},
"selected_shipping_rate": {
"data": {
"id": "31",
"type": "shipping_rate"
}
}
}
}
],
"meta": {
"count": 2,
"total_count": 2,
"total_pages": 1
},
"links": {
"self": "http://www.example.com/api/v2/platform/shipments?page=1&per_page=&include=&filter[state_eq]=",
"next": "http://www.example.com/api/v2/platform/shipments?filter%5Bstate_eq%5D=&include=&page=1&per_page=",
"prev": "http://www.example.com/api/v2/platform/shipments?filter%5Bstate_eq%5D=&include=&page=1&per_page=",
"last": "http://www.example.com/api/v2/platform/shipments?filter%5Bstate_eq%5D=&include=&page=1&per_page=",
"first": "http://www.example.com/api/v2/platform/shipments?filter%5Bstate_eq%5D=&include=&page=1&per_page="
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Select which associated resources you would like to fetch, see: <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>
Response
200
application/vnd.api+json
Records returned
Was this page helpful?
curl --request GET \
--url http://{defaultHost}/api/v2/platform/shipments \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "28",
"type": "shipment",
"attributes": {
"tracking": "U10000",
"number": "H74819281258",
"cost": "100.0",
"shipped_at": null,
"state": "pending",
"created_at": "2022-11-08T19:35:09.196Z",
"updated_at": "2022-11-08T19:35:09.199Z",
"adjustment_total": "0.0",
"additional_tax_total": "0.0",
"promo_total": "0.0",
"included_tax_total": "0.0",
"pre_tax_amount": "0.0",
"taxable_adjustment_total": "0.0",
"non_taxable_adjustment_total": "0.0",
"public_metadata": {},
"private_metadata": {},
"display_discounted_cost": "$100.00",
"display_item_cost": "$0.00",
"display_amount": "$100.00",
"display_final_price": "$100.00",
"display_cost": "$100.00",
"tracking_url": null
},
"relationships": {
"order": {
"data": {
"id": "78",
"type": "order"
}
},
"address": {
"data": null
},
"stock_location": {
"data": {
"id": "106",
"type": "stock_location"
}
},
"adjustments": {
"data": []
},
"inventory_units": {
"data": []
},
"shipping_rates": {
"data": [
{
"id": "30",
"type": "shipping_rate"
}
]
},
"state_changes": {
"data": []
},
"selected_shipping_rate": {
"data": {
"id": "30",
"type": "shipping_rate"
}
}
}
},
{
"id": "29",
"type": "shipment",
"attributes": {
"tracking": "U10000",
"number": "H45064150244",
"cost": "100.0",
"shipped_at": null,
"state": "pending",
"created_at": "2022-11-08T19:35:09.230Z",
"updated_at": "2022-11-08T19:35:09.233Z",
"adjustment_total": "0.0",
"additional_tax_total": "0.0",
"promo_total": "0.0",
"included_tax_total": "0.0",
"pre_tax_amount": "0.0",
"taxable_adjustment_total": "0.0",
"non_taxable_adjustment_total": "0.0",
"public_metadata": {},
"private_metadata": {},
"display_discounted_cost": "$100.00",
"display_item_cost": "$0.00",
"display_amount": "$100.00",
"display_final_price": "$100.00",
"display_cost": "$100.00",
"tracking_url": null
},
"relationships": {
"order": {
"data": {
"id": "79",
"type": "order"
}
},
"address": {
"data": null
},
"stock_location": {
"data": {
"id": "107",
"type": "stock_location"
}
},
"adjustments": {
"data": []
},
"inventory_units": {
"data": []
},
"shipping_rates": {
"data": [
{
"id": "31",
"type": "shipping_rate"
}
]
},
"state_changes": {
"data": []
},
"selected_shipping_rate": {
"data": {
"id": "31",
"type": "shipping_rate"
}
}
}
}
],
"meta": {
"count": 2,
"total_count": 2,
"total_pages": 1
},
"links": {
"self": "http://www.example.com/api/v2/platform/shipments?page=1&per_page=&include=&filter[state_eq]=",
"next": "http://www.example.com/api/v2/platform/shipments?filter%5Bstate_eq%5D=&include=&page=1&per_page=",
"prev": "http://www.example.com/api/v2/platform/shipments?filter%5Bstate_eq%5D=&include=&page=1&per_page=",
"last": "http://www.example.com/api/v2/platform/shipments?filter%5Bstate_eq%5D=&include=&page=1&per_page=",
"first": "http://www.example.com/api/v2/platform/shipments?filter%5Bstate_eq%5D=&include=&page=1&per_page="
}
}