Class: ProductListAdjustInventory

Request~ProductListAdjustInventory(clientnullable)

Handles API Request ProductList_Adjust_Inventory. Scope: Store.

Constructor

new ProductListAdjustInventory(clientnullable)

ProductListAdjustInventory Constructor.

ProductListAdjustInventory Constructor.

Parameters:
Name Type Attributes Description
client Client <nullable>
Source:
See:

Methods

addInventoryAdjustment(inventoryAdjustment) → {ProductListAdjustInventory}

Add Inventory_Adjustments.

Add Inventory_Adjustments.

Parameters:
Name Type Description
inventoryAdjustment ProductInventoryAdjustment
Source:
Throws:
Error
Returns:
Type
ProductListAdjustInventory

addInventoryAdjustments(inventoryAdjustments) → {ProductListAdjustInventory}

Add many ProductInventoryAdjustment.

Add many ProductInventoryAdjustment.

Parameters:
Name Type Description
inventoryAdjustments Array.<ProductInventoryAdjustment>
Source:
Throws:
Error
Returns:
Type
ProductListAdjustInventory

createResponse() → {Response}

Create a response object from the response data.

Create a response object from the response data.

Source:
Returns:
Type
Response

getInventoryAdjustments() → {Array.<ProductInventoryAdjustment>}

Get Inventory_Adjustments.

Get Inventory_Adjustments.

Source:
Returns:
Type
Array.<ProductInventoryAdjustment>

setInventoryAdjustments(inventoryAdjustments) → {ProductListAdjustInventory}

Set Inventory_Adjustments.

Set Inventory_Adjustments.

Parameters:
Name Type Description
inventoryAdjustments Array.<ProductInventoryAdjustment>
Source:
Throws:
Error
Returns:
Type
ProductListAdjustInventory

toObject() → {Object}

Reduce the request to a an object.

Reduce the request to a an object.

Source:
Returns:
Type
Object