CreateNewProduct
This endpoint is there to create new product
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"name": "Hair",
"shopId": "0a40d129-0728-4b10-b32e-117abd6938c3",
"description": "This is another fantastic product. I am looking forward to doing it here",
"price": 50,
"productType": "digital",
"comparePrice": 0,
"inventory": 20,
"costPerItem": 0,
"status": "draft",
"mainImageUrl": "",
"id": "0ee6defd-2210-47f6-b624-07f79396ca2a",
"slug": "hair",
"isFeatured": false,
"isContinueSellingOutStock": false,
"published": false,
"vendor": "facebook",
"userID": "5f56dfa3-a415-4818-8275-44fc63ece3fd"
}{
"message": "\"shopId\" is required",
"status": 500
}Last updated