Updated 2026-06-01
Store API: Products
List, get, create, update, and delete products via the Store API.
The products resource exposes full CRUD for your catalog via the Store API.
Product endpoints
GET
/v1/store/productsList products. Filters: status, productType, category, collection, brand, search, sort.
Publishable keyGET
/v1/store/products/:idGet a single product.
Publishable keyPOST
/v1/store/productsCreate a product.
Secret keyPATCH
/v1/store/products/:idUpdate a product.
Secret keyDELETE
/v1/store/products/:idDelete a product.
Secret keyExample: list products
bash
curl -X GET "https://api.saleporia.com/v1/store/products?status=Published&limit=20" \
-H "Authorization: Bearer sp_pub_xxxxxxxxxxxx"Example: create a product
bash
curl -X POST "https://api.saleporia.com/v1/store/products" \
-H "Authorization: Bearer sp_live_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"name": "Classic T-Shirt",
"price": 29.99,
"productType": "Item",
"status": "Published",
"sku": "TSHIRT-001",
"stock": 100
}'Duplicate SKU/barcode
SKU and barcode must be unique per shop. Creating a product with a duplicate returns a 409 CONFLICT error.