Skip to content

getStoreWarehouses - Get the warehouses of a store

Request

Description

Retrieve the warehouses linked to a store. An empty list is returned when no warehouse is linked to the store.

Security
Bearer(Required scopes:
connect-channel-platform:store:r...
)
Path
channel_idstring, non-emptyrequired

Id of the channel

channel_store_idstring, non-emptyrequired

Id of the store in channel

curl -i -X GET \
  'https://miraklconnect.com/api/channel-platform/v1/channels/{channel_id}/stores/{channel_store_id}/warehouses' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

The list of warehouses linked to the store

Bodyapplication/json
Array [
codestringrequired

Code of the warehouse. This is the stable identifier of the warehouse within Connect.

Example:"WH-PARIS-01"
namestringrequired

Human readable name of the warehouse.

Example:"Paris warehouse"
]
Response
[ { "code": "WH-PARIS-01", "name": "Paris warehouse" } ]