Create a new promotion.
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.
Created.
{- "description": {
- "en": "Promotion with 30% discount",
- "ru": "Акция со скидкой 30%"
}, - "label": {
- "en": "30%",
- "ru": "30%"
}, - "name": {
- "en": "30% discount",
- "ru": "скидка 30%"
}, - "project_id": 12345,
- "technical_name": "Sale promotion"
}
{- "id": 17890
}