The Inventory class exposes specialized methods to help
developers to access the inventory (products, items etc).
Kind: global class
Category: Operations
Creates an instance of the Inventory class.
Returns: Inventory
– An instance of the Inventory class.
Param | Type | Description |
---|---|---|
client | ConnectClient | An instance of the ConnectClient class. |
Array
Retrieves the list of parameters configured for the product.
Kind: instance method of Inventory
Returns: Array
– An array with the Parameter objects.
Param | Type | Description |
---|---|---|
id | string | The unique product identifier for which retrieve the parameters. |
Array
Retrieves the list of parameters of scope asset and phase fulfillment configured for
the product.
Kind: instance method of Inventory
Returns: Array
– An array with the Parameter objects.
Param | Type | Description |
---|---|---|
id | string | The unique product identifier for which retrieve the parameters. |
Array
Returns the list of templates configured for a product.
Kind: instance method of Inventory
Returns: Array
– An array of Template objects.
Param | Type | Description |
---|---|---|
id | string | The unique identifier of the product. |
Array
Returns the list of templates configured for a product with scope “asset”.
Kind: instance method of Inventory
Returns: Array
– An array of Template objects.
Param | Type | Description |
---|---|---|
id | string | The unique identifier of the product. |