patch
https://test-api.bill.pro/api/v2/profiles//customers/
Changes a customer's details. Send only what you want to change. The body has the same fields as Create customer.
What's replaced and what's kept
- A field or block you leave out keeps its current value.
- To clear a text field, such as
phone, send an empty string''.nullis ignored and keeps the old value. organisation: nullremoves the organisation.shipping_address: nullremoves the shipping address and setssame_as_billing_addresstofalse.same_as_billing_address: truecopies the billing address to the shipping address. Anyshipping_addressyou send is then ignored.tag_listreplaces all the customer's tags. Send[]to remove every tag. Leave it out to keep them. To change only the tags, use Replace customer tags.customer.statuschanges the status. Sendactiveordormant. Other values are ignored without an error, and the status doesn't change.
The response is the updated customer, without tags.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…