List all SKU options

How to fetch a collection of SKU options via API

To fetch a collection of SKU options, send a GET request to the /api/sku_options endpoint.

Request

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

Example

The following request fetches a collection of SKU options:

curl -g -X GET \
  'https://yourdomain.commercelayer.io/api/sku_options/' \
  -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 options can be sorted by the following fields:

Attributes

  • name

  • currency_code

  • price_amount_cents

  • delay_hours

  • delay_days

  • id

  • created_at

  • updated_at

  • reference

  • reference_origin

Relationships

  • market

Filterable fields

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

Attributes

  • name

  • currency_code

  • description

  • price_amount_cents

  • delay_hours

  • delay_days

  • id

  • created_at

  • updated_at

  • reference

  • reference_origin

  • metadata

Relationships

  • market

  • attachments

  • events

  • tags

Last updated