GET v1/Shops/{ShopId}/Warehouses

Get a list with all Warehouses.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
shopId

Shop identifier

integer

Required.

Body Parameters

None.

Response Information

Resource Description


Collection of WarehouseBasicInfo
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

Required

Name

Gets or sets the name.

string

Required

Max length: 50

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2"
  },
  {
    "Id": 1,
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWarehouseBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <WarehouseBasicInfo>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </WarehouseBasicInfo>
  <WarehouseBasicInfo>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </WarehouseBasicInfo>
</ArrayOfWarehouseBasicInfo>