post
https://api.duodeal.app/api/deals
Creates a new deal.
Your deal will not appear in the deal list page if it has no associated quotations.
Query Parameters
createquotation=1: Automatically creates an empty quotation associated with the deal
Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Deal name |
customer | object | No | Associated customer { "id": X } |
owner | object | No | Owner { "id": X } |
archived | boolean | No | Archived deal (default: false) |
template | boolean | No | Template deal (default: false) |
autoSave | boolean | No | Auto-save (default: true) |
language | string | No | Deal language ("fr", "en") |
displayCurrencyFormat | object | No | Currency display format |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
201Resource created
400Bad request
401Unauthorized
