Deals

API Endpoints for Deals

List Deals

Retrieve Deal

Create Deal

Update Deal

Delete Deal

Search Deals

Attach Associations to Deal

Detach Associations From Deal

Sync Associations To Deal

Change Deal Status

This endpoint is deprecated. Use the deal update endpoint and provide the status attribute instead.

Any of ['open', 'won', 'lost']

Deal Products

Use this endpoint to manage a deal's products. Send a request to this endpoint to add products to a deal or update existing deal products.

The products resource is separate from deal products. Use it to create predefined products, then use their information when adding products to deals.

When you add products to a deal, BrandLeaf CRM creates a billable object containing the products and tax information. The products added to the deal billable object are based on the predefined products.

Managing products on a deal does not affect the predefined products. Deal products maintain a separate state and use the product_id attribute to link each deal product to its corresponding predefined product.

Array of products to be attached to the billable object
See Product Metadata below
Any of ['exclusive', 'inclusive', 'no_tax']

If not provided, the default selected tax type in Settings -> Products will be used.

Product metadata