ReDoc documentation

customers/{customerId}/billingAddress

customers/{customerId}/billingAddress

get/V1/customers/{customerId}/billingAddress

Retrieve default billing address for the given customerId.

Request
path Parameters
customerId
required
integer
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

500

Internal Server error

default

Unexpected error

Response samples
{
  • "id": 0,
  • "customer_id": 0,
  • "region": {
    },
  • "region_id": 0,
  • "country_id": "string",
  • "street": [
    ],
  • "company": "string",
  • "telephone": "string",
  • "fax": "string",
  • "postcode": "string",
  • "city": "string",
  • "firstname": "string",
  • "lastname": "string",
  • "middlename": "string",
  • "prefix": "string",
  • "suffix": "string",
  • "vat_id": "string",
  • "default_shipping": true,
  • "default_billing": true,
  • "extension_attributes": { },
  • "custom_attributes": [
    ]
}