Delete promo code
POST
/api/crm/v2/special_offers_promo_codes.deletev2 operationId:
specialOffersPromoCodes.deleteAuthorization
api-token + language + role
Query parameters
branch_idinteger
Branch where the request is executed. A partner with multiple branches must provide this parameter; otherwise, the request will fail. For a partner with a single branch, the server will assign it automatically.
Example: 8778
special_offer_idintegerrequired
Example: 152410
Request body application/json
object
idintegerrequired
Example: 27571
Responses
OK
object (Response)
statusstringrequired
Values:successerror
Example: success
One of the options
object
Error details
errorobjectrequired
codeintegerrequired
Error code
variablesobject
descriptionstringrequired
Error description