Update Customer[update customer details]
POST {{baseUrl}}/customers/:id
Updates the customer's details in a customer object.
Request Body
{"email"=>"joseph@example.com", "name"=>"Joseph", "phone_country_code"=>"+91", "phone"=>"8888888888", "address"=>{"line1"=>"123", "line2"=>"cg custom street", "line3"=>"Stallion", "city"=>"chennai", "state"=>"Tamilnadu", "zip"=>"620021", "country"=>"IN", "first_name"=>"joseph", "last_name"=>"Doe"}, "description"=>"Test customer", "metadata"=>{"city"=>"NY", "unit"=>"245"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |