ManagementTerminal ordersTerminal orders merchant level

Get a list of shipping locations

GET
/merchants/{merchantId}/shippingLocations

Returns the shipping locations for the merchant account identified in the path. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products.

To make this request, your API credential must have one of the following roles:

  • Management API—Terminal ordering read
  • Management API—Terminal ordering read and write

In the live environment, requests to this endpoint are subject to rate limits.

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

merchantId*string

The unique identifier of the merchant account.

Query Parameters

name?string

The name of the shipping location.

offset?integer

The number of locations to skip.

Formatint32
limit?integer

The number of locations to return.

Formatint32

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/merchants/string/shippingLocations"

Example response with shipping locations for a merchant account

{  "data": [    {      "id": "S2-6A6C2E3432747D4F2F2C3455485E3836457D",      "name": "YOUR_COMPANY Spain",      "contact": {        "firstName": "Pablo",        "lastName": "Mengano",        "phoneNumber": "+34911234567",        "email": "Pablo.Mengano@company.com"      },      "address": {        "streetAddress": "Paseo de la Castellana 43",        "streetAddress2": "7 piso",        "postalCode": "28046",        "city": "Madrid",        "country": "ES"      }    }  ]}