Learn about the Propovoice API Endpoint Estimate from this documentation and check out how it works.
List Estimates #
Description here
Request Method GET
API Endpoint /wp-json/ndpv/v1/invoices?path=estimate
Response Status Code 200 OK
{
"success": true,
"data": {
"prefix": "Est-",
"result": [
{
"id": 3543,
"num": "Est-3543",
"token": "c43feb03f1de70effa1e14dd47d10a84caf3ee5a",
"path": "estimate",
"date": "2023-04-02T06:22:13.952Z",
"due_date": "2023-05-02T06:22:13.957Z",
"project": {
"name": ""
},
"from": {
"id": "43",
"name": "Cris Miller"
},
"to": {
"id": 3535,
"type": "person",
"first_name": "Emily Jacson",
"org_name": "",
"email": "[email protected]"
},
"invoice": {
"id": 3543,
"num": "Est-3543",
"token": "c43feb03f1de70effa1e14dd47d10a84caf3ee5a",
"style": {
"primary_color": "#4c6fff",
"body_font": "",
"title_font": ""
},
"date": "2023-04-02T06:22:13.952Z",
"due_date": "2023-05-02T06:22:13.957Z",
"currency": "USD",
"lang": "en",
"template": 1,
"from": 43,
"to": 3535,
"to_type": "person",
"module_id": null,
"project": {
"id": null,
"title": "",
"desc": ""
},
"top_sections": null,
"item_label": {
"id": "ID",
"desc": "Description",
"qty": "Quantity",
"price": "Rate",
"tax": "Tax",
"amount": "Amount"
},
"items": [
{
"id": "init",
"title": "100 Backlink",
"desc": "",
"qty": "100",
"qty_type": "",
"price": "2",
"tax": 0,
"tax_type": "fixed"
}
],
"paid": 0,
"item_tax": false,
"extra_field": [],
"payment_methods": [],
"reminder": {
"status": false,
"due_date": false,
"before": [],
"after": []
},
"recurring": {
"status": false,
"interval_type": "week",
"interval_in": "month",
"interval": 1,
"limit_type": 0,
"limit": 5,
"subscription": false,
"send_me": false,
"delivery": 1
},
"sections": null,
"attach": [],
"sign": null,
"path": "estimate",
"status": "draft"
},
"total": "200",
"paid": 0,
"due": 0,
"feedback": "",
"payment_method": "",
"payment_info": "",
"status": "draft"
}
],
"total": 1
}
}
Create Estimate #
Description here
Request Method POST
API Endpoint /wp-json/ndpv/v1/invoices
Request Payload application/json
- attach:
array
- currency:
string
- date:
string
- due_date:
string
- extra_field:
array
- from:
integer
- id:
null
- item_label: Item Label Object
- item_tax:
boolean
- items:
array
of Item Object - lang:
string
- module_id:
null
- num:
string
- paid:
integer
- path:
string
”estimate” - payment_methods:
object
- project: Project Object
- recurring: Recurring Object
- reminder: Reminder Object
- sections:
array
of Section Object - sign:
null
- style: Style Object
- template:
integer
- to:
integer
- to_type:
string
- token:
string
- top_sections:
array
of Section Object
Item Label Object
- amount:
string
- desc:
string
- id:
string
- price:
string
- qty:
string
- tax:
string
Item Object
- desc:
string
- id:
string
- price:
string
- qty:
string
- qty_type:
string
- tax:
integer
- tax_type:
string
- title:
string
Project Object
- desc:
string
- id:
null
- title:
string
Recurring Object
- delivery:
integer
- interval:
integer
- interval_in:
string
- interval_type:
string
- limit:
integer
- limit_type:
integer
- send_me:
boolean
- status:
boolean
- subscription:
boolean
Reminder Object
- after:
array
ofinteger
- before:
array
ofinteger
- due_date:
boolean
- status:
boolean
Section Object
- content:
string
- label:
string
Style Object
- body_font:
string
- primary_color:
string
- title_font:
string
{
"attach": [],
"currency": "USD",
"date": "2023-04-05T07:52:42.747Z",
"due_date": "2023-05-05T07:52:42.752Z",
"extra_field": [],
"from": 43,
"id": null,
"item_label": {
"amount": "Amount",
"desc": "Description",
"id": "ID",
"price": "Rate",
"qty": "Quantity",
"tax": "Tax"
},
"item_tax": false,
"items": [
{
"desc": "Add your feedback to 98,000+ reviews to help other companies connect with the right company.",
"id": "init",
"price": "20",
"qty": "20",
"qty_type": "",
"tax": 0,
"tax_type": "fixed",
"title": "test"
}
],
"lang": "en",
"module_id": null,
"num": "",
"paid": 0,
"path": "estimate",
"payment_methods": {},
"project": {
"desc": "",
"id": null,
"title": ""
},
"recurring": {
"delivery": 1,
"interval": 1,
"interval_in": "month",
"interval_type": "week",
"limit": 5,
"limit_type": 0,
"send_me": false,
"status": false,
"subscription": false
},
"reminder": {
"after": [
1
],
"before": [],
"due_date": false,
"status": false
},
"sections": [
{
"content": "<p>Add your feedback to 98,000+ reviews to help other companies connect with the right company.</p>",
"label": "Note"
},
{
"content": "<p>Add your feedback to 98,000+ reviews to help other companies connect with the right company.</p>",
"label": "Terms & Conditions"
}
],
"sign": null,
"style": {
"body_font": "",
"primary_color": "#4c6fff",
"title_font": ""
},
"template": 1,
"to": 3559,
"to_type": "person",
"token": "",
"top_sections": [
{
"content": "<p>Add your feedback to 98,000+ reviews to help other companies connect with the right company.</p>",
"label": "Title"
},
{
"content": "<p>Add your feedback to 98,000+ reviews to help other companies connect with the right company.</p>",
"label": "Section Label"
}
]
}
Response Status Code 201 Created
{
"success": true,
"data": {
"id": 3561,
"token": "4a5210335f3dd7703a512a0373e35e57d8641a72"
}
}
Read Estimate #
Description here
Request Method GET
API Endpoint /wp-json/ndpv/v1/invoices/{ESTIMATE_ID}
Query String Parameters
- ESTIMATE_ID
Response Status Code 200 OK
{
"success": true,
"data": {
"id": 3543,
"token": "c43feb03f1de70effa1e14dd47d10a84caf3ee5a",
"date": "2023-04-02T06:22:13.952Z",
"due_date": "2023-05-02T06:22:13.957Z",
"module_id": "",
"status": "draft",
"fromData": {
"id": "43",
"name": "Cris Miller",
"org_name": "",
"email": "[email protected]",
"mobile": "1451451451",
"web": "",
"address": "",
"logo": {
"id": "3544",
"src": "http://propovoice.local/wp-content/uploads/2023/04/nurencylogo.png"
}
},
"toData": {
"id": 3535,
"type": "person",
"first_name": "Emily Jacson",
"org_name": "",
"email": "[email protected]",
"mobile": "",
"web": "",
"country": "",
"region": "",
"address": ""
},
"paymentBankData": null,
"prefix": "Est-",
"wc": false,
"invoice": {
"id": 3543,
"num": "Est-3543",
"token": "c43feb03f1de70effa1e14dd47d10a84caf3ee5a",
"style": {
"primary_color": "#4c6fff",
"body_font": "",
"title_font": ""
},
"date": "2023-04-02T06:22:13.952Z",
"due_date": "2023-05-02T06:22:13.957Z",
"currency": "USD",
"lang": "en",
"template": 1,
"from": 43,
"to": 3535,
"to_type": "person",
"module_id": null,
"project": {
"id": null,
"title": "",
"desc": ""
},
"top_sections": null,
"item_label": {
"id": "ID",
"desc": "Description",
"qty": "Quantity",
"price": "Rate",
"tax": "Tax",
"amount": "Amount"
},
"items": [
{
"id": "init",
"title": "100 Backlink",
"desc": "",
"qty": "100",
"qty_type": "",
"price": "2",
"tax": 0,
"tax_type": "fixed"
}
],
"paid": 0,
"item_tax": false,
"extra_field": [],
"payment_methods": [],
"reminder": {
"status": false,
"due_date": false,
"before": [],
"after": []
},
"recurring": {
"status": false,
"interval_type": "week",
"interval_in": "month",
"interval": 1,
"limit_type": 0,
"limit": 5,
"subscription": false,
"send_me": false,
"delivery": 1
},
"sections": null,
"attach": [],
"sign": null,
"path": "estimate",
"status": "draft"
}
}
}
Update Estimate #
Description here
Request Method PUT
API Endpoint /wp-json/ndpv/v1/invoices/{ESTIMATE_ID}
Query String Parameters
- ESTIMATE_ID
Request Payload application/json
- attach:
array
- currency:
string
- date:
string
- due_date:
string
- extra_field:
array
- from:
integer
- id:
integer
- item_label: Item Label Object
- item_tax:
boolean
- items:
array
of Item Object - lang:
string
- module_id:
null
- num:
string
- paid:
integer
- path:
string
”estimate” - payment_methods:
object
- project: Project Object
- recurring: Recurring Object
- reminder: Reminder Object
- sections:
array
of Section Object - sign:
null
- style: Style Object
- template:
integer
- to:
integer
- to_type:
string
- token:
string
- top_sections:
array
of Section Object
Item Label Object
- amount:
string
- desc:
string
- id:
string
- price:
string
- qty:
string
- tax:
string
Item Object
- desc:
string
- id:
string
- price:
string
- qty:
string
- qty_type:
string
- tax:
integer
- tax_type:
string
- title:
string
Project Object
- desc:
string
- id:
null
- title:
string
Recurring Object
- delivery:
integer
- interval:
integer
- interval_in:
string
- interval_type:
string
- limit:
integer
- limit_type:
integer
- send_me:
boolean
- status:
boolean
- subscription:
boolean
Reminder Object
- after:
array
ofinteger
- before:
array
ofinteger
- due_date:
boolean
- status:
boolean
Section Object
- content:
string
- label:
string
Style Object
- body_font:
string
- primary_color:
string
- title_font:
string
{
"attach": [],
"currency": "USD",
"date": "2023-04-05T07:52:42.747Z",
"due_date": "2023-05-05T07:52:42.752Z",
"extra_field": [],
"from": 43,
"id": 3561,
"item_label": {
"amount": "Amount",
"desc": "Description",
"id": "ID",
"price": "Rate",
"qty": "Quantity",
"tax": "Tax"
},
"item_tax": false,
"items": [
{
"desc": "Add your feedback to 98,000+ reviews to help other companies connect with the right company.",
"id": "init",
"price": "20",
"qty": "20",
"qty_type": "",
"tax": 0,
"tax_type": "fixed",
"title": "test"
}
],
"lang": "en",
"module_id": null,
"num": "",
"paid": 0,
"path": "estimate",
"payment_methods": {},
"project": {
"desc": "",
"id": null,
"title": ""
},
"recurring": {
"delivery": 1,
"interval": 1,
"interval_in": "month",
"interval_type": "week",
"limit": 5,
"limit_type": 0,
"send_me": false,
"status": false,
"subscription": false
},
"reminder": {
"after": [
1
],
"before": [],
"due_date": false,
"status": false
},
"sections": [
{
"content": "<p>Add your feedback to 98,000+ reviews to help other companies connect with the right company.</p>",
"label": "Note"
},
{
"content": "<p>Add your feedback to 98,000+ reviews to help other companies connect with the right company.</p>",
"label": "Terms & Conditions"
}
],
"sign": null,
"style": {
"body_font": "",
"primary_color": "#4c6fff",
"title_font": ""
},
"template": 1,
"to": 3559,
"to_type": "person",
"token": "4a5210335f3dd7703a512a0373e35e57d8641a72",
"top_sections": [
{
"content": "<p>Add your feedback to 98,000+ reviews to help other companies connect with the right company.</p>",
"label": "Title"
},
{
"content": "<p>Add your feedback to 98,000+ reviews to help other companies connect with the right company.</p>",
"label": "Section Label"
}
]
}
Response Status Code 200 OK
{
"success": true,
"data": 3561
}
Delete Estimate #
Description here
Request Method DELETE
API Endpoint /wp-json/ndpv/v1/invoices/{ESTIMATE_ID}
Query String Parameters
- ESTIMATE_ID
Response Status Code 200 OK
{
"success": true,
"data": [
"3561"
]
}