GET
/
v1
/
c
/
customer
/
{customer_id}
/
address
curl --request GET \
  --url http://127.0.0.1:8080/v1/c/customer/{customer_id}/address \
  --header 'wb-key: <api-key>'
{
  "city": "<string>",
  "country": "<string>",
  "line_1": "<string>",
  "line_2": "<string>",
  "state": "<string>",
  "zip": "<string>"
}

Authorizations

wb-key
string
header
required

Path Parameters

customer_id
string
required

Id of the Customer

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