Skip to content

Current Quantity Download

You can use ProductQuantity “GET” operation to obtain current computed available quantity from Teapplix:

Method and Endpoint

Current quantity download uses “GET” REST method, and the URL is below:

https://api.teapplix.com/api2/ProductQuantity

Parameters

Parameters to limit which orders to download from Teapplix are passed in the query string part of the URL.

  • WarehouseId: integer like 1 or 2, defaults to 1, the warehouse #. If you do not turn on multi-warehouse in your Teapplix account, this parameter defaults to 1. For multi-warehouse Teapplix Accounts, not specifying this parameter will cause all warehouses to be returned.
  • ItemName: the item name to find current quantity for
  • Upc: UPC of the item to find current quantity for

Response Schema

The reply from Teapplix is described by the following Schema:

https://api.teapplix.com/api2/ProductQuantity Explorer

GET Request

Query parameters

PropertyTypeDescriptionConstraints
WarehouseId string
ItemName string
Upc string

GET Response - 200

Inventory Quantity Result

Product Operation result

PropertyTypeDescriptionConstraints
ProductQuantities Product Quantity[] Product quantities data Required

Product Quantity

Product Quantity

PropertyTypeDescriptionConstraints
ItemName string Item Name
WarehouseId integer Warehouse Id
WarehouseName string Warehouse Name. Provided for external warehouses only.
Asin string
Upc string Upc
Location string Location
Xref3 string Xref3
UnitCost number Unit Cost
TotalCost number Total Cost
QtyOnHand integer Qty On Hand
QtyToShip integer Qty To Ship
QtyAvailable integer Qty Available
QtyReserve integer Qty Reserve
ItemTitle string Item Title

GET Response - 400

Message

PropertyTypeDescriptionConstraints
Success boolean Always false on this envelope. Message is the error envelope (4xx/5xx); Success is kept on the wire so legacy clients can branch on it without parsing the HTTP status. Required
Code integer Indicate error code. Codes list and description are located on help page https://www.teapplix.com/help/?page_id=7115
Message string Message typically associated with errors
Description string[] Detailed description

GET Response - 401

Message

PropertyTypeDescriptionConstraints
Success boolean Always false on this envelope. Message is the error envelope (4xx/5xx); Success is kept on the wire so legacy clients can branch on it without parsing the HTTP status. Required
Code integer Indicate error code. Codes list and description are located on help page https://www.teapplix.com/help/?page_id=7115
Message string Message typically associated with errors
Description string[] Detailed description

GET Response - 500

Message

PropertyTypeDescriptionConstraints
Success boolean Always false on this envelope. Message is the error envelope (4xx/5xx); Success is kept on the wire so legacy clients can branch on it without parsing the HTTP status. Required
Code integer Indicate error code. Codes list and description are located on help page https://www.teapplix.com/help/?page_id=7115
Message string Message typically associated with errors
Description string[] Detailed description
Test Request