Create
namestring
Length
3 <= lengthdescriptionstring
Length
10 <= lengthpricenumber
Range
0 <= value <= 999999.99categoryIdstring
Length
1 <= lengthstockinteger
Range
1 <= valuebrandIdnumber|null
conditionIdnumber|null
isFeaturedboolean|null
imagesarray<string>
Items
1 <= items <= 5photos?array<not unknown>
Items
1 <= items <= 5Response Body
application/json
curl -X POST "https://cute.com/api/orpc/items/create" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "description": "stringstri", "price": 999999.99, "categoryId": "string", "stock": 1, "brandId": 0, "conditionId": 0, "isFeatured": true, "images": [ "string" ] }'{
"id": "string",
"publicId": 0,
"name": "string",
"description": "stringstri",
"price": 999999.99,
"status": "available",
"condition": "new",
"stock": 0,
"categoryId": 0,
"sellerId": "string",
"brandId": 0,
"conditionId": 0,
"isFeatured": true,
"slug": "string",
"imageUrl": "string",
"isVisible": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deliveryOptions": [
"string"
],
"deliveryCost": 0,
"freeShipping": true,
"deliveryTimeEstimate": "string",
"brandTitle": "string",
"sizeTitle": "string",
"discount": "string",
"favouriteCount": 0,
"viewCount": 0,
"path": "string",
"url": "string",
"visibilityType": "string",
"isBoosted": true,
"boostScore": 0,
"boostExpiresAt": "2019-08-24T14:15:22Z",
"images": [
"string"
],
"photos": [
{}
]
}