List pickup points
GET/v1/company/pickup-points
scope company.read
The addresses a courier collects from. A pickup point is also the origin for drop-shipped orders and the address returns travel back to.
Response#
| Field | Type | Description |
|---|---|---|
count | integer | How many pickup points. |
data | array | Your collection locations. An order can ship from one of these instead of your own address; the RETURN address stays your seller address either way. |
data[]. | integer | The pickup point id. |
data[]. | string | Your name for it. |
data[]. | string|null | What kind of location it is. |
data[]. | object | Where it is. This is a real collection address a courier will drive to. |
data[]. | string|null | Street and number. |
data[]. | string|null | City name, as the courier holds it. |
data[]. | string|null | County name. |
data[]. | string|null | Postal code. |
data[]. | string|null | ISO-2. |
data[]. | object | Who the courier calls here. |
data[]. | string|null | Phone. |
data[]. | string|null | Email. |
data[]. | boolean | Whether orders collect from here unless told otherwise. |
data[]. | boolean | Whether it can currently be used. |
Example
{
"count": 1,
"data": [
{
"id": 11,
"label": "Barcelona warehouse",
"type": "warehouse",
"address": {
"street": "Carrer Gran 42",
"city": "Barcelona",
"county": "Barcelona",
"postal_code": "08001",
"country_code": "ES"
},
"contact": {
"phone": "+34600000000",
"email": "[email protected]"
},
"is_default": true,
"is_active": true
}
]
}