ops
ops-discounts
Extend a discount's validity
Changed onExtend a discount's valid start and/or end datetimes
put/ops/discount/{id}/extend
Request
- Base URLhttps://api.topi-staging.eu
- URLhttps://api.topi-staging.eu/ops/discount/{id}/extend
- AuthOAuth 2Authorization code: /oauth2/authorizeToken URL: /oauth2/token scopes: discount:edit
Path parameters
idstring regexp required
discount ID
Example:739b63c2-9e58-4964-b38d-4ebb424de242
Request body
Example request
{
"valid_from": "1970-01-01T00:00:01Z",
"valid_until": "1970-01-01T00:00:01Z"
}Response
OK response.
Changes
- info
api operation id
discount.extendDiscountValidityremoved and replaced withdiscount#extendDiscountValidity
- info
- info
api operation id
discount#extendDiscountValidityremoved and replaced withdiscount.extendDiscountValidity - info
api tag
ops-discountsadded
- info