capabilities.work

Commerce Item And Inventory

A 3-step recipe with Unified.to. We can help you get access.

Recipe · 3 steps

Commerce Item And Inventory

Create an item, record its inventory at a location, and list that location's inventory.

  1. Create the sellable item, marked active and visible.
  2. Record an inventory level for the new item at the supplied location. The available quantity is required by the schema.
  3. List inventory filtered to the location to confirm the new stock record is present.
What you'll need to have ready
  • connectionId: The Unified.to connection id for the target commerce platform (e.g. Shopify, Square).
  • itemName: The name of the item / product to create.
  • locationId: The id of the location the inventory is held at.
  • available: The available stock quantity for the item at the location.
For your developer

Arazzo workflow unified-to:commerce-item-inventory, 3 operations: createCommerceItem → createCommerceInventory → listCommerceInventories. Specs on APIs.io.