me

Redeem a user-entered code across membership, promo and referral namespaces.

Promo codes assign their benefit (e.g. YCAXEL's flight discount). Referral codes attach the referrer and grant the instant referee credit; only users who have not yet made a paid booking can attach one.

post/me/codes/redeem

Request

  • Base URL: https://api.helloaxel.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.helloaxel.com/me/codes/redeem
  • Auth: HTTP bearer

Request body

codestring required

Response

Successful Response

kind'promo' | 'referral' | 'membership' required

Changes

    • warning

      added the new membership enum value to the response property for the response status

    • info

      added the optional property to the response with the status