GET Customer referral code

​

Get Customer referral code

Path Parameters

Headers

  • Unique request identifier

  • Application key

  • Accept header

  • Api version

  • Authorization header

Responses

  • application/json
Request Example for get/customer-accounts/{customer_account_id}/referral-code
curl 'https://api-public-demo.menu.app/api/customer-accounts/{customer_account_id}/referral-code' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
  --header 'Application: ' \
  --header 'Accept: application/json' \
  --header 'API-version: 5.0.0' \
  --header 'Authorization: '
{
  "status": "OK",
  "code": 200,
  "data": {
    "referral_code": {
      "id": "88cfdb8-c0f8-49df-824c-fce31da3ca5c",
      "referral_program_id": "c234d0c2-98a6-471f-bf7a-a16d84ff37c7",
      "customer_account_id": "8d217634-3f23-11ed-936c-1a67b454859d",
      "device_uuid": "Test-Dragos",
      "code": "87ZLPP",
      "created_at": "2023-06-15 07:52:05",
      "updated_at": "2023-06-15 07:52:05"
    }
  }
}