Create

POST
/items/create
namestring
Length3 <= length
descriptionstring
Length10 <= length
pricenumber
Range0 <= value <= 999999.99
categoryIdstring
Length1 <= length
stockinteger
Range1 <= value
brandIdnumber|null
conditionIdnumber|null
isFeaturedboolean|null
imagesarray<string>
Items1 <= items <= 5
photos?array<not unknown>
Items1 <= items <= 5

Response 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": [
    {}
  ]
}