List all order amount promotion rules
How to fetch a collection of order amount promotion rules via API
To fetch a collection of order amount promotion rules, send a GET
request to the /api/order_amount_promotion_rules
endpoint.
Request
GET https://yourdomain.commercelayer.io/api/order_amount_promotion_rules
Example
The following request fetches a collection of order amount promotion rules:
Remember that when you fetch a list of resources you get paginated result.
Sortable fields
The list of order amount promotion rules can be sorted by the following fields:
Attributes
created_at
id
reference
reference_origin
type
updated_at
Filterable fields
The list of order amount promotion rules can be filtered by the following fields:
Attributes
created_at
id
metadata
reference
reference_origin
type
updated_at
Relationships
promotion
Last updated