Skip to main content

Function: inventoryService()

inventoryService(client): object

Defined in: service/InventoryService.ts:9

Service class for Inventory-related GraphQL operations

Parameters​

client​

GraphQLClient

Returns​

getInventory()​

getInventory(variables): Promise<InventoryResponse>

Fetches inventory with search criteria *

Parameters​

variables​

InventoryVariables

Inventory search input parameters *

Returns​

Promise<InventoryResponse>

Promise<InventoryResponse> The inventory response