List promotions for store.
Request
- Base URLhttps://api.c1st.com/api
- URLhttps://api.c1st.com/api/promotions
- AuthHTTP bearer
Query parameters
Cursor for pagination. If parameter is set, paginationStart will be ignored. Only allowed for default sorting or based on id.
Determine the offset (in number of items) to fetch. This is usually a multiple of the pageLength.
Determine the number of item to fetch in one page.
Optional. If equal to 1, deleted promotions will be included in the response.
Optional. Search for promotion name, product, brand, tag and customer group
Optional. Search promotions by its action type
Optional. Search promotions by start date (format YYYY-MM-DD HH:MM:SS)
Optional. Search promotions by end date (format YYYY-MM-DD HH:MM:SS)
Optional. Filter out single product discounts
Optional. Filter out chain promotions
Response
Ok
Example response
{
"content": [
{
"id": 123,
"name": "Summer discount",
"description": "10% on all bikes in the summer.",
"deleted": 1,
"startdate": "2019-01-01 12:00:00",
"enddate": "2019-02-01 12:00:00",
"minproducts": 1,
"productfilters": [
{
"attribute": "tag",
"value": "Bike"
}
],
"customerfilters": [
{
"attribute": "tag",
"value": [
"1",
"2",
"3"
]
}
],
"serviceplanfilters": [
{
"attribute": "tag",
"value": [
"1",
"2",
"3"
]
}
],
"articles": [
{
"productno": "456",
"quantity": 5
}
],
"action": {
"type": "percentage",
"amount": 10
}
}
],
"count": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.