Skip to main content
PUT
Update specific fields of customer address (PUT)

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

customer_id
integer
required

Customer's Id

address_id
integer
required

Address Id

Body

application/json
customer
object | null

Response

Success

A single customer after an address edit.

customer
object

A customer of the company. Every customer response carries the base fields. Some fields appear only on particular endpoints: active_subscriptions_count, inactive_subscriptions_count, metafields, member_id and jwt are added for company admins; points and attributable_rep are added by the detail, update and attributable-rep endpoints; the sponsor, rank, identity and agreement fields are added by the detail and update endpoints only.

meta
object | null
updated_address_id
integer

Present only when admin address copy-on-write is enabled; the id of the address the customer holds after the edit.

Example:

7731