Set item price
curl --request POST \
--url https://api.mannco.store/inventory/price \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": "12345678,87654321",
"price": 150
}
'import requests
url = "https://api.mannco.store/inventory/price"
payload = {
"ids": "12345678,87654321",
"price": 150
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({ids: '12345678,87654321', price: 150})
};
fetch('https://api.mannco.store/inventory/price', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"err": false,
"success": true,
"content": {
"message": "ok"
}
}{
"err": true,
"success": false,
"content": "Error message"
}{
"err": true,
"success": false,
"content": "forbidden"
}{
"err": true,
"success": false,
"content": "Internal server error"
}Inventory
Set item price
Sets a price for items and matches them with existing buy orders. If a buy order exists at or above your price, the item is instantly sold (seller receives 95%, 5% platform fee); otherwise it is listed.
Permission: Connected + API.
POST
/
inventory
/
price
Set item price
curl --request POST \
--url https://api.mannco.store/inventory/price \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": "12345678,87654321",
"price": 150
}
'import requests
url = "https://api.mannco.store/inventory/price"
payload = {
"ids": "12345678,87654321",
"price": 150
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({ids: '12345678,87654321', price: 150})
};
fetch('https://api.mannco.store/inventory/price', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"err": false,
"success": true,
"content": {
"message": "ok"
}
}{
"err": true,
"success": false,
"content": "Error message"
}{
"err": true,
"success": false,
"content": "forbidden"
}{
"err": true,
"success": false,
"content": "Internal server error"
}Authorizations
JWT obtained from POST /user/login
Body
application/json
Response
Priced
Standard Mannco.store response envelope. err and success flag the outcome; the payload (or error message) is always under content.