Deal | Baack docs
Deal
Endpoints
CreatePOST/n/v1/deal/
Representation of a customer business deal sourced from a lead which results in invoices when won. Deals can be created independently from leads however the platform UX is intended for leads to convert to deals to provide a funnel view of lead to deal to sales progress.
Baack allocates the URN and returns it in the response.
Request body: Deal
Responses
ReadGET/n/v1/deal/{urn}
Representation of a customer business deal sourced from a lead which results in invoices when won. Deals can be created independently from leads however the platform UX is intended for leads to convert to deals to provide a funnel view of lead to deal to sales progress.
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
curl -H "Authorization: Bearer $BAACK_API_TOKEN" \ https://api.baack.co/n/v1/deal/{urn}UpdatePUT/n/v1/deal/{urn}
Representation of a customer business deal sourced from a lead which results in invoices when won. Deals can be created independently from leads however the platform UX is intended for leads to convert to deals to provide a funnel view of lead to deal to sales progress.
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Request body: Deal
Responses
DeleteDELETE/n/v1/deal/{urn}
Representation of a customer business deal sourced from a lead which results in invoices when won. Deals can be created independently from leads however the platform UX is intended for leads to convert to deals to provide a funnel view of lead to deal to sales progress.
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
- 202
DELETE_SUCCESS
Webhook
POSTyour destination URL
Subject: DEAL
Webhook for changes to customer deals like deal creation, update or deletion.
Events related to updates to deals on the platform which allow notification for changes to deal status. Deals are created from leads and converted into payment invoices when the deal is closed. This webhook allows integrations to track the status of a deal as it progresses and implement customer related experiences like outreach or other updates.
Body: Webhook Event
Your response
- 200
- Return 200 status to indicate that data was received successfully
Fields
| Field | Type | Description |
|---|---|---|
| owner | Company | Required on create. . |
| contactCompanies | array of Company | |
| lostReason | string | Up to 1024 characters. |
| leadSource | Lead | |
| probability | number (double) | |
| createdTimestamp | string (date-time) | |
| title | string | Up to 1024 characters. |
| updatedTimestamp | string (date-time) | |
| contactIdentities | array of Identity | Ignored on update. |
| urn | string (uuid) | |
| invoices | array of Payment Invoice | Ignored on update. |
| workflowStage | Workflow Stage | |
| targetValue | Money | |
| targetCloseTimestamp | string (date-time) | |
| assignee | Identity | |
| closeTimestamp | string (date-time) | |
| entity | Entity | |
| outcome | string | One of: |
Used by: Search Item