List all bundles

How to fetch a collection of bundles via API

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

Request

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

Example

The following request fetches a collection of bundles:

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

Attributes

  • code

  • currency_code

  • price_amount_cents

  • compare_at_amount_cents

  • id

  • created_at

  • updated_at

  • reference

  • reference_origin

Relationships

  • market

  • sku_list

Filterable fields

The list of bundles can be filtered by the following fields:

Attributes

  • code

  • name

  • currency_code

  • description

  • image_url

  • do_not_ship

  • do_not_track

  • price_amount_cents

  • compare_at_amount_cents

  • id

  • created_at

  • updated_at

  • reference

  • reference_origin

  • metadata

Relationships

  • market

  • sku_list

  • attachments

  • events

  • tags

Last updated