capabilities.work

Create SKU, Price It, and Read SKU Back

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

Recipe · 3 steps

Create SKU, Price It, and Read SKU Back

with Commerce Layer · Price List Management

Create a SKU, price it, and read the SKU back.

  1. Create the SKU under the supplied shipping category.
  2. Create a price for the SKU inside the supplied price list.
  3. Retrieve the SKU to confirm its persisted attributes.
What you'll need to have ready
  • accessToken: Bearer access token for the Commerce Layer organization.
  • shippingCategoryId: The id of the shipping category for the SKU.
  • priceListId: The id of the price list the price belongs to.
  • code: The unique SKU code.
  • name: The SKU display name.
  • amountCents: The price amount in cents.
For your developer

Arazzo workflow commerce-layer:create-sku-price-and-get, 3 operations: POST/skus → POST/prices → GET/skus/skuId. Specs on APIs.io.