Update the specified supplier item's information
PUT
/2024-09/supplier-items/{supplier_item}
curl \
--request PUT 'https://app.merchanthq.com/api/2024-09/supplier-items/1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"description":"Blue widget with advanced features","product_id":"3e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4","costs":[{"minimum_order_quantity":1,"cost":{"value":42.0,"currency":"string"}}]}'
Request examples
{
"description": "Blue widget with advanced features",
"product_id": "3e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4",
"costs": [
{
"minimum_order_quantity": 1,
"cost": {
"value": 42.0,
"currency": "string"
}
}
]
}
Response examples (401)
{
"message": "Unauthorized"
}
Response examples (403)
{
"message": "This action is unauthorized."
}
Response examples (404)
{
"message": "Not found"
}