inventoryActivate

Version 2019-04

Activate an inventory item at a location.

Required access

write_inventory access scope

Arguments

available ( Int )

The initial available quantity at the location.

inventoryItemId ( ID! ) required

Specifies which item should be activated.

locationId ( ID! ) required

Specifies where the item should be activated.

Return Fields

inventoryLevel (InventoryLevel)

The newly activated inventory level.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07 (Latest)

Activate an inventory item at a location.

Required access

write_inventory access scope

Arguments

available ( Int )

The initial available quantity at the location.

inventoryItemId ( ID! ) required

Specifies which item should be activated.

locationId ( ID! ) required

Specifies where the item should be activated.

Return Fields

inventoryLevel (InventoryLevel)

The newly activated inventory level.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Release candidate)

Activate an inventory item at a location.

Required access

write_inventory access scope

Arguments

available ( Int )

The initial available quantity at the location.

inventoryItemId ( ID! ) required

Specifies which item should be activated.

locationId ( ID! ) required

Specifies where the item should be activated.

Return Fields

inventoryLevel (InventoryLevel)

The newly activated inventory level.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up