Cancel a coupon redemption

Cancels a coupon redemption with a specified ID.

SecurityAPI Key: SecretApiKey or HTTP: JWT
Request
path Parameters
id
required
string <= 50 characters ^[@~\-\.\w]+$

ID of the resource.

post
/coupons-redemptions/{id}/cancel
Request samples
$client->couponsRedemptions()->cancel('id');
Responses

201

Coupon redemption cancelled.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

404

Resource not found.

Response samples
application/json
{ "status": 401, "type": "http://example.com", "title": "string", "detail": "string", "instance": "string" }