curl --request PATCH \
--url http://localhost:3000/v1/products/{id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"brand": "<string>",
"selling_price": 1,
"is_rfc_item": true,
"is_active": true,
"category_name": "<string>",
"temperature_zone": "ambient",
"size": "<string>",
"image_url": "<string>"
}
'{
"success": true,
"product": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxonomy_id": "<string>",
"name": "<string>",
"brand": "<string>",
"image_url": "<string>",
"size": "<string>",
"selling_price": 123,
"is_rfc_item": true,
"is_active": true,
"category_name": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subcategory_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"temperature_zone": "<string>",
"description": "<string>",
"scraped_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
}Updates product information. Accepts UUID or taxonomy ID.
curl --request PATCH \
--url http://localhost:3000/v1/products/{id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"brand": "<string>",
"selling_price": 1,
"is_rfc_item": true,
"is_active": true,
"category_name": "<string>",
"temperature_zone": "ambient",
"size": "<string>",
"image_url": "<string>"
}
'{
"success": true,
"product": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxonomy_id": "<string>",
"name": "<string>",
"brand": "<string>",
"image_url": "<string>",
"size": "<string>",
"selling_price": 123,
"is_rfc_item": true,
"is_active": true,
"category_name": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subcategory_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"temperature_zone": "<string>",
"description": "<string>",
"scraped_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
}Product UUID or taxonomy ID
1 - 500200x >= 0100ambient, refrigerated, frozen 100