Update Customer

PUT {{baseUrl}}/customers/:customer

This endpoint allows you to update customer details by providing the "customer_id" you want to update in the customer path parameter.

:::note The existing values of all skipped parameters will remain unchanged. :::

customers.read_write- Customers Read & Write

Request Body

{"first_name"=>"<string>", "last_name"=>"<string>", "mobile"=>"<string>", "mobile_code_country"=>"<string>", "email"=>"<string>", "gender"=>"male", "birthday"=>"YYYY-MM-DD", "groups"=>["<integer>", "<integer>"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cnumber\u003e&quot;,&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;data&quot;:{&quot;id&quot;:&quot;\u003cnumber\u003e&quot;,&quot;first_name&quot;:&quot;EOJlu QLfDHYs᠎WOBPTwWP us&quot;,&quot;last_name&quot;:&quot;pmsqPE LNovrP\u2029RjwS BrLKkf&quot;,&quot;mobile&quot;:&quot;\u003cnumber\u003e&quot;,&quot;mobile_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;email&quot;:&quot;\u003cstring\u003e&quot;,&quot;urls&quot;:{&quot;customer&quot;:&quot;\u003cstring\u003e&quot;,&quot;admin&quot;:&quot;\u003cstring\u003e&quot;},&quot;avatar&quot;:&quot;\u003cstring\u003e&quot;,&quot;gender&quot;:&quot;\u003cstring\u003e&quot;,&quot;brithday&quot;:{&quot;date&quot;:&quot;\u003cstring\u003e&quot;,&quot;timezone_type&quot;:&quot;\u003cinteger\u003e&quot;,&quot;timezone&quot;:&quot;\u003cstring\u003e&quot;},&quot;city&quot;:&quot;\u003cstring\u003e&quot;,&quot;country&quot;:&quot;\u003cstring\u003e&quot;,&quot;country_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;currency&quot;:&quot;\u003cstring\u003e&quot;,&quot;location&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_at&quot;:{&quot;date&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timezone_type&quot;:&quot;\u003cnumber\u003e&quot;,&quot;timezone&quot;:&quot;\u003cstring\u003e&quot;},&quot;groups&quot;:[&quot;\u003cinteger\u003e&quot;,&quot;\u003cinteger\u003e&quot;]}}