Skip to main content
mutation

Requires write_inventory access scope. Also: The user must have a permission to activate an inventory item.

Activate an inventory item at a location.

Int

The initial available quantity of the inventory item being activated at the location.

ID!required

The ID of the inventory item to activate.

ID!required

The ID of the location of the inventory item being activated.

Int

The initial on_hand quantity of the inventory item being activated at the location.

Anchor to stockAtLegacyLocationstockAtLegacyLocation
BooleanDefault:false

Allow activation at or away from fulfillment service location with sku sharing off. This will deactivate inventory at all other locations.


Was this section helpful?

Anchor to InventoryActivatePayload returnsInventoryActivatePayload returns

InventoryLevel

The inventory level that was activated.

[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?