PUT api/customers/{id}?store_id={store_id}
Update customer by id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
store_id | integer |
Required |
|
id | string |
None. |
Body Parameters
object of customer
DeltaOfCustomerDtoName | Description | Type | Additional information |
---|---|---|---|
Dto | CustomerDto |
None. |
|
ObjectPropertyNameValuePairs | Dictionary of Object [key] and Object [value] |
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:47:51.1469914+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:47:51.1469914+05:00" } ] }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.