Home > @vsf-enterprise/sap-commerce-webservices-sdk > ProductsApi > getStoreProductStock

ProductsApi.getStoreProductStock() method

Returns a product's stock level for a particular store (in other words, for a particular point of sale). Get a product's stock level for a store

Signature:

getStoreProductStock(baseSiteId: string, productCode: string, storeName: string, fields?: string, options?: any): Promise<import("axios").AxiosResponse<Stock>>;

Parameters

Parameter Type Description
baseSiteId string Base site identifier
productCode string Product identifier
storeName string Store identifier
fields string Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL
options any Override http request option.

Returns:

Promise<import("axios").AxiosResponse<Stock>>

Exceptions

{RequiredError} ProductsApi