Product

Create new record

POST
http://localhost:3000/api/products

Body

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

Response

201Created

The record has been successfully created.

400Bad Request

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

401Unauthorized

Unauthorized

403Forbidden

Forbidden

Authorization

bearerhttp (bearer) in header

Enter JWT token

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