Update the specified product's information
PUT
/2024-09/products/{product}
curl \
--request PUT 'https://app.merchanthq.com/api/2024-09/products/1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"sku":"PROD-001","title":"Blue Widget","main_image_id":"2e8f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d5","thumbnail_image_id":"3e9f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d6"}'
Request examples
{
"sku": "PROD-001",
"title": "Blue Widget",
"main_image_id": "2e8f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d5",
"thumbnail_image_id": "3e9f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d6"
}
Response examples (401)
{
"message": "Unauthorized"
}
Response examples (403)
{
"message": "This action is unauthorized."
}
Response examples (404)
{
"message": "Not found"
}