Customers
Admin

Retrieve a customer by ID

Changed on

Retrieve a customer by ID

get/api/v1/admin/customers/{customerId}

Request

Path parameters

customerIdstring uuid required

The unique identifier of the customer

Example:123e4567-e89b-12d3-a456-426614174000

Response

Success

successboolean required

Indicates if the request was successful

Example response

{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174001",
    "name": "John Doe",
    "email": "john.doe@example.com",
    "phone_number": "+491234567890",
    "created_at": "2024-03-19T12:00:00Z",
    "updated_at": "2024-03-19T12:00:00Z"
  }
}

Changes

    • breaking

      the / response's property type changed from string to no type for status

    • warning

      removed the optional property / from the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added subschema #1 subschema #2 to the / response property allOf list for the response status

    • info

      endpoint added