Update Customer
PUT {{baseUrl}}/customers/:customer
This endpoint allows you to create a customer. Provide the ID of the customer you want to update in the customer path parameter. The response will be all the customer updated data.
💡 Note
The existing value of all skipped parameters will remain unchanged.
Request Body
{"first_name"=>"<string>", "last_name"=>"<string>", "mobile"=>"<string>", "mobile_code_country"=>"<string>", "email"=>"<string>", "gender"=>"female", "birthday"=>"YYYY-MM-DD", "groups"=>["<integer>", "<integer>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"status":"\u003cnumber\u003e","success":"\u003cboolean\u003e","data":{"id":"\u003cnumber\u003e","first_name":"ZxN DKidt","last_name":"EXknIYvKfWZ kSv vFpfBXC-K","mobile":"\u003cnumber\u003e","mobile_code":"\u003cstring\u003e","email":"\u003cstring\u003e","urls":{"customer":"\u003cstring\u003e","admin":"\u003cstring\u003e"},"avatar":"\u003cstring\u003e","gender":"\u003cstring\u003e","brithday":{"date":"\u003cstring\u003e","timezone_type":"\u003cinteger\u003e","timezone":"\u003cstring\u003e"},"city":"\u003cstring\u003e","country":"\u003cstring\u003e","country_code":"\u003cstring\u003e","currency":"\u003cstring\u003e","location":"\u003cstring\u003e","updated_at":{"date":"\u003cdateTime\u003e","timezone_type":"\u003cnumber\u003e","timezone":"\u003cstring\u003e"},"groups":["\u003cinteger\u003e","\u003cinteger\u003e"]}}