Cancel a coupon redemption

SecuritySecretApiKey or JWT
Request
path Parameters
id
required
string <= 50 characters ^[@~\-\.\w]+$

The resource identifier string.

Responses
201

Cancel a coupon redemption.

Response Headers
Location
string <uri>

The location of the related resource.

Example: "https://api.rebilly.com/example"
401

Unauthorized access, invalid credentials were used.

403

Access forbidden.

404

Resource was not found.

post/coupons-redemptions/{id}/cancel
Request samples
$client->couponsRedemptions()->cancel('id');
Response samples
application/json
{
  • "status": 401,
  • "title": "string",
  • "detail": "string",
  • "instance": "string"
}