GET
/
customers
/
{customer_id}
curl --request GET \
  --url https://{primary_domain}/api/public/v2.0/customers/{customer_id} \
  --header 'X-Access-Key-Id: <api-key>' \
  --header 'X-Access-Key-Secret: <api-key>'
{
  "message": "<string>",
  "data": {
    "id": 123,
    "first_name": "<string>",
    "middle_name": "<string>",
    "last_name": "<string>",
    "email": "jsmith@example.com",
    "contact_number": "<string>",
    "address": {
      "line_1": "<string>",
      "line_2": "<string>",
      "city": "<string>",
      "region": "<string>",
      "region_code": "<string>",
      "country": "<string>",
      "country_code": "<string>",
      "postal_code": "<string>"
    },
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "deleted_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-Access-Key-Id
string
header
required
X-Access-Key-Secret
string
header
required

Path Parameters

customer_id
integer
required

Response

200
application/json
message
string
required
data
object
required

A Customer resource object.