curl --request POST \
--url http://localhost:3000/v1/scanner/products/publish \
--header 'Content-Type: application/json' \
--data '
{
"scraped_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"is_rfc_item": true,
"selling_price": 1,
"brand": "<string>",
"description": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subcategory_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"sellable_product": null
}Create a sellable product from a scraped product.
curl --request POST \
--url http://localhost:3000/v1/scanner/products/publish \
--header 'Content-Type: application/json' \
--data '
{
"scraped_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"is_rfc_item": true,
"selling_price": 1,
"brand": "<string>",
"description": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subcategory_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"sellable_product": null
}Product published successfully