Skip to main content

Upsert customer

PUT 

/v1/customers

Takes the same body as POST and dedups on id, public_id, external_id and document_number, in that order, stopping at the first key that finds a customer. A match is updated and returns 200; otherwise the customer is created and returns 201. Updates are partial: fields absent from the body keep their stored value.

Request​

Responses​

Customer updated.