Cancel a coupon redemption

Cancels a coupon redemption with a specified ID.

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

ID of the resource.

Responses
201

Coupon redemption cancelled.

Response Headers
Location
string <uri>

Location of the related resource.

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

Unauthorized access. Invalid credentials used.

403

Access forbidden.

404

Resource 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"
}