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

Retrieve an address with related objects

Returns a single address of the calling account with the owning user, country, city, township, district, and retail store expanded into full objects. district and retail_store are null when not set.

Scoping behaves exactly as in GET /addresses/{id}/.

get
/addresses/{id}/detailed/
Authorizations
AuthorizationstringRequired

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

Path parameters
idintegerRequired

The unique identifier of the address. Only addresses of the calling account can be addressed; any other identifier returns 404.

Responses
200

The requested address with related objects expanded.

application/json

A customer address with its related objects expanded. Returned by GET /addresses/detailed/ and GET /addresses/{id}/detailed/. The other properties have the same meaning as in the standard address representation.

pkintegerRead-onlyOptional
emailstring · emailOptional
phone_numberstringOptional
first_namestringOptional
last_namestringOptional
linestringOptional
titlestringOptional
postcodestring · nullableOptional
notesstring · nullableOptional
company_namestring · nullableOptional
tax_officestring · nullableOptional
tax_nostring · nullableOptional
e_bill_taxpayerbooleanOptional
hash_datastringRead-onlyOptional
address_typestring · enumOptional

The kind of address. Only customer addresses are returned by the address endpoints.

  • customer — a delivery or billing address of a customer (default).
  • retail_store — the address of a retail store.
  • pickup_location — the address of a pickup point.
  • checkout_provider — an address supplied by an external checkout provider.
Possible values:
remote_idstring · nullableOptional
identity_numberstring · nullableOptional
extra_fieldobject · nullableRead-onlyOptional
is_corporatebooleanRead-onlyOptional
primarybooleanOptional
get/addresses/{id}/detailed/
GET /api/v1/remote/1/addresses/{id}/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "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?