Skip to main content
PATCH
Update product (Admin only)

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
name
string
Example:

"Premium Basmati Rice 5kg"

slug
string
Example:

"premium-basmati-rice-5kg"

description
string
Example:

"Updated description with more detail on sourcing and preparation."

retailPrice
number
Example:

22.99

tradePrice
object | null
Example:

18.99

currency
string
Example:

"NGN"

sku
string
Example:

"RICE-BAS-5KG"

stockLevel
number
Example:

120

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:

19.99

saleStartsAt
object | null
Example:

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

saleEndsAt
object | null
Example:

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

isActive
boolean
Example:

true

Response

200 - undefined