Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

{
	"info": {
		"_postman_id": "b2e06ee4-b11c-4f69-b05a-62827e592e62",
		"name": "Hubspot Integration",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "HS deal properties",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "COy-r9iNMBIDAQECGNHdmwognI2yBCiciikyFEaxkA00_LF7cw9IaxcKju1fckOPOhoACgJBAAAMgAP4CwAAAAEAAAAAAAAAGMAAE0IUqVzzmTU2ynO6vbQ_jP0a7DesdmhKA25hMVIAWgA",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n  \"inputs\": [\r\n    {\r\n      \"name\": \"completed_date\",\r\n      \"groupName\": \"deal_activity\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"Completed Date\",\r\n          \"description\": \"Completed Date\",\r\n          \"value\": \"completed_date\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"Completed Date\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"date\",\r\n      \"fieldType\": \"date\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"quote_approved_date\",\r\n      \"groupName\": \"deal_activity\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"Quote Approved Date\",\r\n          \"description\": \"Quote Approved Date\",\r\n          \"value\": \"quote_approved_date\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"Quote Approved Date\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"date\",\r\n      \"fieldType\": \"date\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"quote_created_date\",\r\n      \"groupName\": \"deal_activity\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"Quote Created Date\",\r\n          \"description\": \"Quote Created Date\",\r\n          \"value\": \"quote_created_date\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"Quote Created Date\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"date\",\r\n      \"fieldType\": \"date\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"quote_sent_date\",\r\n      \"groupName\": \"deal_activity\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"Quote Sent Date\",\r\n          \"description\": \"Quote Sent Date\",\r\n          \"value\": \"quote_sent_date\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"Quote Sent Date\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"date\",\r\n      \"fieldType\": \"date\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"quote_valid_to_date\",\r\n      \"groupName\": \"deal_activity\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"Quote Valid to Date\",\r\n          \"description\": \"Quote Valid to Date\",\r\n          \"value\": \"quote_valid_to_date\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"Quote Valid to Date\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"date\",\r\n      \"fieldType\": \"date\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"price_ex_gst_before_stc_and_rebates\",\r\n      \"groupName\": \"deal_revenue\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"Price ex GST before STC and Rebates\",\r\n          \"description\": \"Price ex GST before STC and Rebates\",\r\n          \"value\": \"price_ex_gst_before_stc_and_rebates\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"Price ex GST before STC and Rebates\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"number\",\r\n      \"fieldType\": \"number\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"quote_final_price\",\r\n      \"groupName\": \"deal_revenue\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"Quote Final Price\",\r\n          \"description\": \"Quote Final Price\",\r\n          \"value\": \"quote_final_price\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"Quote Final Price\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"number\",\r\n      \"fieldType\": \"number\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"quote_total_gst\",\r\n      \"groupName\": \"deal_revenue\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"Quote Total GST\",\r\n          \"description\": \"Quote Total GST\",\r\n          \"value\": \"quote_total_gst\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"Quote Total GST\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"number\",\r\n      \"fieldType\": \"number\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"stc_value\",\r\n      \"groupName\": \"deal_revenue\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"STC value\",\r\n          \"description\": \"STC value\",\r\n          \"value\": \"stc_value\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"STC value\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"number\",\r\n      \"fieldType\": \"number\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"dealowner\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"dealowner\",\r\n          \"description\": \"dealowner\",\r\n          \"value\": \"dealowner\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"dealowner\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"install_job_pack_pdf_url\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"Install Job Pack PDF URL\",\r\n          \"description\": \"Install Job Pack PDF URL\",\r\n          \"value\": \"install_job_pack_pdf_url\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"Install Job Pack PDF URL\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"install_job_pack_url\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"install_job_pack_url\",\r\n          \"description\": \"install_job_pack_url\",\r\n          \"value\": \"install_job_pack_url\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"install_job_pack_url\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"link_to_solarplus_quote_view_page\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"link_to_solarplus_quote_view_page\",\r\n          \"description\": \"link_to_solarplus_quote_view_page\",\r\n          \"value\": \"link_to_solarplus_quote_view_page\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"link_to_solarplus_quote_view_page\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"proposal_pdf_url\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"Proposal PDF URL\",\r\n          \"description\": \"Proposal PDF URL\",\r\n          \"value\": \"proposal_pdf_url\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"Proposal PDF URL\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"proposal_url\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"proposal_url\",\r\n          \"description\": \"proposal_url\",\r\n          \"value\": \"proposal_url\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"proposal_url\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"quote_acceptance_link\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"quote_acceptance_link\",\r\n          \"description\": \"quote_acceptance_link\",\r\n          \"value\": \"quote_acceptance_link\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"quote_acceptance_link\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"quote_acceptance_url\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"Quote Acceptance URL\",\r\n          \"description\": \"Quote Acceptance URL\",\r\n          \"value\": \"quote_acceptance_url\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"Quote Acceptance URL\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"quote_number\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"Quote Number\",\r\n          \"description\": \"Quote Number\",\r\n          \"value\": \"quote_number\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"Quote Number\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"quote_status\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"quote_status\",\r\n          \"description\": \"quote_status\",\r\n          \"value\": \"quote_status\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"quote_status\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"solarplus_quote_page_url\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"SolarPlus Quote Page URL\",\r\n          \"description\": \"SolarPlus Quote Page URL\",\r\n          \"value\": \"solarplus_quote_page_url\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"SolarPlus Quote Page URL\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"solarplus_system_id\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"SolarPlus System ID\",\r\n          \"description\": \"SolarPlus System ID\",\r\n          \"value\": \"solarplus_system_id\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"SolarPlus System ID\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"number\",\r\n      \"fieldType\": \"number\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"sp_created_date\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"sp_created_date\",\r\n          \"description\": \"sp_created_date\",\r\n          \"value\": \"sp_created_date\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"sp_created_date\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"stc_number_of_certificates\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"STC number of certificates\",\r\n          \"description\": \"STC number of certificates\",\r\n          \"value\": \"stc_number_of_certificates\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"STC number of certificates\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"number\",\r\n      \"fieldType\": \"number\",\r\n      \"formField\": true\r\n    },\r\n    {\r\n      \"name\": \"system_id\",\r\n      \"groupName\": \"dealinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"system_id\",\r\n          \"description\": \"system_id\",\r\n          \"value\": \"system_id\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"system_id\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    }\r\n  ]\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.hubapi.com/crm/v3/properties/Deals/batch/create",
					"protocol": "https",
					"host": [
						"api",
						"hubapi",
						"com"
					],
					"path": [
						"crm",
						"v3",
						"properties",
						"Deals",
						"batch",
						"create"
					]
				}
			},
			"response": []
		},
		{
			"name": "HS product properties",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "CIuNr9eNMBIDAQECGNHdmwog9NeqBCiciikyFFM3FDRryGuPMKhg_OtaCVMJNJLqOhoACgJBAAAMgAP4CwAAAAEAAAAAAAAAGMAAE0IU2lRIcYVJQ04derS_58USgZpbbh9KA25hMVIAWgA",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n  \"inputs\": [\r\n    {\r\n      \"name\": \"sp_product_id\",\r\n      \"groupName\": \"productinformation\",\r\n      \"options\": [\r\n        {\r\n          \"label\": \"SolarPlus Product ID\",\r\n          \"description\": \"SolarPlus Product ID\",\r\n          \"value\": \"sp_product_id\",\r\n          \"displayOrder\": -1,\r\n          \"hidden\": false\r\n        }\r\n      ],\r\n      \"label\": \"SolarPlus Product ID\",\r\n      \"hasUniqueValue\": false,\r\n      \"type\": \"string\",\r\n      \"fieldType\": \"text\",\r\n      \"formField\": true\r\n    }\r\n  ]\r\n}"
				},
				"url": {
					"raw": "https://api.hubapi.com/crm/v3/properties/Products/batch/create",
					"protocol": "https",
					"host": [
						"api",
						"hubapi",
						"com"
					],
					"path": [
						"crm",
						"v3",
						"properties",
						"Products",
						"batch",
						"create"
					]
				}
			},
			"response": []
		}
	]
}
  • No labels