Coupons
delete/coupons/{id}

Request

  • Base URL: https://api.session.services
  • URL: https://api.session.services/coupons/{id}
  • Auth: API key in header x-tenant-id

Path parameters

idstring required

A unique identifier for this coupon.

Example:cpn_01jps5cgsfzs1ksqaet5hba8ac

Response

OK

Example response

{
  "coupon": {
    "id": "cpn_01jps5cgsfzs1ksqaet5hba8ac",
    "couponId": "cpn_01jps5cgsfzs1ksqaet5hba8ac",
    "createdAt": "2026-10-17T08:46:46.697Z",
    "updatedAt": "2026-10-17T08:46:46.697Z",
    "name": "Half Price",
    "active": true,
    "kind": "PERCENT",
    "filter": "EVENTS",
    "currency": "AUD",
    "discount": 50,
    "limit": -1,
    "orderLimit": 2,
    "saleStartsAt": "2025-02-10T03:00:00"
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the non-success response with the status