List all promotion rules
How to fetch a collection of promotion rules via API
Last updated
How to fetch a collection of promotion rules via API
Last updated
To a collection of promotion rules, send a GET
request to the /api/promotion_rules
endpoint.
GET https://yourdomain.commercelayer.io/api/promotion_rules
The following request fetches a collection of promotion rules:
Remember that when you fetch a list of resources you get result.
The list of promotion rules can be by the following fields:
type
id
created_at
updated_at
reference
reference_origin
type
id
created_at
updated_at
reference
reference_origin
metadata
promotion
The list of promotion rules can be by the following fields: