curl --request PATCH \
--url http://localhost:3000/v1/scanner/products/{id}/activate \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"brand": "<string>",
"description": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subcategory_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_rfc_item": true,
"selling_price": 1
}
'{
"sellable_product": null
}Activate a sellable product and optionally update its details.
curl --request PATCH \
--url http://localhost:3000/v1/scanner/products/{id}/activate \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"brand": "<string>",
"description": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subcategory_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_rfc_item": true,
"selling_price": 1
}
'{
"sellable_product": null
}Sellable product ID
Product activated successfully