List all shipments

How to fetch a collection of shipments via API

To fetch a collection of shipments, send a GET request to the /api/shipments endpoint.

Request

GET https://yourdomain.commercelayer.io/api/shipments

Example

The following request fetches a collection of shipments:

curl -g -X GET \
  'https://yourdomain.commercelayer.io/api/shipments/' \
  -H 'Accept: application/vnd.api+json' \
  -H 'Authorization: Bearer your-access-token'