capabilities.work

Archive a Stale Product

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

Recipe · 3 steps

Archive a Stale Product

with Shopify · Item Master Data Management

Archive a product only if it is currently active, otherwise short circuit.

  1. Read the product and branch on its status so an already-archived product is left untouched.
  2. Set the active product's status to archived.
  3. Read the product back to confirm it is archived.
What you'll need to have ready
  • productId: The ID of the product to archive.
For your developer

Arazzo workflow shopify:archive-stale-product, 3 operations: getProduct → updateProduct → getProduct. Specs on APIs.io.