curl --request POST \
--url https://qwoty.app/api/catalogs \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"api_name": "<string>",
"reference": "<string>",
"description": "<string>",
"is_active": true,
"id_crm": "<string>",
"id_erp": "<string>",
"id_accounting": "<string>"
}
'{
"success": true,
"data": {
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Premium Products",
"api_name": "premium_products",
"reference": "CAT-002",
"description": "Catalog for premium tier products",
"is_active": true,
"id_crm": null,
"id_erp": null,
"id_accounting": null,
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T10:30:00Z"
}
}
Create a new catalog in your workspace
curl --request POST \
--url https://qwoty.app/api/catalogs \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"api_name": "<string>",
"reference": "<string>",
"description": "<string>",
"is_active": true,
"id_crm": "<string>",
"id_erp": "<string>",
"id_accounting": "<string>"
}
'{
"success": true,
"data": {
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Premium Products",
"api_name": "premium_products",
"reference": "CAT-002",
"description": "Catalog for premium tier products",
"is_active": true,
"id_crm": null,
"id_erp": null,
"id_accounting": null,
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T10:30:00Z"
}
}
Documentation Index
Fetch the complete documentation index at: https://docs.qwoty.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer qwoty_your_tokencurl -X POST https://qwoty.app/api/catalogs \
-H "Authorization: Bearer qwoty_your_token" \
-H "Content-Type: application/json" \
-d '{
"name": "Premium Products",
"description": "Catalog for premium tier products",
"reference": "CAT-002",
"is_active": true
}'
{
"success": true,
"data": {
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "Premium Products",
"api_name": "premium_products",
"reference": "CAT-002",
"description": "Catalog for premium tier products",
"is_active": true,
"id_crm": null,
"id_erp": null,
"id_accounting": null,
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T10:30:00Z"
}
}
{
"success": false,
"error": "Validation error",
"details": {
"name": "Name is required"
}
}
Was this page helpful?