Update Items Level
Updat Items Level is designed to modify the level of an existing item in the game. It will update the item's level as desired when the gamer meets the condition.
PUT /v1/inventory/items/level HTTP/1.1
Host: invent-dev.api.mimiland.io
otp: 842584
mm-client-id: mml
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI8
mm-user-id: 64edd6c4f8969bbd526d3b8b
Content-Type: application/json
Content-Length: 69
[
{
"id": "651101b560b3e4d4a50b5622",
"level": 2
}
]const myHeaders = new Headers();
myHeaders.append("otp", "842584");
myHeaders.append("mm-client-id", "mml");
myHeaders.append("Authorization", "bearer v4.public.eyJhZC*****5xTtpdbQI");
myHeaders.append("mm-user-id", "64edd6c4f8969bbd526d3b8b");
myHeaders.append("Content-Type", "application/json");
const raw = JSON.stringify([
{
"id": "651101b560b3e4d4a50b5622",
"level": 2
}
]);
const requestOptions = {
method: "PUT",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://invent-dev.api.mimiland.io/v1/inventory/items/level", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));Key
Type
Description
Last updated