API Retrieve Stock Quantity
HTTP | /<service>/<version>/<parameters> |
GET | /stock/v3/quantity |
Environment | Request URL |
UAT | https://ihubuat.supplystream.com:8081/api/stock/v3/quantity?api_key=<api_Key> |
Live | https://ihub.supplystream.com:8081/api/stock/v3/quantity?api_key=<api_Key> |
Header | Requirement | JSON | XML |
Accept | Optional. Returns XML if undefined. | Accept: application/json | Accept: application/xml |
Request URL examples with parameters
Description | Parameters | Request URL |
Includes multiple product codes (SKU examples: pmtest123 and pmtest234) | Product Codes: pmtest123, pmtest234 | https://ihubuat.supplystream.com:8081/api/stock/v3/quantity?productCodes=pmtest123,pmtest234&api_key=21121212 |
Includes DC Code and product code parameters | Product Codes: pmtest123, pmtest234 | https://ihubuat.supplystream.com:8081/api/stock/v3/quantity?dc=DCIW01& productCodes=pmtest123,pmtest234&api_key=21121212 |
API call formatting
XML Format | |
Body | N/A |
Example success Response Body | <Response> |
Example failure Response Body | <Response> |
JSON Format | |
Body | N/A |
Example success Response Body | { |
Example failure Response Body | { |