Product

Update an existing record

PUT
http://localhost:3000/api/products/{id}

Body

application/json
namestring
descriptionstring
enabledboolean
codestring
imageUrlstring
featuredImageobject
variantsstring
productTypeIdstring
productCategoryIdstring
productTypeobject
productCategoryobject
tagsArray<object>
typeobject
categoryobject
optionGroupUpdateInputsArray<object>
optionGroupCreateInputsobject
optionGroupDeleteInputsobject
optionDeleteInputsobject
translationsobject
languagestring

Parameters

idstringrequiredpath

Response

201Created

The record has been successfully edited.

400Bad Request

Invalid input, The response body may contain clues as to what went wrong

401Unauthorized

Unauthorized

403Forbidden

Forbidden

404Not Found

Record not found

Authorization

bearerhttp (bearer) in header

Enter JWT token

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey