Logo
Acquired.com API API Documentation

Update a customer

PUT {{url}}customers/:customer_id

This request allows you to update any details of the customer using the customer_id. You can choose to update certain parameters, any parameters not provided will be left unchanged.

https://docs.acquired.com/reference/update-customer

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X PUT 'https://test-api.acquired.com/v1/customers/:customer_id' -H 'Content-Type: application/json' -d '{"first_name":"Edward","last_name":"Johnson","dob":"1988-10-03","ip":"127.0.0.1","custom_data":"L3BheW1lbnQtbGlua3MgcGF5IGN1c3RvbV9kYXRh","billing":{"address":{"line_1":"Suite 2 - 4th Floor","line_2":"44 Baker Street","city":"London","state":"","postcode":"W1U 7AL","country_code":"GB"},"email":"ejohnson@acquired.com","phone":{"country_code":"44","number":"2039826580"}},"shipping":{"address_match":false,"address":{"line_1":"Suite 2 - 4th Floor","line_2":"44 Baker Street","city":"London","state":"","postcode":"W1U 7AL","country_code":"GB"},"email":"ejohnson@acquired.com","phone":{"country_code":"44","number":"2039826580"}}}'

ENDPOINTS