GET
/
customers
/
{user_id}
/
addresses
curl --request GET \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/storefront/customers/{user_id}/addresses \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "success": true,
  "content": {
    "address": [
      {
        "id": "<string>",
        "first_name": "<string>",
        "last_name": "<string>",
        "country_code": "<string>",
        "phone": "<string>",
        "email": "<string>",
        "address_line1": "<string>",
        "address_line2": "<string>",
        "landmark": "<string>",
        "pincode": "<string>",
        "city": "<string>",
        "state": "<string>",
        "country": "India",
        "gstin": "<string>",
        "business_name": "<string>",
        "is_phone_verified": true,
        "is_email_verified": true,
        "is_default_billing": true,
        "is_default_shipping": true
      }
    ],
    "pagination": {
      "total_records": 252,
      "total_pages": 26,
      "previous_page": null,
      "next_page": 2,
      "limit": 10
    }
  }
}

Authorizations

Authorization
string
header
required

Access token

Path Parameters

user_id
string
required

User id

Query Parameters

page
number

page number of pagination list

Required range: x > 1
limit
integer

no of rows per page

Required range: x > 1

Response

200 - application/json
OK
message
string
success
boolean
content
object