Skip to main content
POST
Create product (Admin only)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Example:

"Premium Basmati Rice 5kg"

slug
string
required
Example:

"premium-basmati-rice-5kg"

description
string
required
Example:

"Long-grain aromatic basmati rice, perfect for jollof rice and other West African dishes."

retailPrice
number
required
Example:

24.99

sku
string
required
Example:

"RICE-BAS-5KG"

tradePrice
object | null
Example:

19.99

currency
string
default:NGN
Example:

"NGN"

stockLevel
number
default:0
Example:

150

categoryId
string | null

Must be the id of a category already created via POST /categories, or null/omitted.

Example:

null

brandId
string | null

Must be the id of a brand already created via POST /brands, or null/omitted.

Example:

null

packSize
enum<string> | null
Available options:
500g,
1kg,
2kg,
5kg,
10kg,
25kg and above
Example:

"5kg"

images
string[]
Example:
tags
string[]
Example:
dietaryTags
enum<string>[]
Available options:
VEGAN,
HALAL,
GLUTEN_FREE,
ORGANIC
Example:
salePrice
object | null
Example:

21.99

saleStartsAt
object | null
Example:

"2026-08-01T00:00:00.000Z"

saleEndsAt
object | null
Example:

"2026-08-15T23:59:59.000Z"

Response

201 - undefined