GET api/customers/{id}?store_id={store_id}

Retrieve customer by spcified id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id of the customer

integer

Required

store_id

integer

Required

Body Parameters

None.

Response Information

Resource Description

CustomersRootObject
NameDescriptionTypeAdditional information
customers

Collection of CustomerDto

None.

Response Formats

application/json, text/json

Sample:
{
  "customers": [
    {
      "id": 1,
      "first_name": "sample string 1",
      "phone_number": "sample string 2",
      "discount_percent": 3.0,
      "incremental_sum": 4.0,
      "discount_type": "sample string 5",
      "discount_percent_next": 6.0,
      "remaining_sum": 7.0,
      "birthdate": "2025-04-03T03:50:05.2919885+05:00"
    },
    {
      "id": 1,
      "first_name": "sample string 1",
      "phone_number": "sample string 2",
      "discount_percent": 3.0,
      "incremental_sum": 4.0,
      "discount_type": "sample string 5",
      "discount_percent_next": 6.0,
      "remaining_sum": 7.0,
      "birthdate": "2025-04-03T03:50:05.2919885+05:00"
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.