curl --request PATCH \
--url http://localhost:3000/v1/scraped-products/manage/categories/{id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"is_active": true,
"display_order": 123,
"image_url": "<string>"
}
'{
"success": true,
"category": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"is_active": true,
"display_order": 123,
"image_url": "<string>",
"level": 123,
"category_path": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
}Update an existing category
curl --request PATCH \
--url http://localhost:3000/v1/scraped-products/manage/categories/{id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"is_active": true,
"display_order": 123,
"image_url": "<string>"
}
'{
"success": true,
"category": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"is_active": true,
"display_order": 123,
"image_url": "<string>",
"level": 123,
"category_path": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
}Category UUID