Recerc

Create product

Creates a new product in the current workspace.

POST/api/products

Creates a new product in the current workspace.

Request Body

application/json

Request payload for Create product.

handle?|

Stable product handle used in URLs.

sku?|

Product SKU.

title?|

Product title shown to users.

description?||

Long-form product description.

vendor?|

Vendor or manufacturer name.

category?|

Category name to assign to the product.

categoryId?||

Category identifier to assign to the product.

images?array<>|

Absolute image URLs to associate with the product.

baseUnit?|

base unit.

alternativeUnits?array<>|

Alternative unit configurations to store on the product.

referenceUnits?array<>|

Reference unit configurations to store on the product.

basePrice?||

Default base selling price to store on the product.

baseCost?||

Default base cost to store on the product.

customFields?|

Custom field values to store on the product.

[key: string]?never

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json