const response = await fetch('/v1/items/add', {
method: 'POST',
headers: {
"Authorization": "Bearer Bearer",
"Content-Type": "application/json"
},
body: JSON.stringify({
"title": "text",
"description": "text",
"currency": "text",
"priceCurrency": 0,
"imageUrl": "text",
"contractFunctionId": "text",
"payoutId": "text"
}),
});
const data = await response.json();