curl --request POST \
--url http://localhost:3000/v1/partner/products/{scraped_product_id}/request-edit \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"image_url": "<string>",
"image_urls": [
"<string>"
],
"selling_price": 1,
"barcode": "<string>",
"size": "<string>",
"temperature_zone": "ambient"
}
'{
"request": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_type": "claim",
"status": "pending",
"partner_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scraped_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sellable_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"proposed_changes": {},
"proposed_wholesale_price": 123,
"proposed_selling_price": 123,
"proposed_commission_rate": 123,
"rejection_reason": "<string>",
"admin_notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Creates an edit request for a product the partner owns or has claimed. UPC edits are blocked for products with retailer mappings.
curl --request POST \
--url http://localhost:3000/v1/partner/products/{scraped_product_id}/request-edit \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"image_url": "<string>",
"image_urls": [
"<string>"
],
"selling_price": 1,
"barcode": "<string>",
"size": "<string>",
"temperature_zone": "ambient"
}
'{
"request": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"request_type": "claim",
"status": "pending",
"partner_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scraped_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sellable_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"proposed_changes": {},
"proposed_wholesale_price": 123,
"proposed_selling_price": 123,
"proposed_commission_rate": 123,
"rejection_reason": "<string>",
"admin_notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Edit request created
Show child attributes