Import product from catalog to task
What are Task Products? Task products allow you to add standardized services or goods from your product catalog directly to tasks (tickets). This enables quick pricing for support requests, service tickets, or express quotes without creating a full project. Products can include variants (e.g., Standard, Pro, Enterprise) and options (e.g., additional services or upgrades).
How this endpoint works: This endpoint imports a product from your workspace product catalog into a specific task. The product is copied into the task context, allowing you to customize quantity, select variants, and configure options without affecting the original catalog product.
What you need to provide:
- productId: The UUID of the product from your catalog (must exist in catalog, not already assigned to a task or project)
- quantity: How many units of this product (minimum 1)
- activeVariantId: (Optional) Which variant to activate if the product has multiple variants
- options: Array of option selections, where each option specifies which values are selected
Important notes:
- Only products from the catalog (not already assigned to tasks or projects) can be imported
- The product is copied into the task - changes here do not affect the catalog version
- Products support three pricing models: fixed price, subscription price, and per-unit pricing
- Variants allow different configurations (e.g., different package sizes or service levels)
- Options allow customers to add extra services or upgrades (e.g., “Add workshop” or “Enable premium support”)
What is returned: Returns the ID of the newly created task product, which can be used for subsequent updates or deletion.
Permission requirements: Requires “manageProducts” permission on tasks and “api” scope.
/tasks/{identifier}/productsAuthorizationOAuth2 access token · headerrequiredapi:writeAuthorizationBearer token (JWT) · headerrequiredidentifierstringrequiredTask identifier. Can be either a UUID (e.g., "550e8400-e29b-41d4-a716-446655440000") or a numeric shortNumber (e.g., "123"). The shortNumber is a human-readable task number assigned by the system.
fieldsToReturnstringComma-separated list of top-level response fields to return. Overrides the endpoint compact default unless responseShape=full is used.
responseShapestringAdvanced override. Omit for the endpoint compact default. Use full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
compactfullLT-Response-ShapestringAdvanced override. Set to full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
fullapplication/jsonactiveFromFixedDatestring<date> | nullFixed start date when activeFromType is FixedDate. Format: ISO 8601 date (YYYY-MM-DD). Required when activeFromType is FixedDate.
activeFromTypestringType of activation start for the product. Immediately means it starts right away, ProjectBilling means it starts with project billing, FixedDate means it starts on a specific date.
ImmediatelyProjectBillingFixedDateactiveVariantIdobject | nullUUID of the variant to activate when importing. Optional - only needed if the product has multiple variants (e.g., Standard, Pro, Enterprise). If not provided, the first variant will be active by default.
customPricesobjectrequiredCustom price overrides for base product, variants, and options. Keys can be "base", "variant_<variantId>", or "option_<optionValueId>". Each value contains priceFixed, priceSubscription, and pricePerUnit overrides. These prices are applied to the product when saving. Note: Tasks only support priceFixed, so priceSubscription and pricePerUnit are ignored.
optionsProductSettingOptionDto[]requiredArray of option selections for this product. Each option specifies which values are selected. For example, if a product has a "Support Level" option with values "Basic" and "Premium", you would include the option ID and select one or more value IDs. Required even if empty array.
Show propertiesHide properties
ProductSettingOptionDtoidstringrequiredUUID of the product option. This identifies which option (e.g., "Color", "Size", "Support Level") is being configured.
valuestring[]requiredArray of UUIDs representing the selected option values. For example, if the option is "Color", this array might contain IDs for "Blue" and "Red" if multiple selections are allowed. Each value ID must be a valid UUID.
productIdstringrequiredUUID of the product from your workspace product catalog. The product must exist in the catalog and not be already assigned to a task or project. This product will be copied into the task.
quantitynumberrequiredNumber of units of this product to add to the task. Must be at least 1. For example, if importing a "Workshop" product, quantity 2 means two workshops.
Product imported successfully
successbooleanrequiredOperation success flag
Bad Request - Invalid input or validation error
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient permissions or no task access
Not Found - Catalog product or task does not exist