Retrieve an address
Returns a single active customer address of the calling account.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the address. Only addresses of the calling account can be addressed; any other identifier returns 404.
The requested address.
A customer address as returned by the address endpoints.
The unique identifier of the address.
42The e-mail address of the owning account.
jane.doe@example.comThe recipient's phone number.
05551234567The recipient's first name.
JaneThe recipient's last name.
DoeThe identifier of the country.
1The identifier of the city.
34The identifier of the township.
410The identifier of the district, or null.
5123The street address.
Example Street No 12 Flat 3The label of the address.
HomeThe post/zip code.
34710Delivery instructions.
Ring the bell twice.The company name for corporate invoices.
The tax office for corporate invoices.
The tax number for corporate invoices.
Whether the owner is registered for electronic invoicing.
falseThe fingerprint of the address content, used to detect duplicates.
3f1c2a9b8e7d6c5b4a39281706f5e4d3The 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.
The identifier of the related retail store, or null.
The identifier of the address in an external system.
The national identity number of the recipient.
The values of the country-specific extra fields, keyed by field name, or null when none is stored.
The identifier of the owning user.
7true when any corporate invoice field (company_name, tax_office, tax_no, e_bill_taxpayer) is set.
falseWhether this is the primary address of the account.
trueAuthentication credentials were not provided or are invalid.
No active customer address of the calling account exists with the given identifier. This is also returned for addresses that belong to another user, addresses that were deleted, and addresses whose address_type is not customer.
GET /api/v1/remote/1/addresses/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"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?

