Connects an inventory item to a location, establishing where the item can be stocked and fulfilled. This creates an inventory level with an initial available quantity of 0. Use this when you need to enable a product variant to be stocked at a new location. After connecting, use…
location_idRequiredstringThe ID of the location where you want to stock this inventory item. Use the 'List locations' action to retrieve available location IDs from your store.
inventory_item_idRequiredstringThe ID of the inventory item to connect to the location. Each product variant has an associated inventory item ID, which can be retrieved from the product variant's 'inventory_item_id' field.
relocate_if_necessarybooleanWhether to relocate inventory from previously connected locations. Must be set to true when connecting to fulfillment service locations, since an inventory item can only be active at one fulfillment service location at a time. Defaults to false for regular locations.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.