put https://public-api.devmate.com/v2/customers/
This method is used to update info about existing customer. customer_id
must be passed in URL (mandatory).
Example request demonstrates updating information about customer created in the previous section: changing the first name from 'John' to 'Jane' and changing an email to [email protected].
Response Codes
200 | Customer was updated successfully |
400 | Request parameter is absent or incorrect. For example, wrong email address. |
401 | Authorization failed |
404 | Customer with such ID was not found |
405 | Method not allowed: customer ID is empty |
409 | Customers with such email already exists |
500 | Server error |