/freshsales-products | Type: Application | PCID required: Yes
Tools
freshsales_products_bulk_assign_document_owner
Bulk reassign CPQ document ownership Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
owner_id | integer | Yes | — | User ID of the new owner. |
selected_ids | integer[] | Yes | — | IDs of documents to reassign. |
freshsales_products_bulk_assign_product_owner
Bulk reassign CPQ product ownership Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
owner_id | integer | Yes | — | User ID of the new owner. |
selected_ids | integer[] | Yes | — | IDs of products to reassign. |
freshsales_products_bulk_delete_documents
Bulk delete CPQ documents Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
selected_ids | integer[] | Yes | — | IDs of documents to delete. |
freshsales_products_bulk_delete_products
Bulk delete CPQ products Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
selected_ids | integer[] | Yes | — | IDs of products to delete. |
freshsales_products_bulk_restore_documents
Bulk restore soft-deleted CPQ documents Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
selected_ids | integer[] | Yes | — | IDs of documents to restore. |
freshsales_products_bulk_restore_products
Bulk restore soft-deleted CPQ products Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
selected_ids | integer[] | Yes | — | IDs of products to restore. |
freshsales_products_bulk_update_documents
Bulk update CPQ documents Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cpq_document | object | Yes | — | Fields to apply to all selected documents. |
selected_ids | integer[] | Yes | — | IDs of documents to update. |
freshsales_products_bulk_update_products
Bulk update CPQ products Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
product | object | Yes | — | Fields to apply to all selected products. |
selected_ids | integer[] | Yes | — | IDs of products to update. |
freshsales_products_create_document
Create a CPQ document (proposal/quote) Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cpq_document | object | Yes | — | Document fields. Common keys: name (required), deal_id, owner_id, cpq_document_template_id, custom_field (object of cf_* keys). |
freshsales_products_create_product
Create a CPQ product Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
product | object | Yes | — | Product fields. Common keys: name (required), category, sku, description, is_active (boolean), product_code, owner_id, custom_field (object of cf_* keys). |
freshsales_products_delete_document
Soft-delete a CPQ document Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the document to soft-delete. |
freshsales_products_delete_product
Soft-delete a CPQ product Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the product to soft-delete. |
freshsales_products_delete_product_prices
Delete pricing entries for a CPQ product Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the product. |
product_pricing_ids | integer[] | Yes | — | IDs of the product pricing records to delete. |
freshsales_products_forget_document
Permanently delete (forget) a CPQ document Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the document to permanently delete. |
freshsales_products_get_document
Get a CPQ document by ID Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the document. |
include | string | No | — | Comma-separated list of associated resources to side-load. |
freshsales_products_get_product
Get a CPQ product by ID Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the product. |
include | string | No | — | Comma-separated list of associated resources to side-load. |
freshsales_products_list_document_related_products
List products on a CPQ document Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the document. |
page | integer | No | — | Page number for paginated results (default 1). |
freshsales_products_restore_document
Restore a soft-deleted CPQ document Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the document to restore. |
freshsales_products_restore_product
Restore a soft-deleted CPQ product Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the product to restore. |
freshsales_products_update_document
Update a CPQ document Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the document to update. |
cpq_document | object | Yes | — | Partial document fields to update. Any key accepted by createDocument is accepted here. |
freshsales_products_update_document_products
Update products on a CPQ document Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the document. |
products | object[] | Yes | — | Array of product line items. Each item: {product_id, quantity, discount, …}. Additional fields depend on your Freshsales configuration. |
freshsales_products_update_product
Update a CPQ product Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the product to update. |
product | object | Yes | — | Partial product fields to update. Any key accepted by createProduct is accepted here. |
freshsales_products_update_product_prices
Update pricing for a CPQ product Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | integer | Yes | — | Numeric ID of the product. |
product_pricings | object[] | Yes | — | Array of pricing entries. Each item: {currency_id, unit_price, …}. Additional fields depend on your Freshsales configuration. |

