List all pickups

How to fetch a collection of pickups via API

To fetcharrow-up-right a collection of pickups, send a GET request to the /api/pickups endpoint.

Request

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

Example

The following request fetches a collection of pickups:

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

Remember that when you fetch a list of resources you get paginatedarrow-up-right result.

Sortable fields

The list of pickups can be sortedarrow-up-right by the following fields:

Attributes

  • type

  • status

  • id

  • created_at

  • updated_at

  • reference

  • reference_origin

Relationships

  • shipment

Filterable fields

The list of pickups can be filteredarrow-up-right by the following fields:

Attributes

  • type

  • status

  • id

  • created_at

  • updated_at

  • reference

  • reference_origin

  • metadata

Relationships

  • shipment

  • parcels

  • events

Last updated