Skip to content

List my saved addresses​

GET
/customers/me/addresses

Returns the authenticated customer's saved addresses for the resolved account, oldest first.

Auth: Bearer JWT required; allowed realms: customer.

Authorizations​

bearerAuth

Jeton client obtenu par POST /auth/login (ou /auth/register), renouvelé par POST /auth/refresh.

Type
HTTP (bearer)

Responses​

Address list

application/json
JSON
{
  
"ok": true,
  
"data": [
  
  
{
  
  
  
"addressId": "123e4567-e89b-12d3-a456-426614174000",
  
  
  
"customerId": "string",
  
  
  
"accountId": "string",
  
  
  
"firstName": "string",
  
  
  
"lastName": "string",
  
  
  
"address1": "string",
  
  
  
"address2": "string",
  
  
  
"city": "string",
  
  
  
"state": "string",
  
  
  
"postcode": "string",
  
  
  
"countryCode": "string",
  
  
  
"phone": "string",
  
  
  
"isDefaultBilling": true,
  
  
  
"isDefaultShipping": true,
  
  
  
"createdAt": "2024-01-01T00:00:00Z"
  
  
}
  
]
}

Playground​

Authorization

Samples​

Powered by VitePress OpenAPI

Tarifs : contactez-nous — contact@marketkit.ai