Skip to main content
POST
Set Customer's Address

Authorizations

wb-key
string
header
required

Path Parameters

customer_id
string
required

Id of the Customer

Body

application/json

Physical address. Used by both Customer and WbCustomer entities.

city
string
required

City name

country
string
required

ISO 3166 2-letter Country code

line_1
string
required

First line of address

zip
string
required

Zip or Postal code

line_2
string | null

Second line of the address. Optional

state
string | null

State, or another appropriate administrative region Empty string value will be treated as NULL

Response

200 - application/json

Customer Address Details

Physical address. Used by both Customer and WbCustomer entities.

city
string
required

City name

country
string
required

ISO 3166 2-letter Country code

line_1
string
required

First line of address

zip
string
required

Zip or Postal code

line_2
string | null

Second line of the address. Optional

state
string | null

State, or another appropriate administrative region Empty string value will be treated as NULL