Upload an item to a store
POST/store/:storeId/upload
Upload an item to a store
Request
Path Parameters
storeId stringrequired
- application/json
Body
required
title stringrequired
description string
link stringrequired
image stringrequired
properties
object
property name* string
Responses
- 201
- 400
- 401
- 404
- 500
Item uploaded successfully
- application/json
- Schema
- Example (from schema)
Schema
message string
data object
{
"message": "string",
"data": {}
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
error string
message string
{
"error": "string",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
message string
{
"error": "string",
"message": "string"
}
Resource not found
- application/json
- Schema
- Example (from schema)
Schema
error string
message string
{
"error": "string",
"message": "string"
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
error string
message string
{
"error": "string",
"message": "string"
}
Loading...