Create an address
POST/v1/addresses
scope company.write
Adds an address you can ship from. Your first address automatically becomes the default, whatever you send in is_default — a seller with one address and no default is a seller who cannot ship. The street must contain a number and the postal code must fit both the country format and the county the city is in; a courier rejects the shipment otherwise, so we reject it here instead.
Request body#
| Field | Type | Required | Description |
|---|---|---|---|
city_id | integer | required | From GET /v1/geo/cities. Free-text city names are never accepted — the courier needs this id. |
street | string | required | Street and number, 5-50 characters, and it must contain a digit (address_number_required otherwise). This is also the street printed on listings published from this address. |
postal_code | string | required | Checked against the country format and, where we have the data, against the county the city belongs to. See GET /v1/geo/address-rules. |
county_id | integer | optional | Almost never needed: the county always follows the city. Send it only to assert the one you expect — a value that disagrees with the city is rejected with county_mismatch rather than silently ignored. |
is_default | boolean | optional | Make this the address orders ship from. Setting it clears the flag on every other address — there is always exactly one. Ignored on your first address, which is the default regardless. |
company_name | string | optional | Optional trading name stored on this address only. It does not touch your company profile — use PUT /v1/company for that. |
company_vat_code | string | optional | Optional VAT code stored on this address only. |
company_reg_no | string | optional | Optional registration number stored on this address only. |
Example
{
"city_id": 1,
"street": "Bulevardul Decebal 14",
"postal_code": "200001",
"is_default": true
}Response#
| Field | Type | Description |
|---|---|---|
id | integer | Use it on the update, delete and default routes. |
street | string | Street and number, as stored. |
postal_code | string | As stored. |
city | object | The city, resolved. |
city. | integer | The city_id you sent. |
city. | string | Its name, in our data. |
county | object | The county, always the one the city belongs to. |
county. | integer | County id. |
county. | string | County name. |
country_code | string | ISO 3166-1 alpha-2, derived from the county. |
company_name | string | What you sent, or null. |
company_vat_code | string | What you sent, or null. |
company_reg_no | string | What you sent, or null. |
is_default | boolean | Whether orders ship from this address. |
created_at | string | ISO 8601. |
updated_at | string | ISO 8601. |
Example
{
"id": 4812,
"street": "Bulevardul Decebal 14",
"postal_code": "200001",
"city": {
"id": 1,
"name": "Craiova"
},
"county": {
"id": 1,
"name": "Dolj"
},
"country_code": "RO",
"company_name": "Bike Shop SRL",
"company_vat_code": "RO12345678",
"company_reg_no": "J16/123/2020",
"is_default": true,
"created_at": "2026-09-14T09:12:44+00:00",
"updated_at": "2026-09-14T09:12:44+00:00"
}