API Documentation
Proposals ¶
Proposals ¶
Following diagram shows proposals in our data hierarchy:
Supported filter params
-
id (array)
-
deal_id (array)
-
status (array) (draft, sent, accepted, rejected)
GET /api/v2/proposals
Requests
GET /api/v2/proposals
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonResponses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": [
{
"id": "14",
"type": "proposals",
"attributes": {
"name": "test proposal",
"note": null,
"footer": null,
"status": "draft",
"purchase_order_number": null,
"date": "2026-03-17",
"end_date": null,
"sent_at": null,
"created_at": "2026-03-17T05:20:51.290+01:00",
"custom_fields": null,
"public_uuid": "027d789b-b5bd-5449-8a6d-7f05fd2d0d35",
"link_status": "inactive",
"responder_name": null,
"responder_email": null,
"status_changed_at": null,
"disclaimer": null,
"disclaimer_enabled": false,
"exchange_rate": "1.25",
"exchange_date": "2026-03-17",
"signed": false,
"original_pdf_url": null,
"audit_pdf_url": null,
"currency": "EUR",
"currency_default": "USD",
"currency_normalized": "EUR",
"budget_total": 0,
"budget_total_default": 0,
"budget_total_normalized": 0,
"note_interpolated": null,
"footer_interpolated": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2365"
}
},
"client": {
"meta": {
"included": false
}
},
"deal": {
"meta": {
"included": false
}
},
"document_type": {
"meta": {
"included": false
}
},
"proposal_from": {
"meta": {
"included": false
}
},
"proposal_to": {
"meta": {
"included": false
}
},
"responsible": {
"meta": {
"included": false
}
},
"subsidiary": {
"meta": {
"included": false
}
},
"tax_rate": {
"meta": {
"included": false
}
},
"contact": {
"meta": {
"included": false
}
},
"creator": {
"meta": {
"included": false
}
},
"deal_creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
}
}
},
{
"id": "15",
"type": "proposals",
"attributes": {
"name": "test proposal",
"note": null,
"footer": null,
"status": "draft",
"purchase_order_number": null,
"date": "2026-03-17",
"end_date": null,
"sent_at": null,
"created_at": "2026-03-17T05:20:51.369+01:00",
"custom_fields": null,
"public_uuid": "dad90e90-a561-5d88-a3aa-368bbba712e4",
"link_status": "inactive",
"responder_name": null,
"responder_email": null,
"status_changed_at": null,
"disclaimer": null,
"disclaimer_enabled": false,
"exchange_rate": "1.25",
"exchange_date": "2026-03-17",
"signed": false,
"original_pdf_url": null,
"audit_pdf_url": null,
"currency": "EUR",
"currency_default": "USD",
"currency_normalized": "EUR",
"budget_total": 0,
"budget_total_default": 0,
"budget_total_normalized": 0,
"note_interpolated": null,
"footer_interpolated": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2365"
}
},
"client": {
"meta": {
"included": false
}
},
"deal": {
"meta": {
"included": false
}
},
"document_type": {
"meta": {
"included": false
}
},
"proposal_from": {
"meta": {
"included": false
}
},
"proposal_to": {
"meta": {
"included": false
}
},
"responsible": {
"meta": {
"included": false
}
},
"subsidiary": {
"meta": {
"included": false
}
},
"tax_rate": {
"meta": {
"included": false
}
},
"contact": {
"meta": {
"included": false
}
},
"creator": {
"meta": {
"included": false
}
},
"deal_creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
}
}
}
],
"links": {
"first": "http://api-test.productive.io/api/v2/proposals?page%5Bnumber%5D=1&page%5Bsize%5D=30",
"last": "http://api-test.productive.io/api/v2/proposals?page%5Bnumber%5D=1&page%5Bsize%5D=30"
},
"meta": {
"current_page": 1,
"total_pages": 1,
"total_count": 2,
"page_size": 30,
"max_page_size": 200
}
}Get proposalsGET/api/v2/proposals
GET /api/v2/proposals/1
Requests
GET /api/v2/proposals/16
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonResponses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": {
"id": "16",
"type": "proposals",
"attributes": {
"name": "test proposal",
"note": null,
"footer": null,
"status": "draft",
"purchase_order_number": null,
"date": "2026-03-17",
"end_date": null,
"sent_at": null,
"created_at": "2026-03-17T05:20:51.500+01:00",
"custom_fields": null,
"public_uuid": "f5159e2d-5378-5ecb-bc66-4c9441763612",
"link_status": "inactive",
"responder_name": null,
"responder_email": null,
"status_changed_at": null,
"disclaimer": null,
"disclaimer_enabled": false,
"exchange_rate": "1.25",
"exchange_date": "2026-03-17",
"signed": false,
"original_pdf_url": null,
"audit_pdf_url": null,
"currency": "EUR",
"currency_default": "USD",
"currency_normalized": "EUR",
"budget_total": 0,
"budget_total_default": 0,
"budget_total_normalized": 0,
"note_interpolated": null,
"footer_interpolated": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2366"
}
},
"client": {
"meta": {
"included": false
}
},
"deal": {
"meta": {
"included": false
}
},
"document_type": {
"meta": {
"included": false
}
},
"proposal_from": {
"meta": {
"included": false
}
},
"proposal_to": {
"meta": {
"included": false
}
},
"responsible": {
"meta": {
"included": false
}
},
"subsidiary": {
"meta": {
"included": false
}
},
"tax_rate": {
"meta": {
"included": false
}
},
"contact": {
"meta": {
"included": false
}
},
"creator": {
"meta": {
"included": false
}
},
"deal_creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}GET /api/v2/proposals/1/sync_status
Requests
GET /api/v2/proposals/17/sync_status
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonResponses
Headers
Content-Type: application/json; charset=utf-8Body
{
"data": {
"id": 17,
"in_sync": true
}
}Get proposal's sync statusGET/api/v2/proposals/{id}/sync_status
URI Parameters
- id
number(required) Example: 1proposal id
POST /api/v2/proposals
Requests
POST /api/v2/proposals
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonBody
{
"data": {
"type": "proposals",
"attributes": {
"name": "test proposal",
"status": "draft"
},
"relationships": {
"deal": {
"data": {
"type": "deals",
"id": "2015"
}
},
"document_type": {
"data": {
"type": "document-types",
"id": "2330"
}
},
"tax_rate": {
"data": {
"type": "tax_rate",
"id": "73"
}
}
}
}
}Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": {
"id": "18",
"type": "proposals",
"attributes": {
"name": "test proposal",
"note": null,
"footer": null,
"status": "draft",
"purchase_order_number": null,
"date": "2026-03-17",
"end_date": null,
"sent_at": null,
"created_at": "2026-03-17T05:20:51.885+01:00",
"custom_fields": null,
"public_uuid": "20072a2d-92d3-55e5-b235-8a0649d6e392",
"link_status": "inactive",
"responder_name": null,
"responder_email": null,
"status_changed_at": "2026-03-17T05:20:51.000+01:00",
"disclaimer": null,
"disclaimer_enabled": false,
"exchange_rate": "1.25",
"exchange_date": "2026-03-17",
"signed": false,
"original_pdf_url": null,
"audit_pdf_url": null,
"currency": "EUR",
"currency_default": "USD",
"currency_normalized": "EUR",
"budget_total": 0,
"budget_total_default": 0,
"budget_total_normalized": 0,
"note_interpolated": null,
"footer_interpolated": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2370"
}
},
"client": {
"meta": {
"included": false
}
},
"deal": {
"meta": {
"included": false
}
},
"document_type": {
"meta": {
"included": false
}
},
"proposal_from": {
"meta": {
"included": false
}
},
"proposal_to": {
"meta": {
"included": false
}
},
"responsible": {
"meta": {
"included": false
}
},
"subsidiary": {
"meta": {
"included": false
}
},
"tax_rate": {
"meta": {
"included": false
}
},
"contact": {
"meta": {
"included": false
}
},
"creator": {
"meta": {
"included": false
}
},
"deal_creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}Create a proposalPOST/api/v2/proposals
URI Parameters
- name
string(required) Example: Namename
- status
string(required) Example: draftproposal status (draft, sent, accepted, rejected)
- deal_id
number(required) Example: 1deal
- document_type_id
number(required) Example: 1document type
- tax_rate_id
number(optional) Example: 1tax rate
- note
string(required) Example: Notenote
PATCH /api/v2/proposals/1
Requests
PATCH /api/v2/proposals/19
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonBody
{
"data": {
"type": "proposals",
"attributes": {
"name": "new name",
"status": "accepted"
},
"relationships": {
"deal": {
"data": {
"type": "deals",
"id": "2016"
}
},
"document_type": {
"data": {
"type": "document-types",
"id": "2332"
}
},
"tax_rate": {
"data": {
"type": "tax_rate",
"id": "74"
}
}
}
}
}Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": {
"id": "19",
"type": "proposals",
"attributes": {
"name": "new name",
"note": null,
"footer": null,
"status": "accepted",
"purchase_order_number": null,
"date": "2026-03-17",
"end_date": null,
"sent_at": null,
"created_at": "2026-03-17T05:20:52.017+01:00",
"custom_fields": null,
"public_uuid": "d7c0582d-a3be-5d10-98f5-03aefced1d5c",
"link_status": "inactive",
"responder_name": "name surname",
"responder_email": "user8688@email.com",
"status_changed_at": "2026-03-17T05:20:52.000+01:00",
"disclaimer": null,
"disclaimer_enabled": false,
"exchange_rate": "1.25",
"exchange_date": "2026-03-17",
"signed": false,
"original_pdf_url": null,
"audit_pdf_url": null,
"currency": "EUR",
"currency_default": "USD",
"currency_normalized": "EUR",
"budget_total": 0,
"budget_total_default": 0,
"budget_total_normalized": 0,
"note_interpolated": null,
"footer_interpolated": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2371"
}
},
"client": {
"meta": {
"included": false
}
},
"deal": {
"meta": {
"included": false
}
},
"document_type": {
"meta": {
"included": false
}
},
"proposal_from": {
"meta": {
"included": false
}
},
"proposal_to": {
"meta": {
"included": false
}
},
"responsible": {
"meta": {
"included": false
}
},
"subsidiary": {
"meta": {
"included": false
}
},
"tax_rate": {
"meta": {
"included": false
}
},
"contact": {
"meta": {
"included": false
}
},
"creator": {
"meta": {
"included": false
}
},
"deal_creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}PATCH /api/v2/proposals/1/sync
Requests
PATCH /api/v2/proposals/24/sync
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonResponses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"data": {
"id": "24",
"type": "proposals",
"attributes": {
"name": "test proposal",
"note": null,
"footer": null,
"status": "draft",
"purchase_order_number": null,
"date": "2026-03-17",
"end_date": null,
"sent_at": null,
"created_at": "2026-03-17T05:20:52.941+01:00",
"custom_fields": null,
"public_uuid": "167ae47a-7a34-5284-b080-71fdde529c61",
"link_status": "inactive",
"responder_name": null,
"responder_email": null,
"status_changed_at": null,
"disclaimer": null,
"disclaimer_enabled": false,
"exchange_rate": "1.25",
"exchange_date": "2026-03-17",
"signed": false,
"original_pdf_url": null,
"audit_pdf_url": null,
"currency": "EUR",
"currency_default": "USD",
"currency_normalized": "EUR",
"budget_total": 100000,
"budget_total_default": 125000,
"budget_total_normalized": 100000,
"note_interpolated": null,
"footer_interpolated": null
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "2376"
}
},
"client": {
"meta": {
"included": false
}
},
"deal": {
"meta": {
"included": false
}
},
"document_type": {
"meta": {
"included": false
}
},
"proposal_from": {
"meta": {
"included": false
}
},
"proposal_to": {
"meta": {
"included": false
}
},
"responsible": {
"meta": {
"included": false
}
},
"subsidiary": {
"meta": {
"included": false
}
},
"tax_rate": {
"meta": {
"included": false
}
},
"contact": {
"meta": {
"included": false
}
},
"creator": {
"meta": {
"included": false
}
},
"deal_creator": {
"meta": {
"included": false
}
},
"project": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}PATCH /api/v2/proposals/25/sync
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonResponses
Headers
Content-Type: application/vnd.api+json; charset=utf-8Body
{
"errors": [
{
"status": "409",
"code": "not_in_draft_status",
"title": "Conflict error",
"meta": {},
"source": {}
}
]
}Sync a proposalPATCH/api/v2/proposals/{id}/sync
URI Parameters
- id
number(required) Example: 1proposal id
DELETE /api/v2/proposals/1
Requests
DELETE /api/v2/proposals/38
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+jsonResponses
This response has no content.
Deletes a proposalDELETE/api/v2/proposals/{id}
URI Parameters
- id
number(required) Example: 1proposal id
Generated by aglio on 17 Mar 2026