curl --request PATCH \
--url http://localhost:3000/v1/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": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxonomy_id": "<string>",
"name": "<string>",
"selling_price": 123,
"is_active": true,
"is_rfc_item": true
}
}Activates a product and optionally updates its details. Accepts UUID or taxonomy ID.
curl --request PATCH \
--url http://localhost:3000/v1/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": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taxonomy_id": "<string>",
"name": "<string>",
"selling_price": 123,
"is_active": true,
"is_rfc_item": true
}
}Product UUID or taxonomy ID
Product activated
Show child attributes