curl --request POST \
--url https://api.treet-test.co/v1/items/grade \
--header 'Content-Type: application/json' \
--header 'X-Treet-Authentication-Key: <api-key>' \
--header 'X-Treet-Client-Id: <api-key>' \
--data '
{
"items": [
{
"id": "c7383262-e266-4b97-a957-40caa69b6a56",
"condition": "GOOD",
"notes": "Loose thread on button",
"images": [
{
"url": "https://example.com/image1.jpg",
"notes": "Front view of the item, see loose thread"
},
{
"url": "https://example.com/image2.jpg"
}
]
}
]
}
'