--- url: https://docs.youcan.shop/store-admin/customers/update.md --- # Update a Customer Endpoint: `https://api.youcan.shop/customers/{id}` Method: `PUT` ## Required Scopes * `edit-customers` ## Parameters | Param Name | Param Type | Description | Required | | -------------- | ---------- | ----------------------------| -------- | | `first_name` | string | Customer first name | no | | `last_name` | string | Customer last name | no | | `email` | string | Customer email | no | | `phone` | string | Customer phone number | no | | `country` | string | Customer country | no | | `region` | string | Customer region | no | | `city` | string | Customer city | no | | `notes` | string | Customer notes | no | ## Responses \[200] OK ```json { "message": "customer successfully updated", "http_code": 200, "code": "UPDATED", "type": "success", "data": null } ``` \[404] Not Found ```json { "status": 404, "code": 0, "detail": "Customer not found", "meta": [] } ```