On this page6 sections
POST/api/products/create-tagProductsPermission: product.create
Create Tag
Creates a new product tag in the active tenant.
Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).
Request
Provide the following fields in the request payload.
namestringrequired
name parameter.
Responses
Select a status code to inspect schema.
Created — Tag created.application/json
successenum('true')
Success (true).
messagestring
Message.
dataobject | null
Response payload or null.
POST/api/products/create-tag
curl -X POST "https://api.invoger.com/api/products/create-tag" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{ "name": "best-seller" }'Interactive playground
Response
application/json
{
"success": true,
"message": "Tag created successfully",
"data": {
"id": "tag_1",
"name": "best-seller"
}
}