Skip to main content

Update a Delivery Customer

PUT 

/delivery/customers/:customer_id

Updates the details of an existing delivery customer. Sending client_reference as null clears it, including on the customer's pending stops. A key that is not sent is left unchanged. Changing country_id requires an address field (address_line_1, address_line_2 or postal_code) or both latitude and longitude in the same request, otherwise the request is rejected with HTTP 422. A write that ends in a 500 "Server Error" or a 502 "Bad Gateway" has an unknown outcome, so it may have been saved. Before you retry, check the current state with GET /delivery/customers/{customer_id}.

Request​

Responses​

Successful operation