Skip to navigation

Update product

View as Markdown

Authentication

AuthorizationBearer

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

Path parameters

productintegerRequired>=1

Request

This endpoint expects an object.
namestringOptional<=255 characters
descriptionstring or nullOptional
pricedoubleOptional0-100000000
is_activebooleanOptional
categorieslist of integersOptional

Response

Product updated successfully.
idinteger
skustring
namestring
slugstring
descriptionstring or null
pricestringformat: "^\d+(\.\d{2})$"
is_activeboolean
categorieslist of objects

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error