List all SKU list items

How to fetch a collection of SKU list items via API

To fetch a collection of SKU list items, send a GET request to the /api/sku_list_items endpoint.

Request

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

Example

The following request fetches a collection of SKU list items:

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

Remember that when you fetch a list of resources you get paginated result.

Sortable fields

The list of SKU list items can be sorted by the following fields:

  • position

  • quantity

  • id

  • created_at

  • updated_at

  • reference

  • reference_origin

Filterable fields

The list of SKU list items can be filtered by the following fields:

Attributes

  • position

  • quantity

  • id

  • created_at

  • updated_at

  • reference

  • reference_origin

  • metadata

Relationships

  • sku_list

  • sku

Last updated