Create a product
Creates a product in the store.
shop and owning user are set server-side from the installation and must not be supplied. Requires the WRITE_INVENTORY scope.Authorizations
Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.
Body
Product name.
Product description.
Base price (>= 0).
Weight (>= 0).
Category ObjectId.
Stock quantity (>= 0).
Sale/promotional price (>= 0); nullable.
Array of image URLs.
Video URL; nullable.
Whether the product is featured. Default false.
Whether the product is listed in the storefront. Default true.
Product variants. Each: attributes (object of string->string, required), price (number, required), promoPrice (number, nullable), quantity (integer), weight (number), sku (string).
Threshold at which the product is flagged low-stock (>= 0).
Product barcode; nullable.
Response
Create a product — success.
201
true
"Create a product"
An ecommerce catalog product.
{
"_id": "66a1f2c4e1b3a40012ab34cd",
"name": "Classic Tee",
"slug": "classic-tee",
"description": "Soft cotton t-shirt",
"price": 19.99,
"promoPrice": 14.99,
"weight": 0.3,
"quantity": 120,
"category": "66a1f0aae1b3a40012ab1100",
"images": [
"https://cdn.salesive.com/p/classic-tee.jpg"
],
"featured": true,
"listed": true,
"hasVariants": false,
"variants": [],
"lowStockAlert": 10,
"barcode": "0123456789012",
"shop": "66a1eee0e1b3a40012ab0001",
"createdAt": "2026-06-28T09:00:00.000Z",
"updatedAt": "2026-06-28T09:00:00.000Z"
}
