How to use checkInventory API?

Published: 12 July 2022
on channel: HotWax Developer Network
91
0

#ionic #vue #javascript #api

This video contains usage of check inventory api.

To get the stock details of the product you will need to call the checkInventory endpoint and you can pass the productId of the order-items in the filters.

If we pass facilityId, it will return stock information of specific facility.

Payload:

filters, fieldsToSelect, sortBy, viewIndex, viewSize, atp

fieldsToSelect : This is the list of fields (columns) you want to select from an entity.

sortBy: sort data based on the attribute.

viewIndez: we can assign viewIndex to it based on the number of page ,Used to set index for each page which is rendered via pagination tab

viewSize: we can assign desired viewSize ,Used to limit the number of records which will be displayed on a single page after applying pagination.

atp: Total quantity of item based on condition and fields to select fields.

Either productId or sku is required.

Response:

Returns the inventory count at a particular facility if facilityId is provided in the filters or returns count at all the facilities.

Created by : Azkya Khan
LinkedIn :   / azkya-khan-8747171a2  


Watch video How to use checkInventory API? online without registration, duration hours minute second in high quality. This video was added by user HotWax Developer Network 12 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9 once and liked it people.