GET v1/ShopOwners/{shopOwnerId}/Warehouses?enabled={enabled}

Get a list with all Warehouses.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shopOwnerId

Shop owner identifier

integer

Required.

enabled

When set, warehouses are filtered on their enabled property.

boolean

Is Optional.

Default value is (null).

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>