Support Portal

Welcome
Login

Warehouses

This endpoint allows you to manage your warehouses used inside your Seven Senders account.

Endpoint


https://api.sevensenders.com/v2/docs.html#/Warehouse/getWarehouseCollection


Headers

ParameterMandatoryDescription
API-KEY
YES
Your authorization key to access Seven Senders API

Methods

GET

Filters

ParameterMandatoryDefault ValueDescription
limit
NO
20How many warehouse to return
offset
NO
-Offset from which to start listing warehouses
order_by
NO
-Order by fields

Response

The API will respond with an array of warehouses, each element inside the array has the following properties:

FieldTypeExampleDescription
country
object
Country object
1
2
3
4
"country": {    
    "name""Germany",    
    "iso2""de"
}
Object that contain information regarding the warehouse
country.iso2
string
"de"
the ISO code for the country
country.name
string
"Germany"
The country name where the warehouse is located
name
string
"warehouse"
The warehouse name, that is used to create a shipment

Example

Request

Curl example

curl -X "GET" -H "Accept:\ application/json" -H "Content-type:\ application/x-www-form-urlencoded" -H "API-KEY:\ <API-KEY>" http://api.sevensenders.com/v2/warehouses.json?limit=20

Response

Response to a GET warehouse call

[{
    "name": "warehouse",
    "country": {
        "name": "Germany",
        "iso2": "de"
    }
}]