GET api/Products
Returns all of the products
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseApiInfoOfListOfProductInfoName | Description | Type | Additional information |
---|---|---|---|
data | Collection of ProductInfo |
None. |
|
UpdateResult | UPDATECODE |
None. |
|
isErrorOnRequest | boolean |
None. |
|
errorMessage | string |
None. |
|
errorMessages | Collection of ErrorInfo |
None. |
|
warningMessages | Collection of ErrorInfo |
None. |
|
isSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "data": [ { "$id": "1", "upc": "sample string 1", "sku": "sample string 2", "Idx": 3, "category": 4, "name": "sample string 5", "price": 6.0, "weight": 7.0, "width": 8.0, "height": 9.0, "multiplier": 10.0, "length": 11.0, "countryCode": "sample string 12", "isCarton": true, "isOversize": true, "isManagedInventory": true, "createdOn": "2019-12-16T03:19:48.5243764-05:00", "updatedOn": "2019-12-16T03:19:48.5243764-05:00", "createFromIdx": 1, "createFromIdx2": 1, "masterKeyType": "SKU" }, { "$ref": "1" } ], "UpdateResult": "CREATE", "isErrorOnRequest": true, "errorMessage": null, "errorMessages": [], "warningMessages": [] }
application/xml, text/xml
Sample:
<xml xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <isSuccess>true</isSuccess> <UpdateResult>CREATE</UpdateResult> <isErrorOnRequest>true</isErrorOnRequest> <errorMessages /> <warningMessages /> <data> <ProductInfo> <upc>sample string 1</upc> <sku>sample string 2</sku> <Idx>3</Idx> <category>4</category> <name>sample string 5</name> <price>6</price> <weight>7</weight> <width>8</width> <height>9</height> <multiplier>10</multiplier> <length>11</length> <countryCode>sample string 12</countryCode> <isCarton>true</isCarton> <isOversize>true</isOversize> <isManagedInventory>true</isManagedInventory> <createdOn>2019-12-16T03:19:48.5243764-05:00</createdOn> <updatedOn>2019-12-16T03:19:48.5243764-05:00</updatedOn> <createFrom>sample string 18</createFrom> <createFromIdx>1</createFromIdx> <createFromIdx2>1</createFromIdx2> <masterKeyType>SKU</masterKeyType> </ProductInfo> <ProductInfo> <upc>sample string 1</upc> <sku>sample string 2</sku> <Idx>3</Idx> <category>4</category> <name>sample string 5</name> <price>6</price> <weight>7</weight> <width>8</width> <height>9</height> <multiplier>10</multiplier> <length>11</length> <countryCode>sample string 12</countryCode> <isCarton>true</isCarton> <isOversize>true</isOversize> <isManagedInventory>true</isManagedInventory> <createdOn>2019-12-16T03:19:48.5243764-05:00</createdOn> <updatedOn>2019-12-16T03:19:48.5243764-05:00</updatedOn> <createFrom>sample string 18</createFrom> <createFromIdx>1</createFromIdx> <createFromIdx2>1</createFromIdx2> <masterKeyType>SKU</masterKeyType> </ProductInfo> </data> </xml>