Sets date/time ranges when a promotion is valid. If the promotion is read-only (read_only
= true
), you cannot edit existing periods, but you can add new ones.
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.
No content.
{- "periods": [
- {
- "from": "2019-03-02T00:00:00+04:00",
- "to": "2019-04-02T00:00:00+04:00"
}
]
}