Monitor API availability and service status. Use these endpoints to verify connectivity and check if the API is operational.
API References
//
Create SalesOrder record
DualEntry Public API (1.0.0)
Download OpenAPI description
Languages
Servers
Production environment
https://api.dualentry.io/
Development environment (for testing)
https://api-dev.dualentry.io/
- Production environmenthttps://api.dualentry.io/public/v1/sales-orders/
- Development environment (for testing)https://api-dev.dualentry.io/public/v1/sales-orders/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.dualentry.io/public/v1/sales-orders/?search=string&company_id=0&number=0&customer_id=0&start_date=2019-08-24&end_date=2019-08-24&record_status=draft&invoiced_status=invoiced&limit=100&offset=0'OK
Enum"invoiced""uninvoiced""partially_invoiced"
Enum"AED""AFN""ALL""AMD""ANG""AOA""ARS""AUD""AWG""AZN"
Any of:
number(Exchange Rate)
Total amount of ordered items
Any of:
Total amount of ordered items
number(Amount)
Total quantity of items that were already invoiced
Any of:
Total quantity of items that were already invoiced
number(Invoiced Total)
Total quantity of items yet to be invoiced
Any of:
Total quantity of items yet to be invoiced
number(Due Total)
Response
application/json
{ "items": [ { … } ], "count": 0 }
Bodyapplication/jsonrequired
Enum"AED""AFN""ALL""AMD""ANG""AOA""ARS""AUD""AWG""AZN"
Any of:
number(Exchange Rate)
- Production environmenthttps://api.dualentry.io/public/v1/sales-orders/
- Development environment (for testing)https://api-dev.dualentry.io/public/v1/sales-orders/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.dualentry.io/public/v1/sales-orders/ \
-H 'Content-Type: application/json' \
-d '{
"bill_to_address": "",
"ship_to_address": "",
"custom_fields": [
{}
],
"items": [
{
"id": 0,
"item_id": 0,
"quantity": 0,
"rate": 0,
"position": 0,
"memo": "string",
"classifications": [],
"tax": {
"code": "string",
"rate": 0,
"amount": 0,
"is_taxable": true,
"tax_exempt_amount": 0
}
}
],
"memo": "string",
"date": "2019-08-24",
"company_id": 0,
"customer_id": 0,
"currency_iso_4217_code": "AED",
"billing_address": {
"street": "string",
"city": "string",
"state": "string",
"postal_code": "string",
"country": "",
"second_line": ""
},
"shipping_address": {
"street": "string",
"city": "string",
"state": "string",
"postal_code": "string",
"country": "",
"second_line": ""
},
"exchange_rate": 0,
"record_status": "posted",
"attachments": [],
"term_id": 0,
"reference_number": ""
}'OK
Enum"invoiced""uninvoiced""partially_invoiced"
Enum"AED""AFN""ALL""AMD""ANG""AOA""ARS""AUD""AWG""AZN"
Any of:
number(Exchange Rate)
Total amount of ordered items
Any of:
Total amount of ordered items
number(Amount)
Total quantity of items that were already invoiced
Any of:
Total quantity of items that were already invoiced
number(Invoiced Total)
Total quantity of items yet to be invoiced
Any of:
Total quantity of items yet to be invoiced
number(Due Total)
Response
application/json
{ "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "custom_fields": [], "invoiced_status": "invoiced", "attachments": [], "term_id": 0, "term_name": "string", "created_by": { "actor_type": "string", "email": "string", "first_name": "string", "last_name": "string", "timestamp": "2019-08-24T14:15:22Z" }, "updated_by": { "actor_type": "string", "email": "string", "first_name": "string", "last_name": "string", "timestamp": "2019-08-24T14:15:22Z" }, "internal_id": 0, "number": 0, "items": [ { … } ], "company_id": 0, "company_name": "string", "company_currency": "string", "customer_id": 0, "customer_name": "string", "currency_iso_4217_code": "AED", "exchange_rate": 0, "amount": 0, "invoiced_total": 0, "due_total": 0, "memo": "string", "date": "2019-08-24", "bill_to_address": "string", "ship_to_address": "string", "billing_address": { "street": "string", "city": "string", "state": "string", "postal_code": "string", "country": "", "second_line": "" }, "shipping_address": { "street": "string", "city": "string", "state": "string", "postal_code": "string", "country": "", "second_line": "" }, "record_status": "draft", "recurring_record_number": 0, "reference_number": "string" }
- Production environmenthttps://api.dualentry.io/public/v1/sales-orders/{record_number}/
- Development environment (for testing)https://api-dev.dualentry.io/public/v1/sales-orders/{record_number}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.dualentry.io/public/v1/sales-orders/{record_number}/?search=string&company_id=0&number=0&customer_id=0&start_date=2019-08-24&end_date=2019-08-24&record_status=draft&invoiced_status=invoiced'OK
Enum"invoiced""uninvoiced""partially_invoiced"
Enum"AED""AFN""ALL""AMD""ANG""AOA""ARS""AUD""AWG""AZN"
Any of:
number(Exchange Rate)
Total amount of ordered items
Any of:
Total amount of ordered items
number(Amount)
Total quantity of items that were already invoiced
Any of:
Total quantity of items that were already invoiced
number(Invoiced Total)
Total quantity of items yet to be invoiced
Any of:
Total quantity of items yet to be invoiced
number(Due Total)
Response
application/json
{ "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "custom_fields": [], "invoiced_status": "invoiced", "attachments": [], "term_id": 0, "term_name": "string", "created_by": { "actor_type": "string", "email": "string", "first_name": "string", "last_name": "string", "timestamp": "2019-08-24T14:15:22Z" }, "updated_by": { "actor_type": "string", "email": "string", "first_name": "string", "last_name": "string", "timestamp": "2019-08-24T14:15:22Z" }, "internal_id": 0, "number": 0, "items": [ { … } ], "company_id": 0, "company_name": "string", "company_currency": "string", "customer_id": 0, "customer_name": "string", "currency_iso_4217_code": "AED", "exchange_rate": 0, "amount": 0, "invoiced_total": 0, "due_total": 0, "memo": "string", "date": "2019-08-24", "bill_to_address": "string", "ship_to_address": "string", "billing_address": { "street": "string", "city": "string", "state": "string", "postal_code": "string", "country": "", "second_line": "" }, "shipping_address": { "street": "string", "city": "string", "state": "string", "postal_code": "string", "country": "", "second_line": "" }, "record_status": "draft", "recurring_record_number": 0, "reference_number": "string" }