create_product
Create a product in the authenticated merchant's store. Requires Bearer token. WRITE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Product name. | |
| price | Yes | Price in DZD. | |
| stock | No | Stock quantity (optional). | |
| status | No | active | draft | archived (default draft). | |
| is_demo | No | Mark as an ephemeral demo product (server auto-deletes it after auto_delete_at). | |
| description | No | Description. | |
| translations | No | Optional {ar|fr|en:{name,description}}. | |
| compare_price | No | Strikethrough/old price (optional). | |
| auto_delete_at | No | ISO timestamp after which a demo product is auto-deleted server-side. |