GET api/customers?PhoneNumber={PhoneNumber}&StoreId={StoreId}
Retrieve customer by phone number
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
phone_number |
Amount of results (default: 50) (maximum: 100) |
string |
None. |
store_id | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
CustomersRootObjectName | Description | Type | Additional 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:39:17.1539871+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:39:17.1539871+05:00" } ] }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.