Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

List addresses with related objects

Returns the same addresses as GET /addresses/, with the owning user, country, city, township, district, and retail store expanded into full objects instead of identifiers.

Scoping, ordering, sort, and the unpaginated response behave exactly as in the standard list.

get
/addresses/detailed/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Query parameters
sortstringOptional

Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.

Example: -id
Responses
200

The address book of the calling account with related objects expanded.

application/json

The address book of the calling account with related objects expanded. The list is not paginated — every address is returned in results, and next and previous are always null.

countintegerOptional

The number of addresses returned.

nextstring · nullableOptional

Always null.

previousstring · nullableOptional

Always null.

get/addresses/detailed/
GET /api/v1/remote/1/addresses/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "pk": 1,
      "email": "name@gmail.com",
      "phone_number": "text",
      "first_name": "text",
      "last_name": "text",
      "country": {
        "pk": 1,
        "is_active": true,
        "name": "Turkey",
        "code": "TR",
        "translations": {
          "tr": {
            "name": "Türkiye"
          }
        }
      },
      "city": {
        "pk": 3,
        "is_active": true,
        "name": "Istanbul",
        "country": 1,
        "priority": 1,
        "postcode": null,
        "translations": {
          "tr": {
            "name": "İstanbul"
          }
        }
      },
      "township": {
        "pk": 42,
        "is_active": true,
        "name": "Kadıköy",
        "city": 3,
        "postcode": "34710",
        "translations": {
          "tr": {
            "name": "Kadıköy"
          }
        }
      },
      "district": {
        "pk": 7,
        "is_active": true,
        "name": "Kadıköy",
        "city": 3,
        "township": 12,
        "postcode": "34710",
        "translations": {
          "tr": {
            "name": "Kadıköy"
          }
        }
      },
      "line": "text",
      "title": "text",
      "postcode": null,
      "notes": null,
      "company_name": null,
      "tax_office": null,
      "tax_no": null,
      "e_bill_taxpayer": true,
      "hash_data": "text",
      "address_type": "customer",
      "retail_store": {
        "pk": 1,
        "name": "text",
        "township": 1,
        "district": null,
        "address": "text",
        "phone_number": "text",
        "fax_phone_number": null,
        "image": null,
        "store_hours": [
          [
            null
          ]
        ],
        "latitude": null,
        "longitude": null,
        "is_active": true,
        "click_and_collect": true,
        "store_type": null,
        "kapida_enabled": true,
        "fast_delivery": true,
        "config": {},
        "group": null,
        "sort_order": null,
        "created_date": "2026-01-01T00:00:00.000Z",
        "modified_date": "2026-01-01T00:00:00.000Z",
        "extra_field": null,
        "image_path": null,
        "erp_code": null,
        "translations": null,
        "related_retail_stores": [
          1
        ]
      },
      "remote_id": null,
      "identity_number": null,
      "extra_field": null,
      "user": {
        "pk": 1,
        "username": "text",
        "first_name": "text",
        "last_name": "text",
        "email": "name@gmail.com",
        "is_active": true,
        "date_joined": "2026-01-01T00:00:00.000Z",
        "last_login": null,
        "email_allowed": true,
        "sms_allowed": true,
        "whatsapp_allowed": null,
        "call_allowed": null,
        "gender": "male",
        "attributes": {},
        "phone": null,
        "date_of_birth": null,
        "attributes_kwargs": {},
        "user_type": "guest",
        "modified_date": null
      },
      "is_corporate": true,
      "primary": true
    }
  ]
}

Last updated

Was this helpful?