Update an item by ID
PUT/store/:storeId/items/:itemId
Update an item by ID
Request
Path Parameters
storeId stringrequired
itemId stringrequired
- application/json
Body
required
title string
description string
link string
image string
properties
object
property name* string
Responses
- 200
- 401
- 404
- 500
Item updated successfully
- application/json
- Schema
- Example (from schema)
Schema
message string
data object
{
"message": "string",
"data": {}
}
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...