Products
The store's products with variants, for conditions such as “has bought product X”.
- GET
/stores/{store_id}/productsList productsThe store's products with variants, one page at a time. - GET
/stores/{store_id}/products/{product_id}Get productA product with variants. - PUT
/stores/{store_id}/products/{product_id}Create or update productCreates the product with the shop's ID, or updates it. If variants is sent, it replaces all variants. - DELETE
/stores/{store_id}/products/{product_id}Delete productDeletes the product and its variants. Order lines that mention it remain.