List Product Parents
curl --request GET \
--url https://qwoty.app/api/product-parents \
--header 'Authorization: <authorization>'{
"success": true,
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"catalog_ids": ["660e8400-e29b-41d4-a716-446655440001"],
"product_ids": ["770e8400-e29b-41d4-a716-446655440002"],
"name": "Premium Widget",
"api_name": "premium_widget",
"recurrence_type": "recurring",
"reference": "PROD-001",
"description": "High-quality widget for professional use",
"is_active": true,
"id_crm": "crm_123",
"id_erp": "erp_456",
"id_accounting": "acc_789",
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T10:30:00Z"
}
]
}
Product Parents
List Product Parents
Retrieve a list of all product parents in your workspace
GET
/
api
/
product-parents
List Product Parents
curl --request GET \
--url https://qwoty.app/api/product-parents \
--header 'Authorization: <authorization>'{
"success": true,
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"catalog_ids": ["660e8400-e29b-41d4-a716-446655440001"],
"product_ids": ["770e8400-e29b-41d4-a716-446655440002"],
"name": "Premium Widget",
"api_name": "premium_widget",
"recurrence_type": "recurring",
"reference": "PROD-001",
"description": "High-quality widget for professional use",
"is_active": true,
"id_crm": "crm_123",
"id_erp": "erp_456",
"id_accounting": "acc_789",
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T10:30:00Z"
}
]
}
Authorization
Bearer token for authentication. Format:
Bearer qwoty_your_tokenExamples
curl https://qwoty.app/api/product-parents \
-H "Authorization: Bearer qwoty_your_token"
Response
Indicates if the request was successful
Array of product parent objects
Show Product Parent Object
Show Product Parent Object
Unique identifier (UUID)
Product parent name
API identifier
Internal reference
Product description
Active status
Billing model (
one_off or recurring)Linked catalog IDs
Linked product IDs
External CRM ID
External ERP ID
External accounting ID
ISO 8601 timestamp
ISO 8601 timestamp
{
"success": true,
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"catalog_ids": ["660e8400-e29b-41d4-a716-446655440001"],
"product_ids": ["770e8400-e29b-41d4-a716-446655440002"],
"name": "Premium Widget",
"api_name": "premium_widget",
"recurrence_type": "recurring",
"reference": "PROD-001",
"description": "High-quality widget for professional use",
"is_active": true,
"id_crm": "crm_123",
"id_erp": "erp_456",
"id_accounting": "acc_789",
"created_at": "2024-12-21T10:30:00Z",
"updated_at": "2024-12-21T10:30:00Z"
}
]
}
Error Responses
{
"success": false,
"error": "Invalid API token"
}
Was this page helpful?
⌘I

