Create product
shoprocket_create_productWRITE: create a product in the store (visible to shoppers unless status is 0). A name and at least one category (name or slug) are required. Does not create duplicates by itself: calling twice creates two products. Variants and add-ons are not set by this tool. PUT /v1/products.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | SKU. | |
| name | Yes | Product name. | |
| price | No | Price as an integer in the smallest currency unit (cents: 1999 = 19.99), as Shoprocket's API takes it. Check the reply. | |
| status | No | 1 = active (Shoprocket returns status "1" for live products), 0 = inactive. | |
| weight | No | Weight, in the store's weight unit. | |
| summary | No | Short summary. | |
| quantity | No | Stock quantity. | |
| categories | Yes | Comma-separated categories the product belongs to (as Shoprocket's API takes them; see shoprocket_list_categories). | |
| description | No | Product description (HTML allowed). | |
| max_order_quantity | No | Maximum quantity per order. | |
| min_order_quantity | No | Minimum quantity per order. |