Coupon Codes

Get coupon code by ID

Changed on
get/coupon-codes/{id}

Request

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

Path parameters

id, string required

A unique identifier for this coupon code.

Example:cod_01jps5cgsfzftw7hxcvr2wftk2

Response

OK

object required
couponCode, CouponCode required

coupon-code

Example response

{
  "couponCode": {
    "id": "cod_01jps5cgsfzftw7hxcvr2wftk2",
    "createdAt": "2026-12-02T02:43:23.597Z",
    "updatedAt": "2026-12-02T02:43:23.597Z",
    "name": "TEST50",
    "active": true,
    "couponId": "cpn_01jps5cgsfzs1ksqaet5hba8ac"
  }
}

Changes

    • breaking

      the couponCode/createdAt response's property format changed from date-time to no format for status

    • breaking

      the couponCode/updatedAt response's property format changed from date-time to no format for status

    • breaking

      the couponCode/uses response's property type changed from integer to number for status