capabilities.work

Upsert Product by SKU

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

Recipe · 3 steps

Upsert Product by SKU

with Salla · Item Master Data Management

Upsert a product into the catalog keyed by a SKU or name keyword.

  1. Search the catalog for a product whose name or SKU matches the supplied keyword, returning at most one match.
  2. Update the matched product in place with the supplied attributes.
  3. Create a new product when no existing product matched the keyword.
What you'll need to have ready
  • keyword: SKU or name fragment used to detect an existing product.
  • name: Display name to write to the product.
  • price: Price to write to the product.
  • productType: Product type (e.g. product, service, digital).
  • quantity: Stock quantity to write to the product.
For your developer

Arazzo workflow salla:upsert-product, 3 operations: listProducts → updateProduct → createProduct. Specs on APIs.io.