Skip to main content
PUT
Update product details

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

product id

Body

application/json
name
string
Maximum string length: 128
short_description
string | null
Maximum string length: 256
metadata
object | null
tags
string[] | null
hsn_code
string | null
attributes
ProductAttribute · object[]
seo
Seo · object
description
string | null

Array of category ids.

categories
string[]

Array of category ids.

images
string[]

Array of image file ids.

videos
string[]

Array of video file ids.

pricing
ProductPricing · object[]
promotions
DiscountBasedPromotion · object

promotion_type = discount

subscriptions
ProductSubscription · object[]
variants
object[]
sku
string
shipping
ProductShipping · object
packaging
ProductPackaging · object | null

Response

200 - application/json

OK

message
string
success
boolean
content
object