Download OpenAPI specification:Download
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 2,
- "uid": "607c40526b39d",
- "first_name": "john",
- "last_name": "doe",
- "email": "john@example.com",
- "email_verified_at": "2022-04-18 12:57:42",
- "telephone": null,
- "role": "admin",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2022-04-30T21:57:34.000000Z"
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 1,
- "uid": "625dc8e813986",
- "credit_note_date": "2022-04-18T00:00:00.000000Z",
- "formatted_credit_note_date": "2022 Apr 18",
- "credit_note_number": "CN-000001",
- "reference_number": null,
- "tax_per_item": true,
- "discount_per_item": true,
- "status": "DRAFT",
- "notes": null,
- "private_notes": null,
- "discount_type": "percent",
- "discount_val": 0,
- "sub_total": 1000,
- "total": 1000,
- "remaining_balance": 1000,
- "currency": "USD",
- "is_archived": false,
- "template_id": 1,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4026",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-04-18T20:24:08.000000Z",
- "updated_at": "2022-04-18T20:24:08.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 1,
- "total": 1
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| customer_id | integer integer, ID of the customer |
| credit_note_date | string date, Credit Note Date |
| credit_note_prefix | string string, Credit Note Number Prefix |
| credit_note_number | integer string, Credit Note Number |
| reference_number | integer string, Credit Note Reference Number (max: 6) |
| notes | string string, Public notes for Credit Note |
| private_notes | string string, Private notes for Credit Note |
| product[] | integer integer, IDs of the products |
| quantity[] | integer integer, Quantities of the products |
| price[] | integer integer, Prices (in cents. ex: 5.30 => 530) of the products |
| taxes[] | string integer, IDs of the tax types (required if tax per item enabled) |
| discount[] | string integer, Discount amounts for products (required if tax per item enabled) |
| total[] | integer integer, Total price after discount, and taxes (in cents. ex: 5.30 => 530) of the products |
| template_id | integer integer, Credit Note Template ID |
| sub_total | integer integer, Total before taxes and discounts (in cents. ex: 5.30 => 530) |
| total_taxes[] | integer integer, IDs of the tax types (required if tax per item disabled) |
| total_discount | integer integer, Discount amount for Credit Note Total (required if tax per item disabled) |
| grand_total | integer integer, Grand Total after taxes and discounts (in cents. ex: 5.30 => 530) |
{- "data": {
- "id": 2,
- "uid": "62759155223b5",
- "credit_note_date": "2022-05-06T00:00:00.000000Z",
- "formatted_credit_note_date": "2022 May 06",
- "credit_note_number": "CN-000002",
- "reference_number": "123456",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "remaining_balance": 1539,
- "currency": "USD",
- "is_archived": null,
- "template_id": "1",
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4026",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "created_at": "2022-05-06T21:21:25.000000Z",
- "updated_at": "2022-05-06T21:21:25.000000Z"
}, - "success": true,
- "message": "Credit Note Added"
}| id required | integer Example: 2 The ID of the credit note. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 2,
- "uid": "62759155223b5",
- "credit_note_date": "2022-05-06T00:00:00.000000Z",
- "formatted_credit_note_date": "2022 May 06",
- "credit_note_number": "CN-000002",
- "reference_number": "123456",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "remaining_balance": 1539,
- "currency": "USD",
- "is_archived": false,
- "template_id": 1,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4026",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-06T21:21:25.000000Z",
- "updated_at": "2022-05-06T21:21:25.000000Z"
}, - "success": true
}| id required | integer Example: 2 The ID of the credit note. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| customer_id | integer integer, ID of the customer |
| credit_note_date | string date, Credit Note Date |
| credit_note_prefix | string string, Credit Note Number Prefix |
| credit_note_number | integer string, Credit Note Number |
| reference_number | integer string, Credit Note Reference Number (max: 6) |
| notes | string string, Public notes for Credit Note |
| private_notes | string string, Private notes for Credit Note |
| product[] | integer integer, IDs of the products |
| quantity[] | integer integer, Quantities of the products |
| price[] | integer integer, Prices (in cents. ex: 5.30 => 530) of the products |
| taxes[] | string integer, IDs of the tax types (required if tax per item enabled) |
| discount[] | string integer, Discount amounts for products (required if tax per item enabled) |
| total[] | integer integer, Total price after discount, and taxes (in cents. ex: 5.30 => 530) of the products |
| template_id | integer integer, Credit Note Template ID |
| sub_total | integer integer, Total before taxes and discounts (in cents. ex: 5.30 => 530) |
| total_taxes[] | integer integer, IDs of the tax types (required if tax per item disabled) |
| total_discount | integer integer, Discount amount for Credit Note Total (required if tax per item disabled) |
| grand_total | integer integer, Grand Total after taxes and discounts (in cents. ex: 5.30 => 530) |
{- "data": {
- "id": 2,
- "uid": "62759155223b5",
- "credit_note_date": "2022-05-06T00:00:00.000000Z",
- "formatted_credit_note_date": "2022 May 06",
- "credit_note_number": "CN-000002",
- "reference_number": "123456",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "remaining_balance": 1539,
- "currency": "USD",
- "is_archived": false,
- "template_id": "1",
- "company": {
- "id": 2,
- "uid": "607c40526c9b8",
- "name": "Example Company",
- "owner_id": 2,
- "vat_number": null,
- "currency": "USD",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4026",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-06T21:21:25.000000Z",
- "updated_at": "2022-05-06T21:21:25.000000Z"
}, - "success": true,
- "message": "Credit Note Updated"
}| id required | integer Example: 7 The ID of the credit note. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "Credit Note Deleted"
}| id required | integer Example: 2 |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "An email was sent to Customer"
}| id required | integer Example: 2 The ID of the credit note. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| status | string string, New status of credit note. Possible Values: SENT, DRAFT |
{- "data": {
- "id": 2,
- "uid": "62759155223b5",
- "credit_note_date": "2022-05-06T00:00:00.000000Z",
- "formatted_credit_note_date": "2022 May 06",
- "credit_note_number": "CN-000002",
- "reference_number": "123456",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "remaining_balance": 1539,
- "currency": "USD",
- "is_archived": false,
- "template_id": 1,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4026",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-06T21:21:25.000000Z",
- "updated_at": "2022-05-07T07:01:00.000000Z"
}, - "success": true,
- "message": "Credit Note Status Updated"
}| credit_note_id required | integer Example: 2 integer, The ID of the credit note. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 1,
- "refund_date": "2022-05-07T00:00:00.000000Z",
- "formatted_refund_date": "2022 May 07",
- "amount": 100,
- "currency": "USD",
- "notes": "Lorem lipsum",
- "created_at": "2022-05-07T07:15:39.000000Z",
- "updated_at": "2022-05-07T07:15:39.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 1,
- "total": 1
}, - "success": true
}| credit_note required | integer Example: 2 integer, ID of the credit note |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| refund_date | string date, The date of the refund |
| payment_method_id | integer integer, ID of payment type |
| amount | integer integer, Prices (in cents. ex: 5.30 => 530) of the products |
| notes | string string, Note about the refund |
{- "data": {
- "id": 1,
- "refund_date": "2022-05-07T00:00:00.000000Z",
- "formatted_refund_date": "2022 May 07",
- "amount": 100,
- "currency": "USD",
- "notes": "Lorem lipsum",
- "created_at": "2022-05-07T07:15:39.000000Z",
- "updated_at": "2022-05-07T07:15:39.000000Z"
}, - "success": true,
- "message": "Refund Issued"
}| credit_note required | integer Example: 2 |
| refund required | integer Example: 2 |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "messages.refund_deleted"
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 1,
- "model_type": "App\\Models\\Product",
- "name": "Stok",
- "label": "Stok",
- "type": "Input",
- "placeholder": "Stok",
- "is_required": false,
- "default_answer": null,
- "options": null,
- "order": 0,
- "created_at": "2022-05-01T07:25:09.000000Z",
- "updated_at": "2022-05-01T07:25:09.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 1,
- "total": 1
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| name | string string, Custom Field Name |
| label | string string, Custom Field Label |
| model_type | string string, Type of model where custom field applies. Possible Values: Customer, Invoice, Estimate, Payment, Expense, Product, Vendor, CreditNote |
| order | integer integer, Order for displaying |
| type | string string, Possible Values: Input,TextArea,Phone,Url,Number,Dropdown,Switch,Date,Time,DateTime |
| is_required | integer boolean, To make the field required or not |
| placeholder | string string, Placeholder for input |
| options | string array, Options for 'Select' type (required if the type=Dropdown) |
| default_value | string mixed, Default value for the custom field |
{- "data": {
- "id": 5,
- "model_type": "App\\Models\\Product",
- "name": "Custom Field Name",
- "label": "Custom Field Label",
- "type": "Input",
- "placeholder": "placeholder",
- "is_required": true,
- "default_answer": null,
- "options": null,
- "order": 1,
- "created_at": "2022-05-07T08:05:41.000000Z",
- "updated_at": "2022-05-07T08:05:41.000000Z"
}, - "success": true,
- "message": "Custom Field Created"
}| id required | integer Example: 1 The ID of the custom field. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 1,
- "model_type": "App\\Models\\Product",
- "name": "Stok",
- "label": "Stok",
- "type": "Input",
- "placeholder": "Stok",
- "is_required": false,
- "default_answer": null,
- "options": null,
- "order": 0,
- "created_at": "2022-05-01T07:25:09.000000Z",
- "updated_at": "2022-05-01T07:25:09.000000Z"
}, - "success": true
}| id required | integer Example: 6 The ID of the custom field. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| name | string string, Custom Field Name |
| label | string string, Custom Field Label |
| model_type | string string, Type of model where custom field applies. Possible Values: Customer, Invoice, Estimate, Payment, Expense, Product, Vendor, CreditNote |
| order | integer integer, Order for displaying |
| type | string string, Possible Values: Input,TextArea,Phone,Url,Number,Dropdown,Switch,Date,Time,DateTime |
| is_required | integer boolean, To make the field required or not |
| placeholder | string string, Placeholder for input |
| options | string array, Options for 'Select' type (required if the type=Dropdown) |
| default_value | string mixed, Default value for the custom field |
{- "data": {
- "id": 6,
- "model_type": "App\\Models\\Product",
- "name": "Custom Field Name Updated",
- "label": "Custom Field Label Updated",
- "type": "Input",
- "placeholder": "placeholder",
- "is_required": true,
- "default_answer": null,
- "options": null,
- "order": 1,
- "created_at": "2022-05-07T08:06:57.000000Z",
- "updated_at": "2022-05-07T08:07:19.000000Z"
}, - "success": true,
- "message": "Custom Field Updated"
}| id required | integer Example: 5 The ID of the custom field. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "Custom Field Deleted"
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "customer@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4026",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 1,
- "total": 1
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| display_name | string string, Name of the customer |
| contact_name | string string, Name of the contact person |
string string, Email of the customer | |
| phone | integer string, Phone number of the customer |
| currency_id | integer integer, ID of the Currency |
| website | string string, Customer Website |
| vat_number | integer string, Customer VAT Number |
| password | string string, Customer Portal password (leave it blank to generate automatically) |
| billing[name] | string string, Billing address name |
| billing[phone] | integer string, Billing phone number |
| billing[country_id] | integer string, Billing Country ID |
| billing[state] | string string, Billing state |
| billing[city] | string string, Billing city |
| billing[zip] | integer string, Billing zip code |
| billing[address_1] | string string, Billing address |
| shipping[name] | string string, Shipping address name |
| shipping[phone] | integer string, Shipping phone number |
| shipping[country_id] | integer string, Shipping Country ID |
| shipping[state] | string string, Shipping state |
| shipping[city] | string string, Shipping city |
| shipping[zip] | integer string, Shipping zip code |
| shipping[address_1] | string string, Shipping address |
{- "data": {
- "id": 11,
- "uid": "62762d28e02bd",
- "display_name": "Example Customer",
- "contact_name": "John Doe",
- "email": "example@customer.com",
- "phone": "5555555555",
- "currency": "USD",
- "vat_number": "1234123123",
- "invoice_due_amount": 0,
- "created_at": "2022-05-07T08:26:16.000000Z",
- "updated_at": "2022-05-07T08:26:16.000000Z"
}, - "success": true,
- "message": "Customer Added"
}| id required | integer Example: 10 The ID of the customer. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 10,
- "uid": "62762a3f06129",
- "display_name": "Example Customer",
- "contact_name": "John Doe",
- "email": "examplee@customer.com",
- "phone": "5555555555",
- "currency": "USD",
- "vat_number": "1234123123",
- "invoice_due_amount": 0,
- "fields": [ ],
- "created_at": "2022-05-07T08:13:51.000000Z",
- "updated_at": "2022-05-07T08:13:51.000000Z"
}, - "success": true
}| id required | integer Example: 11 The ID of the customer. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| display_name | string string, Name of the customer |
| contact_name | string string, Name of the contact person |
string string, Email of the customer | |
| phone | integer string, Phone number of the customer |
| currency_id | integer integer, ID of the Currency |
| website | string string, Customer Website |
| vat_number | integer string, Customer VAT Number |
| password | string string, Customer Portal password (leave it blank to generate automatically) |
| billing[name] | string string, Billing address name |
| billing[phone] | integer string, Billing phone number |
| billing[country_id] | integer string, Billing Country ID |
| billing[state] | string string, Billing state |
| billing[city] | string string, Billing city |
| billing[zip] | integer string, Billing zip code |
| billing[address_1] | string string, Billing address |
| shipping[name] | string string, Shipping address name |
| shipping[phone] | integer string, Shipping phone number |
| shipping[country_id] | integer string, Shipping Country ID |
| shipping[state] | string string, Shipping state |
| shipping[city] | string string, Shipping city |
| shipping[zip] | integer string, Shipping zip code |
| shipping[address_1] | string string, Shipping address |
{- "data": {
- "id": 11,
- "uid": "62762d28e02bd",
- "display_name": "Example Customer Updated",
- "contact_name": "John Doe",
- "email": "example@customer.com",
- "phone": "5555555555",
- "currency": "USD",
- "vat_number": "1234123123",
- "invoice_due_amount": 0,
- "fields": [ ],
- "created_at": "2022-05-07T08:26:16.000000Z",
- "updated_at": "2022-05-07T08:28:56.000000Z"
}, - "success": true,
- "message": "Invoice Updated"
}| id required | integer Example: 10 The ID of the customer. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "Customer Deleted"
}| tab | string Example: tab=all string, Filter by status. Possbile Values: all,sent,draft (default:draft) |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 1,
- "uid": "625dcd38aa4c1",
- "estimate_date": "2022-04-18T00:00:00.000000Z",
- "formatted_estimate_date": "2022 Apr 18",
- "expiry_date": "2022-04-18T00:00:00.000000Z",
- "formatted_expiry_date": "2022 Apr 18",
- "estimate_number": "EST-000001",
- "reference_number": null,
- "tax_per_item": true,
- "discount_per_item": true,
- "status": "DRAFT",
- "notes": null,
- "private_notes": null,
- "discount_type": "percent",
- "discount_val": 0,
- "sub_total": 1000,
- "total": 1000,
- "currency": "USD",
- "is_archived": false,
- "template_id": 1,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4026",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-04-18T20:42:32.000000Z",
- "updated_at": "2022-04-18T20:42:32.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 1,
- "total": 1
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| customer_id | integer integer, ID of the customer |
| estimate_date | string date, Estimate date |
| expiry_date | string date, Expiry date |
| estimate_prefix | string string, Estimate number prefix |
| estimate_number | integer string, Estimate number |
| reference_number | integer string, Estimate reference (max:6) |
| notes | string string, Public notes for Estimate |
| private_notes | string string, Private notes for Estimate |
| product[] | integer integer, IDs of the products |
| quantity[] | integer integer, Quantities of the products |
| price[] | integer integer, Prices (in cents. ex: 5.30 => 530) of the products |
| taxes[] | string integer, IDs of the tax types (required if tax per item enabled) |
| discount[] | string integer, Discount amounts for products (required if tax per item enabled) |
| total[] | integer integer, Total price after discount, and taxes (in cents. ex: 5.30 => 530) of the products |
| template_id | integer integer, Estimate Template ID |
| sub_total | integer integer, Total before taxes and discounts (in cents. ex: 5.30 => 530) |
| total_taxes[] | integer integer, IDs of the tax types (required if tax per item disabled) |
| total_discount | integer integer, Discount amount for Estimate Total (required if tax per item disabled) |
| grand_total | integer integer, Grand Total after taxes and discounts (in cents. ex: 5.30 => 530) |
{- "data": {
- "id": 2,
- "uid": "6276483590f18",
- "estimate_date": "2022-05-06T00:00:00.000000Z",
- "formatted_estimate_date": "2022 May 06",
- "expiry_date": "2022-05-06T00:00:00.000000Z",
- "formatted_expiry_date": "2022 May 06",
- "estimate_number": "EST-000007",
- "reference_number": "123456",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "currency": "USD",
- "is_archived": null,
- "template_id": "1",
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4026",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "created_at": "2022-05-07T10:21:41.000000Z",
- "updated_at": "2022-05-07T10:21:41.000000Z"
}, - "success": true,
- "message": "Estimate Added"
}| id required | integer Example: 2 The ID of the estimate. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 2,
- "uid": "6276483590f18",
- "estimate_date": "2022-05-06T00:00:00.000000Z",
- "formatted_estimate_date": "2022 May 06",
- "expiry_date": "2022-05-06T00:00:00.000000Z",
- "formatted_expiry_date": "2022 May 06",
- "estimate_number": "EST-000007",
- "reference_number": "123456",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "currency": "USD",
- "is_archived": false,
- "template_id": 1,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4026",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T10:21:41.000000Z",
- "updated_at": "2022-05-07T10:21:41.000000Z"
}, - "success": true
}| id required | integer Example: 2 |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| customer_id | integer integer, ID of the customer |
| estimate_date | string date, Estimate date |
| expiry_date | string date, Expiry date |
| estimate_prefix | string string, Estimate number prefix |
| estimate_number | integer string, Estimate number |
| reference_number | integer string, Estimate reference (max:6) |
| notes | string string, Public notes for Credit Note |
| private_notes | string string, Private notes for Credit Note |
| product[] | integer integer, IDs of the products |
| quantity[] | integer integer, Quantities of the products |
| price[] | integer integer, Prices (in cents. ex: 5.30 => 530) of the products |
| taxes[] | string integer, IDs of the tax types (required if tax per item enabled) |
| discount[] | string integer, Discount amounts for products (required if tax per item enabled) |
| total[] | integer integer, Total price after discount, and taxes (in cents. ex: 5.30 => 530) of the products |
| template_id | integer integer, Estimate Template ID |
| sub_total | integer integer, Total before taxes and discounts (in cents. ex: 5.30 => 530) |
| total_taxes[] | integer integer, IDs of the tax types (required if tax per item disabled) |
| total_discount | integer integer, Discount amount for Estimate Total (required if tax per item disabled) |
| grand_total | integer integer, Grand Total after taxes and discounts (in cents. ex: 5.30 => 530) |
{- "data": {
- "id": 2,
- "uid": "6276483590f18",
- "estimate_date": "2022-05-06T00:00:00.000000Z",
- "formatted_estimate_date": "2022 May 06",
- "expiry_date": "2022-05-06T00:00:00.000000Z",
- "formatted_expiry_date": "2022 May 06",
- "estimate_number": "EST-000007",
- "reference_number": "123456",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "currency": "USD",
- "is_archived": false,
- "template_id": "1",
- "company": {
- "id": 2,
- "uid": "607c40526c9b8",
- "name": "Example Company",
- "owner_id": 2,
- "vat_number": null,
- "currency": "USD",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4026",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T10:21:41.000000Z",
- "updated_at": "2022-05-07T10:21:41.000000Z"
}, - "success": true,
- "message": "Estimate Updated"
}| id required | integer Example: 3 The ID of the estimate. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "Estimate Deleted"
}| id required | integer Example: 2 The ID of the estimate. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "An email was sent to Customer"
}| id required | integer Example: 2 The ID of the estimate. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| status | string string, Possible Values: sent,accepted,rejected,draft |
{- "data": {
- "id": 2,
- "uid": "6276483590f18",
- "estimate_date": "2022-05-06T00:00:00.000000Z",
- "formatted_estimate_date": "2022 May 06",
- "expiry_date": "2022-05-06T00:00:00.000000Z",
- "formatted_expiry_date": "2022 May 06",
- "estimate_number": "EST-000007",
- "reference_number": "123456",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "SENT",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "currency": "USD",
- "is_archived": false,
- "template_id": 1,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4026",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T10:21:41.000000Z",
- "updated_at": "2022-05-07T10:24:22.000000Z"
}, - "success": true,
- "message": "Estimate Status Updated"
}| id required | integer Example: 2 The ID of the estimate. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 8,
- "uid": "62764a7103c98",
- "invoice_date": "2022-05-07T00:00:00.000000Z",
- "formatted_invoice_date": "2022 May 07",
- "due_date": "2022-05-14T00:00:00.000000Z",
- "formatted_due_date": "2022 May 14",
- "invoice_number": "INV-000005",
- "reference_number": "EST-000007",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "paid_status": "UNPAID",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "due_amount": 1539,
- "currency": "USD",
- "is_archived": null,
- "template_id": null,
- "sent": null,
- "viewed": null,
- "is_recurring": null,
- "cycle": null,
- "next_recurring_at": null,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4565",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "created_at": "2022-05-07T10:31:13.000000Z",
- "updated_at": "2022-05-07T10:31:13.000000Z"
}, - "success": true,
- "message": "Invoice Added"
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 1,
- "expense_date": "2022-04-18T00:00:00.000000Z",
- "formatted_expense_date": "2022 Apr 18",
- "notes": null,
- "attachment_receipt": null,
- "is_recurring": 0,
- "cycle": -1,
- "next_recurring_at": null,
- "amount": 1000,
- "currency": "USD",
- "company": {
- "id": 2,
- "uid": "607c40526c9b8",
- "name": "Example Company",
- "owner_id": 2,
- "vat_number": null,
- "currency": "USD",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - "fields": [ ],
- "created_at": "2022-04-18T20:43:42.000000Z",
- "updated_at": "2022-04-18T20:43:42.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 1,
- "total": 1
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| expense_category_id | integer integer, Expense Category ID |
| vendor_id | string integer, Vendor ID |
| amount | integer integer, Expense Total (in cents. ex: 5.30 => 530) |
| expense_date | string date, Expense date |
| notes | string string, Note |
| is_recurring | integer boolean, Is recurring? Possible Values: 0,1 |
| cycle | integer integer, Recurring cycle (-1 for unlimited) |
{- "data": {
- "id": 2,
- "expense_date": "2022-05-06T00:00:00.000000Z",
- "formatted_expense_date": "2022 May 06",
- "notes": "Note",
- "attachment_receipt": null,
- "is_recurring": "0",
- "cycle": "0",
- "next_recurring_at": null,
- "amount": "1000",
- "currency": "USD",
- "company": {
- "id": 2,
- "uid": "607c40526c9b8",
- "name": "Example Company",
- "owner_id": 2,
- "vat_number": null,
- "currency": "USD",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - "created_at": "2022-05-07T10:47:13.000000Z",
- "updated_at": "2022-05-07T10:47:13.000000Z"
}, - "success": true,
- "message": "Expense Added"
}| id required | integer Example: 3 The ID of the expense. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 3,
- "expense_date": "2022-05-06T00:00:00.000000Z",
- "formatted_expense_date": "2022 May 06",
- "notes": "Note",
- "attachment_receipt": null,
- "is_recurring": 0,
- "cycle": 0,
- "next_recurring_at": null,
- "amount": 1000,
- "currency": "USD",
- "company": {
- "id": 2,
- "uid": "607c40526c9b8",
- "name": "Example Company",
- "owner_id": 2,
- "vat_number": null,
- "currency": "USD",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T10:58:28.000000Z",
- "updated_at": "2022-05-07T10:58:28.000000Z"
}, - "success": true
}| id required | integer Example: 3 The ID of the expense. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| expense_category_id | integer integer, Expense Category ID |
| vendor_id | string integer, Vendor ID |
| amount | integer integer, Expense Total (in cents. ex: 5.30 => 530) |
| expense_date | string date, Expense date |
| notes | string string, Note |
| is_recurring | integer boolean, Is recurring? Possible Values: 0,1 |
| cycle | integer integer, Recurring cycle (-1 for unlimited) |
{- "data": {
- "id": 3,
- "expense_date": "2022-05-06T00:00:00.000000Z",
- "formatted_expense_date": "2022 May 06",
- "notes": "Note Updated",
- "attachment_receipt": null,
- "is_recurring": "0",
- "cycle": "0",
- "next_recurring_at": null,
- "amount": "1000",
- "currency": "USD",
- "company": {
- "id": 2,
- "uid": "607c40526c9b8",
- "name": "Example Company",
- "owner_id": 2,
- "vat_number": null,
- "currency": "USD",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T10:58:28.000000Z",
- "updated_at": "2022-05-07T11:45:48.000000Z"
}, - "success": true,
- "message": "Expense Updated"
}| id required | integer Example: 3 The ID of the expense. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "Expense Deleted"
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 2,
- "name": "Other",
- "description": "",
- "total_amount": "1000",
- "amount_last_month": "1000",
- "currency": "USD",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 1,
- "total": 1
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| name | string string, Category name |
| description | string string, Category description |
{- "data": {
- "id": 85,
- "name": "Example Category",
- "description": "Example description",
- "total_amount": 0,
- "amount_last_month": 0,
- "currency": "USD",
- "created_at": "2022-05-07T12:10:40.000000Z",
- "updated_at": "2022-05-07T12:10:40.000000Z"
}, - "success": true,
- "message": "Expense Category Added"
}| id required | integer Example: 85 The ID of the expense category. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 85,
- "name": "Example Category",
- "description": "Example description",
- "total_amount": 0,
- "amount_last_month": 0,
- "currency": "USD",
- "created_at": "2022-05-07T12:10:40.000000Z",
- "updated_at": "2022-05-07T12:10:40.000000Z"
}, - "success": true
}| id required | integer Example: 85 The ID of the expense category. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| name | string string, Category name |
| description | string string, Category description |
{- "data": {
- "id": 85,
- "name": "Example Category",
- "description": "Example description",
- "total_amount": 0,
- "amount_last_month": 0,
- "currency": "USD",
- "created_at": "2022-05-07T12:10:40.000000Z",
- "updated_at": "2022-05-07T12:10:40.000000Z"
}, - "success": true,
- "message": "Expense Category Updated"
}| id required | integer Example: 85 The ID of the expense category. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "Expense Category Deleted"
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 8,
- "uid": "62764a7103c98",
- "invoice_date": "2022-05-07T00:00:00.000000Z",
- "formatted_invoice_date": "2022 May 07",
- "due_date": "2022-05-14T00:00:00.000000Z",
- "formatted_due_date": "2022 May 14",
- "invoice_number": "INV-000005",
- "reference_number": "EST-000007",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "paid_status": "UNPAID",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "due_amount": 1539,
- "currency": "USD",
- "is_archived": false,
- "template_id": null,
- "sent": 0,
- "viewed": 0,
- "is_recurring": 0,
- "cycle": null,
- "next_recurring_at": null,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4565",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T10:31:13.000000Z",
- "updated_at": "2022-05-07T10:31:13.000000Z"
}, - {
- "id": 5,
- "uid": "60e69b1cab0de",
- "invoice_date": "2021-07-08T00:00:00.000000Z",
- "formatted_invoice_date": "2021 Jul 08",
- "due_date": "2021-07-08T00:00:00.000000Z",
- "formatted_due_date": "2021 Jul 08",
- "invoice_number": "INV-000004",
- "reference_number": null,
- "tax_per_item": true,
- "discount_per_item": true,
- "status": "DRAFT",
- "paid_status": "UNPAID",
- "notes": null,
- "private_notes": null,
- "discount_type": "percent",
- "discount_val": 0,
- "sub_total": 1026,
- "total": 1026,
- "due_amount": 1026,
- "currency": "USD",
- "is_archived": false,
- "template_id": 2,
- "sent": 0,
- "viewed": 0,
- "is_recurring": 0,
- "cycle": -1,
- "next_recurring_at": null,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4565",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2021-07-08T06:28:44.000000Z",
- "updated_at": "2022-04-24T05:40:13.000000Z"
}, - {
- "id": 4,
- "uid": "60bcbc88907d1",
- "invoice_date": "2021-06-06T00:00:00.000000Z",
- "formatted_invoice_date": "2021 Jun 06",
- "due_date": "2021-06-06T00:00:00.000000Z",
- "formatted_due_date": "2021 Jun 06",
- "invoice_number": "INV-000003",
- "reference_number": null,
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "paid_status": "UNPAID",
- "notes": null,
- "private_notes": null,
- "discount_type": "percent",
- "discount_val": 0,
- "sub_total": 1000,
- "total": 1000,
- "due_amount": 1000,
- "currency": "USD",
- "is_archived": false,
- "template_id": null,
- "sent": 0,
- "viewed": 0,
- "is_recurring": 0,
- "cycle": -1,
- "next_recurring_at": null,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4565",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2021-06-06T12:16:08.000000Z",
- "updated_at": "2021-06-06T12:16:08.000000Z"
}, - {
- "id": 2,
- "uid": "607c40d5cbcba",
- "invoice_date": "2021-04-18T00:00:00.000000Z",
- "formatted_invoice_date": "2021 Apr 18",
- "due_date": "2021-04-18T00:00:00.000000Z",
- "formatted_due_date": "2021 Apr 18",
- "invoice_number": "INV-000002",
- "reference_number": null,
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "paid_status": "UNPAID",
- "notes": null,
- "private_notes": null,
- "discount_type": "percent",
- "discount_val": 0,
- "sub_total": 1000,
- "total": 1000,
- "due_amount": 1000,
- "currency": "USD",
- "is_archived": false,
- "template_id": null,
- "sent": 0,
- "viewed": 0,
- "is_recurring": 0,
- "cycle": -1,
- "next_recurring_at": null,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4565",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2021-04-18T14:23:17.000000Z",
- "updated_at": "2021-04-18T14:23:17.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 4,
- "total": 4
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| customer_id | integer integer, ID of the customer |
| invoice_date | string date, Invoice date |
| due_date | string date, Due date |
| invoice_prefix | string string, Invoice number prefix |
| invoice_number | integer string, Invoice number |
| reference_number | integer string, Invoice reference (max:6) |
| notes | string string, Public notes for Invoice |
| private_notes | string string, Private notes for Invoice |
| product[] | integer integer, IDs of the products |
| quantity[] | integer integer, Quantities of the products |
| price[] | integer integer, Prices (in cents. ex: 5.30 => 530) of the products |
| taxes[] | string integer, IDs of the tax types (required if tax per item enabled) |
| discount[] | string integer, Discount amounts for products (required if tax per item enabled) |
| total[] | integer integer, Total price after discount, and taxes (in cents. ex: 5.30 => 530) of the products |
| template_id | integer integer, Invoice Template ID |
| sub_total | integer integer, Total before taxes and discounts (in cents. ex: 5.30 => 530) |
| total_taxes[] | integer integer, IDs of the tax types (required if tax per item disabled) |
| total_discount | integer integer, Discount amount for Estimate Total (required if tax per item disabled) |
| grand_total | integer integer, Grand Total after taxes and discounts (in cents. ex: 5.30 => 530) |
| is_recurring | integer boolean, Is recurring? Possible Values: 0,1 |
| cycle | integer integer, Recurring cycle (-1 for unlimited) |
{- "data": {
- "id": 9,
- "uid": "627668cd5d9de",
- "invoice_date": "2022-05-06T00:00:00.000000Z",
- "formatted_invoice_date": "2022 May 06",
- "due_date": "2022-05-06T00:00:00.000000Z",
- "formatted_due_date": "2022 May 06",
- "invoice_number": "INV-000008",
- "reference_number": "123456",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "paid_status": "UNPAID",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "due_amount": "1539",
- "currency": "USD",
- "is_archived": null,
- "template_id": "1",
- "sent": null,
- "viewed": null,
- "is_recurring": 0,
- "cycle": 0,
- "next_recurring_at": null,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4565",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "created_at": "2022-05-07T12:40:45.000000Z",
- "updated_at": "2022-05-07T12:40:45.000000Z"
}, - "success": true,
- "message": "Invoice Added"
}| id required | integer Example: 9 The ID of the invoice. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 9,
- "uid": "627668cd5d9de",
- "invoice_date": "2022-05-06T00:00:00.000000Z",
- "formatted_invoice_date": "2022 May 06",
- "due_date": "2022-05-06T00:00:00.000000Z",
- "formatted_due_date": "2022 May 06",
- "invoice_number": "INV-000008",
- "reference_number": "123456",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "paid_status": "UNPAID",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "due_amount": 1539,
- "currency": "USD",
- "is_archived": false,
- "template_id": 1,
- "sent": 0,
- "viewed": 0,
- "is_recurring": 0,
- "cycle": 0,
- "next_recurring_at": null,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4565",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T12:40:45.000000Z",
- "updated_at": "2022-05-07T12:40:45.000000Z"
}, - "success": true
}| id required | integer Example: 9 The ID of the invoice. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| customer_id | integer integer, ID of the customer |
| invoice_date | string date, Invoice date |
| due_date | string date, Due date |
| invoice_prefix | string string, Invoice number prefix |
| invoice_number | integer string, Invoice number |
| reference_number | integer string, Invoice reference (max:6) |
| notes | string string, Public notes for Invoice |
| private_notes | string string, Private notes for Invoice |
| product[] | integer integer, IDs of the products |
| quantity[] | integer integer, Quantities of the products |
| price[] | integer integer, Prices (in cents. ex: 5.30 => 530) of the products |
| taxes[] | string integer, IDs of the tax types (required if tax per item enabled) |
| discount[] | string integer, Discount amounts for products (required if tax per item enabled) |
| total[] | integer integer, Total price after discount, and taxes (in cents. ex: 5.30 => 530) of the products |
| template_id | integer integer, Invoice Template ID |
| sub_total | integer integer, Total before taxes and discounts (in cents. ex: 5.30 => 530) |
| total_taxes[] | integer integer, IDs of the tax types (required if tax per item disabled) |
| total_discount | integer integer, Discount amount for Estimate Total (required if tax per item disabled) |
| grand_total | integer integer, Grand Total after taxes and discounts (in cents. ex: 5.30 => 530) |
| is_recurring | integer boolean, Is recurring? Possible Values: 0,1 |
| cycle | integer integer, Recurring cycle (-1 for unlimited) |
{- "data": {
- "id": 9,
- "uid": "627668cd5d9de",
- "invoice_date": "2022-05-06T00:00:00.000000Z",
- "formatted_invoice_date": "2022 May 06",
- "due_date": "2022-05-06T00:00:00.000000Z",
- "formatted_due_date": "2022 May 06",
- "invoice_number": "INV-000008",
- "reference_number": "123456",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "DRAFT",
- "paid_status": "UNPAID",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "due_amount": 1539,
- "currency": "USD",
- "is_archived": false,
- "template_id": "1",
- "sent": 0,
- "viewed": 0,
- "is_recurring": 0,
- "cycle": 0,
- "next_recurring_at": null,
- "company": {
- "id": 2,
- "uid": "607c40526c9b8",
- "name": "Example Company",
- "owner_id": 2,
- "vat_number": null,
- "currency": "USD",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4565",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T12:40:45.000000Z",
- "updated_at": "2022-05-07T12:40:45.000000Z"
}, - "success": true,
- "message": "Invoice Updated"
}| id required | integer Example: 8 The ID of the invoice. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "Invoice Deleted"
}| invoice required | integer Example: 9 |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "An email was sent to Customer"
}| invoice required | integer Example: 9 |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| status | string Possible Values: sent,paid,unpaid |
{- "data": {
- "id": 9,
- "uid": "627668cd5d9de",
- "invoice_date": "2022-05-06T00:00:00.000000Z",
- "formatted_invoice_date": "2022 May 06",
- "due_date": "2022-05-06T00:00:00.000000Z",
- "formatted_due_date": "2022 May 06",
- "invoice_number": "INV-000008",
- "reference_number": "123456",
- "tax_per_item": false,
- "discount_per_item": false,
- "status": "SENT",
- "paid_status": "UNPAID",
- "notes": "Public notes",
- "private_notes": "Private notes",
- "discount_type": "percent",
- "discount_val": 5,
- "sub_total": 1500,
- "total": 1539,
- "due_amount": 1539,
- "currency": "USD",
- "is_archived": false,
- "template_id": 1,
- "sent": true,
- "viewed": 0,
- "is_recurring": 0,
- "cycle": 0,
- "next_recurring_at": null,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4565",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T12:40:45.000000Z",
- "updated_at": "2022-05-07T12:46:41.000000Z"
}, - "success": true,
- "message": "Invoice Status Updated"
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 1,
- "invoice_id": 1,
- "credit_note_id": null,
- "transaction_reference": null,
- "payment_date": "2021-06-06T00:00:00.000000Z",
- "formatted_payment_date": "2021 Jun 06",
- "payment_number": "PAY-000001",
- "amount": 1000,
- "currency": "USD",
- "notes": "test notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest notetest note",
- "private_notes": null,
- "is_archived": false,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4565",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2021-06-06T12:43:16.000000Z",
- "updated_at": "2021-06-06T12:47:45.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 1,
- "total": 1
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| payment_prefix | string string, Payment number prefix |
| payment_number | integer string, Payment number |
| payment_date | string string, Payment date |
| customer_id | integer integer, ID of customer |
| credit_note_id | integer integer, ID of credit note |
| invoice_id | integer integer, ID of invoice |
| payment_method_id | integer integer, ID of payment method |
| amount | integer integer, Payment amount (in cents. ex: 5.30 => 530) |
| notes | string string, Public note |
| private_notes | string string, Private note |
{- "data": {
- "id": 3,
- "invoice_id": "5",
- "credit_note_id": null,
- "transaction_reference": null,
- "payment_date": "2022-05-06T00:00:00.000000Z",
- "formatted_payment_date": "2022 May 06",
- "payment_number": "PAY-000022",
- "amount": "100",
- "currency": "USD",
- "notes": "Public note",
- "private_notes": "Private note",
- "is_archived": null,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4365",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "created_at": "2022-05-07T13:12:41.000000Z",
- "updated_at": "2022-05-07T13:12:41.000000Z"
}, - "success": true,
- "message": "Payment Added"
}| id required | integer Example: 3 The ID of the payment. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 3,
- "invoice_id": 5,
- "credit_note_id": null,
- "transaction_reference": null,
- "payment_date": "2022-05-06T00:00:00.000000Z",
- "formatted_payment_date": "2022 May 06",
- "payment_number": "PAY-000022",
- "amount": 100,
- "currency": "USD",
- "notes": "Public note",
- "private_notes": "Private note",
- "is_archived": false,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4365",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T13:12:41.000000Z",
- "updated_at": "2022-05-07T13:12:41.000000Z"
}, - "success": true
}| id required | integer Example: 3 The ID of the payment. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| payment_prefix | string string, Payment number prefix |
| payment_number | integer string, Payment number |
| payment_date | string string, Payment date |
| customer_id | integer integer, ID of customer |
| credit_note_id | integer integer, ID of credit note |
| invoice_id | integer integer, ID of invoice |
| payment_method_id | integer integer, ID of payment method |
| amount | integer integer, Payment amount (in cents. ex: 5.30 => 530) |
| notes | string string, Public note |
| private_notes | string string, Private note |
{- "data": {
- "id": 3,
- "invoice_id": "5",
- "credit_note_id": null,
- "transaction_reference": null,
- "payment_date": "2022-05-06T00:00:00.000000Z",
- "formatted_payment_date": "2022 May 06",
- "payment_number": "PAY-000022",
- "amount": "100",
- "currency": "USD",
- "notes": "Public note",
- "private_notes": "Private note",
- "is_archived": false,
- "customer": {
- "id": 1,
- "uid": "607c40afecec2",
- "display_name": "test",
- "contact_name": "test",
- "email": "john@example.com",
- "phone": "test",
- "website": null,
- "currency": "USD",
- "vat_number": null,
- "invoice_due_amount": "4365",
- "fields": [ ],
- "created_at": "2021-04-18T14:22:39.000000Z",
- "updated_at": "2022-04-19T13:18:42.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T13:12:41.000000Z",
- "updated_at": "2022-05-07T13:12:41.000000Z"
}, - "success": true,
- "message": "Payment Updated"
}| id required | integer Example: 4 The ID of the payment. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "Payment Deleted"
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 8,
- "name": "Stripe",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - {
- "id": 9,
- "name": "Razorpay",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - {
- "id": 10,
- "name": "Paypal",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 3,
- "total": 3
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| name | string string, Payment type name |
{- "data": {
- "id": 257,
- "name": "ACH Transfer",
- "created_at": "2022-05-07T13:36:24.000000Z",
- "updated_at": "2022-05-07T13:36:24.000000Z"
}, - "success": true,
- "message": "Payment Type Added"
}| id required | integer Example: 257 The ID of the payment type. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 257,
- "name": "ACH Transfer",
- "created_at": "2022-05-07T13:36:24.000000Z",
- "updated_at": "2022-05-07T13:36:24.000000Z"
}, - "success": true
}| id required | integer Example: 257 The ID of the payment type. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| name | string string, Payment type name |
{- "data": {
- "id": 257,
- "name": "ACH Transfer",
- "created_at": "2022-05-07T13:36:24.000000Z",
- "updated_at": "2022-05-07T13:36:24.000000Z"
}, - "success": true,
- "message": "Payment Type Updated"
}| id required | integer Example: 257 The ID of the payment type. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "Payment Type Deleted"
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 1,
- "name": "test",
- "description": null,
- "price": 1000,
- "currency": "USD",
- "company": {
- "id": 2,
- "uid": "607c40526c9b8",
- "name": "Example Company",
- "owner_id": 2,
- "vat_number": null,
- "currency": "USD",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - "fields": [ ],
- "created_at": "2021-04-18T14:22:52.000000Z",
- "updated_at": "2021-04-18T14:22:52.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 1,
- "total": 1
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| name | string string, Product name |
| description | string string, Product description |
| payment_method_id | integer integer, Payment type ID |
| price | integer integer, Price (in cents) |
{- "data": {
- "id": 4,
- "name": "Product name",
- "description": "Example description",
- "price": 1000,
- "currency": "USD",
- "company": {
- "id": 2,
- "uid": "607c40526c9b8",
- "name": "Example Company",
- "owner_id": 2,
- "vat_number": null,
- "currency": "USD",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - "created_at": "2022-05-07T14:36:40.000000Z",
- "updated_at": "2022-05-07T14:36:40.000000Z"
}, - "success": true,
- "message": "Product Added"
}| id required | integer Example: 4 The ID of the product. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 4,
- "name": "Product name",
- "description": "Example description",
- "price": 1000,
- "currency": "USD",
- "company": {
- "id": 2,
- "uid": "607c40526c9b8",
- "name": "Example Company",
- "owner_id": 2,
- "vat_number": null,
- "currency": "USD",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T14:36:40.000000Z",
- "updated_at": "2022-05-07T14:36:40.000000Z"
}, - "success": true
}| id required | integer Example: 4 The ID of the product. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| name | string string, Product name |
| description | string string, Product description |
| payment_method_id | integer integer, Payment type ID |
| price | integer integer, Price (in cents) |
{- "data": {
- "id": 4,
- "name": "Product name updated",
- "description": "Example description",
- "price": 1000,
- "currency": "USD",
- "company": {
- "id": 2,
- "uid": "607c40526c9b8",
- "name": "Example Company",
- "owner_id": 2,
- "vat_number": null,
- "currency": "USD",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}, - "fields": [ ],
- "created_at": "2022-05-07T14:36:40.000000Z",
- "updated_at": "2022-05-07T14:38:04.000000Z"
}, - "success": true,
- "message": "Product Updated"
}| id required | integer Example: 4 The ID of the product. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "Product Deleted"
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 2,
- "name": "Inch",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 1,
- "total": 1
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| name | string string, Product Unit name |
{- "data": {
- "id": 85,
- "name": "Example Unit",
- "created_at": "2022-05-07T14:40:53.000000Z",
- "updated_at": "2022-05-07T14:40:53.000000Z"
}, - "success": true,
- "message": "Product Unit Added"
}| id required | integer Example: 85 The ID of the product unit. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 85,
- "name": "Example Unit",
- "created_at": "2022-05-07T14:40:53.000000Z",
- "updated_at": "2022-05-07T14:40:53.000000Z"
}, - "success": true
}| id required | integer Example: 85 The ID of the product unit. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| name | string |
{- "data": {
- "id": 85,
- "name": "Updated Product Unit Name",
- "created_at": "2022-05-07T14:40:53.000000Z",
- "updated_at": "2022-05-07T14:41:42.000000Z"
}, - "success": true,
- "message": "Product Unit Updated"
}| id required | integer Example: 85 The ID of the product. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "Product Unit Deleted"
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 85,
- "name": "Example Tax",
- "percent": 6,
- "description": "Example description",
- "created_at": "2022-05-07T14:46:27.000000Z",
- "updated_at": "2022-05-07T14:46:27.000000Z"
}, - {
- "id": 2,
- "name": "Example Tax",
- "percent": 8,
- "description": "",
- "created_at": "2021-04-18T14:21:06.000000Z",
- "updated_at": "2021-04-18T14:21:06.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 2,
- "total": 2
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| name | string string, Tax name |
| percent | integer integer, Tax percentage |
| description | string string, Tax description |
{- "data": {
- "id": 86,
- "name": "Example Tax",
- "percent": 6,
- "description": "Example description",
- "created_at": "2022-05-07T14:47:22.000000Z",
- "updated_at": "2022-05-07T14:47:22.000000Z"
}, - "success": true,
- "message": "Tax Type Added"
}| id required | integer Example: 86 The ID of the tax type. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 86,
- "name": "Example Tax",
- "percent": 6,
- "description": "Example description",
- "created_at": "2022-05-07T14:47:22.000000Z",
- "updated_at": "2022-05-07T14:47:22.000000Z"
}, - "success": true
}| id required | integer Example: 86 The ID of the tax type. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| name | string string, Tax name |
| percent | integer integer, Tax percentage |
| description | string string, Tax description |
{- "data": {
- "id": 86,
- "name": "Example Tax updated",
- "percent": 6,
- "description": "Example description",
- "created_at": "2022-05-07T14:47:22.000000Z",
- "updated_at": "2022-05-07T14:48:35.000000Z"
}, - "success": true,
- "message": ""
}| id required | integer Example: 85 The ID of the tax type. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": ""
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [
- {
- "id": 1,
- "display_name": "deneme",
- "contact_name": "test",
- "email": "user@example.com",
- "phone": null,
- "website": null,
- "fields": [ ],
- "created_at": "2022-04-18T20:53:34.000000Z",
- "updated_at": "2022-04-18T20:53:34.000000Z"
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": 15,
- "to": 1,
- "total": 1
}, - "success": true
}| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| display_name | string string, Name of the vendor |
| contact_name | string string, Name of the contact person |
string string, Email of the vendor | |
| phone | integer string, Phone number of the vendor |
| website | string string, Vendor Website |
| billing[name] | string string, Billing address name |
| billing[phone] | integer string, Billing phone number |
| billing[country_id] | integer string, Billing Country ID |
| billing[state] | string string, Billing state |
| billing[city] | string string, Billing city |
| billing[zip] | integer string, Billing zip code |
| billing[address_1] | string string, Billing address |
{- "data": {
- "id": 2,
- "display_name": "Example vendor",
- "contact_name": "John Doe",
- "email": "example@vendor.com",
- "phone": "5555555555",
- "created_at": "2022-05-07T14:56:12.000000Z",
- "updated_at": "2022-05-07T14:56:12.000000Z"
}, - "success": true,
- "message": "Vendor Added"
}| id required | integer Example: 2 The ID of the vendor. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": {
- "id": 2,
- "display_name": "Example vendor",
- "contact_name": "John Doe",
- "email": "example@vendor.com",
- "phone": "5555555555",
- "fields": [ ],
- "created_at": "2022-05-07T14:56:12.000000Z",
- "updated_at": "2022-05-07T14:56:12.000000Z"
}, - "success": true
}| id required | integer Example: 2 The ID of the vendor. |
| _method | string Example: _method=PUT |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
| display_name | string string, Name of the vendor |
| contact_name | string string, Name of the contact person |
string string, Email of the vendor | |
| phone | integer string, Phone number of the vendor |
| website | string string, Vendor Website |
| billing[name] | string string, Billing address name |
| billing[country_id] | integer string, Billing Country ID |
| billing[state] | string string, Billing state |
| billing[city] | string string, Billing city |
| billing[phone] | integer string, Billing phone number |
| billing[zip] | integer string, Billing zip code |
| billing[address_1] | string string, Billing address |
{- "data": {
- "id": 2,
- "display_name": "Example vendor",
- "contact_name": "John Doe",
- "email": "example@vendor.com",
- "phone": "5555555555",
- "fields": [ ],
- "created_at": "2022-05-07T14:56:12.000000Z",
- "updated_at": "2022-05-07T14:56:12.000000Z"
}, - "success": true,
- "message": "Vendor Updated"
}| id required | integer Example: 2 The ID of the vendor. |
| Content-Type | string Example: application/json |
| Accept | string Example: application/json |
{- "data": [ ],
- "success": true,
- "message": "Vendor Deleted"
}