Skip to main content

Class: InventoryService

Defined in: service/InventoryService.ts:26

Backwards-compatible class form. New code should call inventoryService(client).

Constructors​

Constructor​

new InventoryService(client): InventoryService

Defined in: service/InventoryService.ts:28

Parameters​

client​

GraphQLClient

Returns​

InventoryService

Methods​

getInventory()​

getInventory(variables): Promise<InventoryResponse>

Defined in: service/InventoryService.ts:33

Fetches inventory with search criteria

Parameters​

variables​

InventoryVariables

Inventory search input parameters

Returns​

Promise<InventoryResponse>