List of all promotions.
Notice
This API call does not contain the project_id
path-parameter, so you need to use the API key that is valid in all the company’s projects to set up authorization.
OK.
[- {
- "datetime": {
- "from": "2020-02-01T00:00:00+04:00",
- "to": "2020-11-30T01:28:42+04:00"
}, - "enabled": true,
- "id": 17840,
- "is_active": true,
- "is_infinite": false,
- "project": {
- "id": 12345,
- "localized_name": "Christmas sale"
}, - "read_only": false,
- "technical_name": "christmas"
}, - {
- "datetime": null,
- "enabled": false,
- "id": 17891,
- "is_active": false,
- "is_infinite": true,
- "project": {
- "id": 12345,
- "localized_name": "30% discount"
}, - "read_only": false,
- "technical_name": "Sale promotion"
}
]