GET api/Inventory/ShopInventory?AppId={AppId}&AppKey={AppKey}&ShopId={ShopId}&TimeStamp={TimeStamp}&isWebitem={isWebitem}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AppId

string

Default value is

AppKey

string

Default value is

ShopId

string

Default value is

TimeStamp

string

Default value is

isWebitem

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Inventory
NameDescriptionTypeAdditional information
code

string

None.

msg

string

None.

data

Collection of InventoryList

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "msg": "sample string 2",
  "data": [
    {
      "shop_id": 1,
      "Hold_Quantity": 2.1,
      "Product_code": "sample string 3",
      "Product_price": 4.1,
      "product_item_id": 5,
      "quantity": 6.1
    },
    {
      "shop_id": 1,
      "Hold_Quantity": 2.1,
      "Product_code": "sample string 3",
      "Product_price": 4.1,
      "product_item_id": 5,
      "quantity": 6.1
    }
  ]
}

text/xml

Sample:
<Inventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models">
  <code>sample string 1</code>
  <data>
    <InventoryList>
      <Hold_Quantity>2.1</Hold_Quantity>
      <Product_code>sample string 3</Product_code>
      <Product_price>4.1</Product_price>
      <product_item_id>5</product_item_id>
      <quantity>6.1</quantity>
      <shop_id>1</shop_id>
    </InventoryList>
    <InventoryList>
      <Hold_Quantity>2.1</Hold_Quantity>
      <Product_code>sample string 3</Product_code>
      <Product_price>4.1</Product_price>
      <product_item_id>5</product_item_id>
      <quantity>6.1</quantity>
      <shop_id>1</shop_id>
    </InventoryList>
  </data>
  <msg>sample string 2</msg>
</Inventory>