Table of Contents
InventoryQueryRs (Response)
Posting a proper InventoryQueryRq request will result in the output of the requested information in a simple print format (read with stdin). The InventoryQueryRs is the response to the InventoryQueryRq request and contains the quantity on-hand for the requested products or options.
Sample Response:
<?xml version="1.0" ?> <F3XML> <F3XMLRs> <InventoryQueryRs RequestID="1"> <Item> <SKU>ABC1</SKU> <QtyInStock>21</QtyInStock> </Item> <Item> <SKU>XYZ1</SKU> <QtyInStock>13</QtyInStock> </Item> <Item> <SKU>EFG4</SKU> <QtyInStock>0</QtyInStock> </Item> </InventoryQueryRs> </F3XMLRs> </F3XML>
Response Fields
Tag Name | Sub-Tag Of | Description | Returned | Field Type | Can Repeat |
---|---|---|---|---|---|
Item | InventoryQueryRs | The Item's Node | Always | Node | True |
SKU | Item | The Item's SKU Identifier | Always | String | False |
QtyInStock | Item | The Item's Quantity on Hand (Inventory QTY) | Always | Number | False |