1. Home
  2. Knowledge Base
  3. REST API
  4. Product Services
  5. Get Inventory Info for Multiple Products

Get Inventory Info for Multiple Products

Overview

In order to retrieve metadata for existing inventory, you must:

  • Be authenticated user

Information on how you can authenticate: Authentication

As soon as you do authentication and receive a valid token, it needs to be passed on the call for getting inventory

  • User can provide page number and page size, filtering or sorting information

Endpoint

Example for such endpoint for TT server: https://tt.api.sellercloud.com/rest/api/inventory?pageNumber=1&pageSize=1

Request

Information about expected request parameters and their type can be found on swagger UI https://tt/api.sellercloud.com/rest/swagger.

  • Method Type: HttpGet
  • Authorization: Use Bearer Token + token received from token authentication
  • Header info: Content-Type: application/json
  • Parameters:
ParametersData TypeDescriptionIs Required
pageNumberintegerNumber of pageno
pageSizeintegerNumber of inventory per pageno
inventoryIDListList of IDs of inventoryno
poIDListList of IDs of purchase ordersno
companyIDListList of IDs of different companiesno
vendorIDListList of IDs of vendorsno
defaultVendorIDListList of IDs of default vendorsno
vendorSKUListList of SKUs of vendorsno
warehouseListList of IDs of warehousesno
upcintegerUniversal Product Code numberno
physicalQtyFromintegerMinimum physical qtyno
physicalQtyTointegerMaximum physical qtyno
kitTypeintegerIndependant=0, MainComponent=1, AllComponents=2no
LastUpdatedFromdatetimeDatetime indicating from when was last modified. Optional.no
LastUpdatedTodatetimeDatetime indicating to when was last modified. Optionalno
LastAggregateFromdatetimeFrom last aggregation date. Optionalno
LastAggregateTodatetimeTo last aggregation date. Optionalno
KeywordstringA search term for performing a global search. Nono

Response

  • If user is authenticated and provides a valid page number and page size, then response will be Status Code 200 => OK and inventory metadata in JSON format
  • If user is not authenticated, then response will be Status Code 401 => Not Valid Token
  • On server response => Status Code 500 => Internal Server Error

Response Body

Was this article helpful?

Next
Update Tracking Information