DealHub
App · 19 actions
Read DealHub quotes, users, versions and product pricing.
Actions
| Action | What it does |
|---|---|
| Find products by SKU | Find products by SKU. |
| Get CPQ version | Get CPQ version. |
| Get CPQ version by name | Get CPQ version by name. |
| Get CRM import details | Get CRM import details. |
| Get CRM import status | Get CRM import status. |
| Get playbook data | Get playbook data. |
| Get product catalog | Get product catalog. |
| Get product prices | Get product prices. |
| Get product pricing parameters | Get product pricing parameters. |
| Get quote | Get quote. |
| Get quote template | Get quote template. |
| Get user | Get user. |
| Get user by login | Get user by login. |
| List CPQ versions | List CPQ versions. |
| List DealRoom signers | List DealRoom signers. |
| List products in version | List products in version. |
| List quotes | List quotes. |
| List users | List users. |
| Resolve quote ID | Resolve quote ID. |
Find products by SKU
Find products by SKU.
Inputs
- Version
version_idtext - ID of the version. If omitted, the active version is used.
- Pricing option
pricing_optiontext - Specifies which price to return for SKUs with multiple fixed prices.One of:
MIN,MAX,FIRST. - SKU
skulistRequired - List of SKUs to retrieve.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"info": {
"compared_with_version_id": "example",
"error": "example",
"limit": "example",
"more_results_matching_the_request": true,
"offset": "example",
"version_id": "example",
"version_status": "example"
},
"products": [
{
"attributes": [
{}
],
"bundle_items": [
"example"
],
"description": "example",
"name": "example",
"price": {},
"sku": "example",
"type": "example"
}
]
}
}Get CPQ version
Get CPQ version.
Inputs
- Version
version_idtextRequired - The unique identifier of the version.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"comment": "example",
"name": "example",
"status": "example",
"version_id": "example"
}
}Get CPQ version by name
Get CPQ version by name.
Inputs
- Version name
version_nametextRequired - The name of the version.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"comment": "example",
"name": "example",
"status": "example",
"version_id": "example"
}
}Get CRM import details
Get CRM import details.
Inputs
- Request ID
request_idtext - ID of the import request. If omitted, the tenant's most-recent import is returned.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"accounts": [
{
"contacts": [
{}
],
"crm_id": "example",
"reason": "example",
"state": "example"
}
],
"failed": 1,
"failures": [
{
"crm_id": "example",
"reason": "example"
}
],
"processed": 1,
"request_id": "example",
"skipped": 1,
"status": "example",
"succeeded": 1,
"total": 1
}
}Get CRM import status
Get CRM import status.
Inputs
- Request ID
request_idtext - ID of the import request. If omitted, the tenant's most-recent import is returned.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"failed": 1,
"failures": [
{
"crm_id": "example",
"reason": "example"
}
],
"processed": 1,
"request_id": "example",
"skipped": 1,
"status": "example",
"succeeded": 1,
"total": 1
}
}Get playbook data
Get playbook data.
Inputs
- Version name
version_nametextRequired - Version name.
- Playbook ID
playbook_idtextRequired - Playbook name (not the Playbook display name).
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"playbook_data": [
{
"group_external_object": "example",
"group_id": "example",
"group_name": "example",
"group_type": "example",
"question_data": [
{}
]
}
],
"playbook_metadata": {
"display": "example",
"document_type": [
"example"
],
"enable_partner_support": true,
"geo_factors_settings": true,
"name": "example",
"present_proposal_summary": true,
"sync_docs_settings": {
"based_on": "example",
"enabled": "example"
},
"sync_products_settings": {
"based_on": "example",
"enabled": "example"
}
}
}
}Get product catalog
Get product catalog.
Inputs
- Version
version_idtextRequired - The unique identifier of the Version.
- SKU
skulist - One or more product SKUs to filter the result. Can be used multiple times (e.g., ?sku=SKU001&sku=SKU002).
- Offset
offsetnumber - The number of products to skip for pagination.
- Limit
limitnumber - The maximum number of products to return.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"bundles": [
{
"bundle_items": [
{}
],
"bundle_type": "example",
"description": "example",
"name": "example",
"price_in_bundle_is_zero": true,
"primary_tag": "example",
"product_assignments": [
{}
],
"product_attributes": {},
"product_conditional_names": [
{}
],
"product_pricing": {
"advanced": true,
"pricing_rules": [
{}
]
},
"sku": "example",
"sync_bundle_price": true,
"sync_to_crm": true,
"tags": [
"example"
]
}
],
"info": {
"compared_with_version_id": "example",
"error": "example",
"limit": "example",
"more_results_matching_the_request": true,
"offset": "example",
"version_id": "example",
"version_status": "example"
},
"products": [
{
"description": "example",
"merge_products": true,
"name": "example",
"primary_tag": "example",
"product_assignments": [
{}
],
"product_attributes": {},
"product_conditional_names": [
{}
],
"product_pricing": {
"advanced": true,
"pricing_rules": [
{}
]
},
"sku": "example",
"tags": [
"example"
]
}
]
}
}Get product prices
Get product prices.
Inputs
- Currency
currencytextRequired - The currency ISO code to base the pricing on.
- Geo
geotextRequired - The geographic region to be used for the pricing calculation.
- Version
versiontext - The version name to retrieve the parameters for. If not provided, the system will use the active version.
- Playbook
playbooktext - The playbook name in case multiple playbooks exist.
- SKUS
skuslistRequired - Skus.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"currency": "example",
"playbook": "example",
"skus": [
{
"error": "example",
"id": "example",
"price": 1,
"sku": "example"
}
],
"version": "example"
}
}Get product pricing parameters
Get product pricing parameters.
Inputs
- Currency
currencytextRequired - The currency ISO code to evaluate the rules upon.
- Geo
geotextRequired - The geography to be used for the pricing calculation.
- Version
versiontext - The version name to retrieve the parameters for. If not provided, the system will use the active version.
- Playbook
playbooktext - The playbook name (not display name) in case there is more than one playbook.
- SKUS
skuslistRequired - The list of SKUs to evaluate.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"skus": [
{
"parameters_for": {
"parameters": [
{}
],
"product_factors": [
{}
]
},
"sku": "example"
}
]
}
}Get quote
Get quote.
Inputs
- Quote
quote_idtextRequired - The unique identifier for the quote in DealHub.
- Feature
featurelist - Specify which parts of the quote data to retrieve. This parameter can be used multiple times. Valid options are: * info * summary * deal_room_info * line_items * answers * approvals * all.One or more of:
info,summary,deal_room_info(Deal room info),line_items(Line items),answers,approvals,all. - External identifier flag
external_identifier_flagtrue/false - If true, the quote_id in the path refers to the external_quote_id from the CRM.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"answers": [
{
"answer": "example",
"group_id": "example",
"group_name": "example",
"question": "example",
"question_id": "example",
"system_id": "example",
"system_name": "example"
}
],
"approvals": [
{
"impersonated_by": "example",
"reason": "example",
"review_date": "example",
"reviewer": "example",
"reviewer_comment": "example",
"status": "example",
"step": 1
}
],
"deal_room_info": {
"url": "example"
},
"dealhub_quote_id": "example",
"info": {
"account_name": "example",
"contact_email": "example",
"contact_name": "example",
"created_by": "example",
"creation_date": "example",
"currency": "example",
"customer_id": "example",
"dealhub_opportunity_id": "example",
"dealhub_quote_name": "example",
"dealhub_quote_number": "example",
"duplicate_from_quote": "example",
"expiration_date": "example",
"external_customer_id": "example",
"external_opportunity_id": "example",
"external_quote_id": "example",
"geo_code": "example",
"playbook": "example",
"primary_quote": true,
"quote_url": "example",
"submission_date": "example",
"submitted_by": "example",
"version_id": "example",
"won_date": "example"
},
"line_items": [
{
"attributes": {},
"bundle_ref": "example",
"group_name": "example",
"id": "example",
"list_price": 1,
"msrp": 1,
"msrp_discount": 1,
"name": "example",
"net_per_unit": 1,
"net_price": 1,
"ordinal": 1,
"partner_discounts": [
{}
],
"primary_tag": "example",
"product_factors": {},
"sales_discount": 1,
"sku": "example",
"system_id": "example",
"system_name": "example",
"system_ordinal": 1,
"total_discount": 1,
"user_discount": 1,
"user_price": 1
}
],
"quote_upgrade_required": true,
"status": "example",
"summary": {
"currency": "example",
"sales_discount": 1,
"total_discount": 1,
"total_list_price": 1,
"total_net_price": 1
}
}
}Get quote template
Get quote template.
Inputs
- Version
version_idtextRequired - Version name.
- Playbook ID
playbook_idtextRequired - Playbook name (not the Playbook display name).
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"dealroom_publish_name": "example",
"document_type": "example",
"expiration_date": "example",
"external_opportunity_id": "example",
"line_item_details": "example",
"line_items": [
{
"attributes": {},
"bundle_ref_id": 1,
"bundle_ref_sku": "example",
"item_name": "example",
"list_price": 1,
"msrp": 1,
"msrp_discount": 1,
"net_price": 1,
"net_price_per_unit": 1,
"partner_program_data": [
{}
],
"product_factors": {},
"sales_discount": 1,
"sku": "example",
"total_discount": 1
}
],
"partner_program": [
{
"partner_level_name": "example",
"program_name": "example"
}
],
"playbook": "example",
"quote_data": [
{
"group_id": "example",
"questions": [
{}
]
}
],
"quote_name": "example",
"request_action": "example",
"sign_externally_comment": "example",
"timezone_offset": 1,
"total_sales_discount": 1
}
}Get user
Get user.
Inputs
- Dealhub user
dealhub_user_idtextRequired - The unique DealHub ID of the user.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"business_title": "example",
"city": "example",
"company": "example",
"country": "example",
"email": "example",
"fax": "example",
"id": "example",
"is_active": true,
"login": "example",
"mobile": "example",
"name": "example",
"phone": "example",
"position": "example",
"postal_code": "example",
"state": "example",
"street": "example",
"user_manager_login": "example"
}
}Get user by login
Get user by login.
Inputs
- Login
logintextRequired - The login name of the user.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"business_title": "example",
"city": "example",
"company": "example",
"country": "example",
"email": "example",
"fax": "example",
"id": "example",
"is_active": true,
"login": "example",
"mobile": "example",
"name": "example",
"phone": "example",
"position": "example",
"postal_code": "example",
"state": "example",
"street": "example",
"user_manager_login": "example"
}
}List CPQ versions
List CPQ versions.
Inputs
- Status
statustext - Search for Version(s) based on status.One of:
DRAFT,ACTIVE,DEACTIVATED.
Outputs
datalist- The response from DealHub.
Example output
{
"data": [
{
"comment": "example",
"name": "example",
"status": "example",
"version_id": "example"
}
]
}List DealRoom signers
List DealRoom signers.
Inputs
- Opportunity ID
opportunity_idtextRequired - The ID of the CRM opportunity.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"buyer_signers": [
{
"company_name": "example",
"ordinal": 1,
"signature_date": "example",
"signee_name": "example",
"signee_title": "example"
}
],
"dealroom_state": "example",
"seller_signers": [
{
"company_name": "example",
"ordinal": 1,
"signature_date": "example",
"signee_name": "example",
"signee_title": "example"
}
]
}
}List products in version
List products in version.
Inputs
- Version
version_idtextRequired - The unique identifier of the Version.
- Offset
offsetnumber - The number of products to skip for pagination.From 0 to 10000.
- Limit
limitnumber - The maximum number of products to return. If the requested limit value exceeds the maximum allowed limit, the system will automatically cap the result set at the maximum limit.From 1 to 1000.
- Product option
product_optiontext - Specify whether to fetch all products or only new/updated products.One of:
ALL,MODIFIED. - Pricing option
pricing_optiontext - For products with multiple fixed prices, specifies which price to return (Minimum, Maximum, or First defined).One of:
MIN,MAX,FIRST.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"info": {
"compared_with_version_id": "example",
"error": "example",
"limit": "example",
"more_results_matching_the_request": true,
"offset": "example",
"version_id": "example",
"version_status": "example"
},
"products": [
{
"attributes": [
{}
],
"bundle_items": [
"example"
],
"description": "example",
"name": "example",
"price": {},
"sku": "example",
"type": "example"
}
]
}
}List quotes
List quotes.
Inputs
- External opportunity ID
external_opportunity_idtext - Filter quotes associated with a specific CRM opportunity ID.
- Feature
featurelist - Specify which parts of the quote data to retrieve for each quote in the list. This parameter can be used multiple times. Valid options are: * info * summary * deal_room_info * line_items * answers * approvals * all.One or more of:
info,summary,deal_room_info(Deal room info),line_items(Line items),answers,approvals,all. - Offset
offsetnumber - The number of quotes to skip for pagination.From 0 to 10000.
- Limit
limitnumber - The maximum number of quotes to return.From 1 to 50.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"info": {
"limit": "example",
"more_results_matching_the_request": true,
"offset": "example"
},
"quotes": [
{
"answers": [
{}
],
"approvals": [
{}
],
"deal_room_info": {
"url": "example"
},
"dealhub_quote_id": "example",
"info": {
"account_name": "example",
"contact_email": "example",
"contact_name": "example",
"created_by": "example",
"creation_date": "example",
"currency": "example",
"customer_id": "example",
"dealhub_opportunity_id": "example",
"dealhub_quote_name": "example",
"dealhub_quote_number": "example",
"duplicate_from_quote": "example",
"expiration_date": "example",
"external_customer_id": "example",
"external_opportunity_id": "example",
"external_quote_id": "example",
"geo_code": "example",
"playbook": "example",
"primary_quote": true,
"quote_url": "example",
"submission_date": "example",
"submitted_by": "example",
"version_id": "example",
"won_date": "example"
},
"line_items": [
{}
],
"quote_upgrade_required": true,
"status": "example",
"summary": {
"currency": "example",
"sales_discount": 1,
"total_discount": 1,
"total_list_price": 1,
"total_net_price": 1
}
}
]
}
}List users
List users.
Inputs
- Status
statustext - Filter users by their active or inactive status.One of:
active,inactive.
Outputs
datalist- The response from DealHub.
Example output
{
"data": [
{
"business_title": "example",
"city": "example",
"company": "example",
"country": "example",
"email": "example",
"fax": "example",
"id": "example",
"is_active": true,
"login": "example",
"mobile": "example",
"name": "example",
"phone": "example",
"position": "example",
"postal_code": "example",
"state": "example",
"street": "example",
"user_manager_login": "example"
}
]
}Resolve quote ID
Resolve quote ID.
Inputs
- Dealhub proposal ID
dealhub_proposal_idtextRequired - The unique identifier of the proposal in DealHub.
Outputs
dataobject- The response from DealHub.
Example output
{
"data": {
"dealhub_quote_id": "example"
}
}