curl --request POST \
--url http://localhost:3000/v1/partner/products/{scraped_product_id}/request-conversion \
--header 'Content-Type: application/json' \
--data '
{
"wholesale_price": 1,
"selling_price": 1
}
'{
"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 a conversion request to start supplying a product directly instead of through retailers.
curl --request POST \
--url http://localhost:3000/v1/partner/products/{scraped_product_id}/request-conversion \
--header 'Content-Type: application/json' \
--data '
{
"wholesale_price": 1,
"selling_price": 1
}
'{
"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"
}
}