Create and Verify Product
A 2-step recipe with Swell. We can help you get access.
Recipe · 2 steps
Create and Verify Product
with Swell
Create a product, then fetch it back by id.
- Create the product in the catalog with the supplied name, sku, price and stock attributes.
- Read the newly created product back by its generated id.
What you'll need to have ready
- name: Display name of the product.
- sku: Stock keeping unit, unique per product.
- price: List price in store currency.
- description: Long-form product description.
- active: Whether the product is available for sale.
- stock_level: Initial on-hand stock quantity.
For your developer
Arazzo workflow swell-io:create-and-verify-product, 2 operations: createProduct → getProduct. Specs on APIs.io.