customers/me/shippingAddress

customers/me/shippingAddress

get/V1/customers/me/shippingAddress

Retrieve default shipping address for the given customerId.

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": [
    ]
}