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

List addresses

Returns every active customer address of the calling account in a single response. The list is not paginated: page and limit are ignored, and next and previous are always null.

Addresses are ordered with the primary address first, then by last modification, newest first, unless sort is given. No filter parameters are supported. For a guest account, only the most recently created address is returned. A request without credentials returns an empty list.

get
/addresses/
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.

application/json

The address book of the calling account. 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/
GET /api/v1/remote/1/addresses/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "pk": 42,
      "email": "jane.doe@example.com",
      "phone_number": "05551234567",
      "first_name": "Jane",
      "last_name": "Doe",
      "country": 1,
      "city": 34,
      "township": 410,
      "district": 5123,
      "line": "Example Street No 12 Flat 3",
      "title": "Home",
      "postcode": "34710",
      "notes": "Ring the bell twice.",
      "company_name": null,
      "tax_office": null,
      "tax_no": null,
      "e_bill_taxpayer": false,
      "hash_data": "3f1c2a9b8e7d6c5b4a39281706f5e4d3",
      "address_type": "customer",
      "retail_store": null,
      "remote_id": null,
      "identity_number": null,
      "extra_field": null,
      "user": 7,
      "is_corporate": false,
      "primary": true
    }
  ]
}

Last updated

Was this helpful?