Invoice Falcon API
v1.0.0Contact: support@invoicefalcon.com
https://app.invoicefalcon.com/api/v1/externalProductionAPI for managing invoices, templates, customers, and settings for your Shopify store.
All endpoints require authentication via the X-Auth-Token header. Generate your API key in the Invoice Falcon app under Settings > Integrations.
Authentication
ApiKeyAuthapiKeyYour store's API key. Generate it under Settings > Integrations.
API Key: X-Auth-Token in header
Invoices
List, create, search, and manage invoices.
List invoices
Retrieve a paginated list of invoices. Supports filtering by document type, financial status, and date range.
Parameters
invoice_typestringinvoicequotepro_formainvoicequeryFilter by document type.
financial_statusstringpaidpendingpartially_paidpartially_refundedrefundedvoidedauthorizedqueryFilter by payment status.
created_at_minstring<date>queryFilter invoices created on or after this date (YYYY-MM-DD).
created_at_maxstring<date>queryFilter invoices created on or before this date (YYYY-MM-DD).
pageinteger>= 11queryPage number.
per_pageinteger[1, 250]25queryItems per page (max 250).
Response
A paginated list of invoices.
Missing or invalid API key.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X GET 'https://app.invoicefalcon.com/api/v1/external/invoices'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/invoices', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('https://app.invoicefalcon.com/api/v1/external/invoices')
data = response.json(){
"invoices": [
{
"id": 0,
"slug": "string",
"number": "string",
"invoice_type": "invoice",
"total_price": "string",
"currency": "string",
"financial_status": "string",
"order_name": "string",
"customer_name": "string",
"customer_email": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
],
"meta": {
"total": 0,
"page": 0,
"per_page": 0,
"total_pages": 0
}
}{
"error": "Invalid API key"
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Create an invoice
Create (or retrieve) an invoice from a Shopify order ID. If the invoice already exists, it is returned. Optionally generates the PDF immediately.
Body
order_idintegerrequiredShopify order or draft order ID.
draftbooleanfalseSet true for draft orders (quotes/pro-formas).
generate_pdfbooleantrueWhether to generate the PDF immediately.
template_idintegerOptional template ID for PDF generation.
Response
Invoice created.
Missing or invalid API key.
Request could not be processed.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X POST 'https://app.invoicefalcon.com/api/v1/external/invoices' \
-H 'Content-Type: application/json' \
-d '{
"order_id": 0,
"draft": false,
"generate_pdf": true,
"template_id": 0
}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/invoices', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"order_id": 0,
"draft": false,
"generate_pdf": true,
"template_id": 0
}),
});
const data = await response.json();import requests
payload = {
"order_id": 0,
"draft": False,
"generate_pdf": True,
"template_id": 0
}
response = requests.post('https://app.invoicefalcon.com/api/v1/external/invoices', json=payload)
data = response.json(){
"order_id": 0,
"draft": false,
"generate_pdf": true,
"template_id": 0
}{
"invoice": {
"id": 0,
"slug": "string",
"number": "string",
"invoice_type": "string",
"total_price": "string",
"currency": "string",
"financial_status": "string",
"fulfillment_status": "string",
"order_name": "string",
"order_number": 0,
"processed_at": "2024-01-15T09:30:00Z",
"note": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"customer": {
"id": 0,
"email": "string",
"first_name": "string",
"last_name": "string"
},
"billing_address": {
"first_name": "string",
"last_name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"phone": "string"
},
"shipping_address": {
"first_name": "string",
"last_name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"phone": "string"
},
"line_items": [
{
"title": "string",
"variant_title": "string",
"quantity": 0,
"price": "string",
"sku": "string"
}
],
"tax_lines": [
{
"title": "string",
"rate": 0,
"price": "string"
}
]
}
}{
"error": "Invalid API key"
}{
"error": "string",
"errors": {}
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Search invoices
Search invoices by customer name, email, invoice number, order name, or country.
Parameters
qstringrequiredquerySearch query string.
pageinteger>= 11queryPage number.
per_pageinteger[1, 250]25queryItems per page (max 250).
Response
Matching invoices.
Missing or invalid API key.
Request could not be processed.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X GET 'https://app.invoicefalcon.com/api/v1/external/invoices/search'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/invoices/search', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('https://app.invoicefalcon.com/api/v1/external/invoices/search')
data = response.json(){
"invoices": [
{
"id": 0,
"slug": "string",
"number": "string",
"invoice_type": "invoice",
"total_price": "string",
"currency": "string",
"financial_status": "string",
"order_name": "string",
"customer_name": "string",
"customer_email": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
],
"meta": {
"total": 0,
"page": 0,
"per_page": 0,
"total_pages": 0
}
}{
"error": "Invalid API key"
}{
"error": "string",
"errors": {}
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Get an invoice
Retrieve a single invoice by its slug. Returns full details including line items, tax lines, customer, and addresses.
Parameters
slugstringrequiredpathThe invoice's unique slug (UUID).
Response
The invoice with full details.
Missing or invalid API key.
Resource not found.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X GET 'https://app.invoicefalcon.com/api/v1/external/invoices/{slug}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/invoices/{slug}', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('https://app.invoicefalcon.com/api/v1/external/invoices/{slug}')
data = response.json(){
"invoice": {
"id": 0,
"slug": "string",
"number": "string",
"invoice_type": "string",
"total_price": "string",
"currency": "string",
"financial_status": "string",
"fulfillment_status": "string",
"order_name": "string",
"order_number": 0,
"processed_at": "2024-01-15T09:30:00Z",
"note": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"customer": {
"id": 0,
"email": "string",
"first_name": "string",
"last_name": "string"
},
"billing_address": {
"first_name": "string",
"last_name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"phone": "string"
},
"shipping_address": {
"first_name": "string",
"last_name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"phone": "string"
},
"line_items": [
{
"title": "string",
"variant_title": "string",
"quantity": 0,
"price": "string",
"sku": "string"
}
],
"tax_lines": [
{
"title": "string",
"rate": 0,
"price": "string"
}
]
}
}{
"error": "Invalid API key"
}{
"error": "Not found"
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Regenerate invoice from Shopify
Force re-sync the invoice from the Shopify order data and regenerate the PDF. Useful when an order has been edited in Shopify.
Parameters
slugstringrequiredpathThe invoice's unique slug (UUID).
template_idintegerqueryOptional template ID for PDF regeneration.
Response
Invoice regenerated.
Missing or invalid API key.
Resource not found.
Request could not be processed.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X POST 'https://app.invoicefalcon.com/api/v1/external/invoices/{slug}/regenerate'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/invoices/{slug}/regenerate', {
method: 'POST',
});
const data = await response.json();import requests
response = requests.post('https://app.invoicefalcon.com/api/v1/external/invoices/{slug}/regenerate')
data = response.json(){
"invoice": {
"id": 0,
"slug": "string",
"number": "string",
"invoice_type": "string",
"total_price": "string",
"currency": "string",
"financial_status": "string",
"fulfillment_status": "string",
"order_name": "string",
"order_number": 0,
"processed_at": "2024-01-15T09:30:00Z",
"note": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"customer": {
"id": 0,
"email": "string",
"first_name": "string",
"last_name": "string"
},
"billing_address": {
"first_name": "string",
"last_name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"phone": "string"
},
"shipping_address": {
"first_name": "string",
"last_name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"phone": "string"
},
"line_items": [
{
"title": "string",
"variant_title": "string",
"quantity": 0,
"price": "string",
"sku": "string"
}
],
"tax_lines": [
{
"title": "string",
"rate": 0,
"price": "string"
}
]
}
}{
"error": "Invalid API key"
}{
"error": "Not found"
}{
"error": "string",
"errors": {}
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Documents
Generate and download PDF documents.
Bulk generate PDFs
Queue a bulk PDF generation job for a set of invoice IDs. Returns a bulk action ID to track progress. Maximum 5,000 invoices per request.
Body
invoice_idsArray<integer>requiredArray of invoice IDs to generate PDFs for.
template_namestringdefaultTemplate name to use.
Response
Bulk action queued.
Missing or invalid API key.
Request could not be processed.
A bulk action is already in progress.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X POST 'https://app.invoicefalcon.com/api/v1/external/invoices/bulk_pdf' \
-H 'Content-Type: application/json' \
-d '{
"invoice_ids": [
0
],
"template_name": "default"
}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/invoices/bulk_pdf', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"invoice_ids": [
0
],
"template_name": "default"
}),
});
const data = await response.json();import requests
payload = {
"invoice_ids": [
0
],
"template_name": "default"
}
response = requests.post('https://app.invoicefalcon.com/api/v1/external/invoices/bulk_pdf', json=payload)
data = response.json(){
"invoice_ids": [
0
],
"template_name": "default"
}{
"bulk_action": {
"id": 0,
"status": "string",
"total_count": 0
}
}{
"error": "Invalid API key"
}{
"error": "string",
"errors": {}
}Get invoice PDF download link
Generate (if needed) and return a signed download URL for the invoice PDF. Optionally specify a template.
Parameters
slugstringrequiredpathThe invoice's unique slug (UUID).
template_idintegerqueryOptional template ID. Falls back to the store's default.
Response
PDF download link.
Missing or invalid API key.
Resource not found.
Request could not be processed.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X GET 'https://app.invoicefalcon.com/api/v1/external/invoices/{slug}/pdf'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/invoices/{slug}/pdf', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('https://app.invoicefalcon.com/api/v1/external/invoices/{slug}/pdf')
data = response.json(){
"invoice": {
"slug": "string",
"number": "string",
"pdf_url": "https://example.com"
}
}{
"error": "Invalid API key"
}{
"error": "Not found"
}{
"error": "string",
"errors": {}
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Send invoice emails to customers.
Send invoice email
Send (or resend) the invoice email to the customer. Optionally specify a template for the PDF attachment.
Body
template_idintegerOptional template ID for the PDF attachment.
Parameters
slugstringrequiredpathThe invoice's unique slug (UUID).
Response
Email queued for delivery.
Missing or invalid API key.
Resource not found.
Request could not be processed.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X POST 'https://app.invoicefalcon.com/api/v1/external/invoices/{slug}/send_email' \
-H 'Content-Type: application/json' \
-d '{
"template_id": 0
}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/invoices/{slug}/send_email', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"template_id": 0
}),
});
const data = await response.json();import requests
payload = {
"template_id": 0
}
response = requests.post('https://app.invoicefalcon.com/api/v1/external/invoices/{slug}/send_email', json=payload)
data = response.json(){
"template_id": 0
}{
"message": "Email queued for delivery"
}{
"error": "Invalid API key"
}{
"error": "Not found"
}{
"error": "string",
"errors": {}
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Templates
Manage invoice templates and their settings.
List templates
Retrieve all templates for the authenticated store.
Response
A list of templates.
Missing or invalid API key.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X GET 'https://app.invoicefalcon.com/api/v1/external/templates'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/templates', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('https://app.invoicefalcon.com/api/v1/external/templates')
data = response.json(){
"templates": [
{
"id": 0,
"name": "string",
"template_type": "invoice",
"design_key": "string",
"pre_selected_orders": true,
"pre_selected_draft_orders": true,
"pre_selected_pos_orders": true,
"pre_selected_credit_notes": true,
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": true,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
]
}{
"error": "Invalid API key"
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Create a template
Body
templateTemplateInputrequiredResponse
Template created.
Missing or invalid API key.
Request could not be processed.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X POST 'https://app.invoicefalcon.com/api/v1/external/templates' \
-H 'Content-Type: application/json' \
-d '{
"template": {
"name": "string",
"template_type": "invoice",
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": true,
"pre_selected_orders": true,
"pre_selected_draft_orders": true,
"pre_selected_pos_orders": true,
"pre_selected_credit_notes": true
}
}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/templates', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"template": {
"name": "string",
"template_type": "invoice",
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": true,
"pre_selected_orders": true,
"pre_selected_draft_orders": true,
"pre_selected_pos_orders": true,
"pre_selected_credit_notes": true
}
}),
});
const data = await response.json();import requests
payload = {
"template": {
"name": "string",
"template_type": "invoice",
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": True,
"pre_selected_orders": True,
"pre_selected_draft_orders": True,
"pre_selected_pos_orders": True,
"pre_selected_credit_notes": True
}
}
response = requests.post('https://app.invoicefalcon.com/api/v1/external/templates', json=payload)
data = response.json(){
"template": {
"name": "string",
"template_type": "invoice",
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": true,
"pre_selected_orders": true,
"pre_selected_draft_orders": true,
"pre_selected_pos_orders": true,
"pre_selected_credit_notes": true
}
}{
"template": {
"id": 0,
"name": "string",
"template_type": "invoice",
"design_key": "string",
"pre_selected_orders": true,
"pre_selected_draft_orders": true,
"pre_selected_pos_orders": true,
"pre_selected_credit_notes": true,
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": true,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"error": "Invalid API key"
}{
"error": "string",
"errors": {}
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Get a template
Parameters
idintegerrequiredpathResponse
The template.
Missing or invalid API key.
Resource not found.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X GET 'https://app.invoicefalcon.com/api/v1/external/templates/{id}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/templates/{id}', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('https://app.invoicefalcon.com/api/v1/external/templates/{id}')
data = response.json(){
"template": {
"id": 0,
"name": "string",
"template_type": "invoice",
"design_key": "string",
"pre_selected_orders": true,
"pre_selected_draft_orders": true,
"pre_selected_pos_orders": true,
"pre_selected_credit_notes": true,
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": true,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"error": "Invalid API key"
}{
"error": "Not found"
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Delete a template
Parameters
idintegerrequiredpathResponse
Template deleted.
Missing or invalid API key.
Resource not found.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X DELETE 'https://app.invoicefalcon.com/api/v1/external/templates/{id}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/templates/{id}', {
method: 'DELETE',
});
const data = await response.json();import requests
response = requests.delete('https://app.invoicefalcon.com/api/v1/external/templates/{id}')
data = response.json(){
"error": "Invalid API key"
}{
"error": "Not found"
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Update a template
Body
templateTemplateInputrequiredParameters
idintegerrequiredpathResponse
Template updated.
Missing or invalid API key.
Resource not found.
Request could not be processed.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X PATCH 'https://app.invoicefalcon.com/api/v1/external/templates/{id}' \
-H 'Content-Type: application/json' \
-d '{
"template": {
"name": "string",
"template_type": "invoice",
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": true,
"pre_selected_orders": true,
"pre_selected_draft_orders": true,
"pre_selected_pos_orders": true,
"pre_selected_credit_notes": true
}
}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/templates/{id}', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"template": {
"name": "string",
"template_type": "invoice",
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": true,
"pre_selected_orders": true,
"pre_selected_draft_orders": true,
"pre_selected_pos_orders": true,
"pre_selected_credit_notes": true
}
}),
});
const data = await response.json();import requests
payload = {
"template": {
"name": "string",
"template_type": "invoice",
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": True,
"pre_selected_orders": True,
"pre_selected_draft_orders": True,
"pre_selected_pos_orders": True,
"pre_selected_credit_notes": True
}
}
response = requests.patch('https://app.invoicefalcon.com/api/v1/external/templates/{id}', json=payload)
data = response.json(){
"template": {
"name": "string",
"template_type": "invoice",
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": true,
"pre_selected_orders": true,
"pre_selected_draft_orders": true,
"pre_selected_pos_orders": true,
"pre_selected_credit_notes": true
}
}{
"template": {
"id": 0,
"name": "string",
"template_type": "invoice",
"design_key": "string",
"pre_selected_orders": true,
"pre_selected_draft_orders": true,
"pre_selected_pos_orders": true,
"pre_selected_credit_notes": true,
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": true,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"error": "Invalid API key"
}{
"error": "Not found"
}{
"error": "string",
"errors": {}
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Customers
Manage customer records (tax numbers, addresses).
List customers
Retrieve a paginated list of customers. Supports search by name, email, or tax number.
Parameters
searchstringquerySearch by name, email, or tax number.
pageinteger>= 11queryPage number.
per_pageinteger[1, 250]25queryItems per page (max 250).
Response
A paginated list of customers.
Missing or invalid API key.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X GET 'https://app.invoicefalcon.com/api/v1/external/customers'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/customers', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('https://app.invoicefalcon.com/api/v1/external/customers')
data = response.json(){
"customers": [
{
"id": 0,
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string",
"shopify_customer_id": 0,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
],
"meta": {
"total": 0,
"page": 0,
"per_page": 0,
"total_pages": 0
}
}{
"error": "Invalid API key"
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Create a customer
Body
customerCustomerInputrequiredResponse
Customer created.
Missing or invalid API key.
Request could not be processed.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X POST 'https://app.invoicefalcon.com/api/v1/external/customers' \
-H 'Content-Type: application/json' \
-d '{
"customer": {
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string"
}
}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/customers', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"customer": {
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string"
}
}),
});
const data = await response.json();import requests
payload = {
"customer": {
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string"
}
}
response = requests.post('https://app.invoicefalcon.com/api/v1/external/customers', json=payload)
data = response.json(){
"customer": {
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string"
}
}{
"customer": {
"id": 0,
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string",
"shopify_customer_id": 0,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"error": "Invalid API key"
}{
"error": "string",
"errors": {}
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Get a customer
Retrieve a customer by ID, including their addresses.
Parameters
idintegerrequiredpathResponse
The customer with addresses.
Missing or invalid API key.
Resource not found.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X GET 'https://app.invoicefalcon.com/api/v1/external/customers/{id}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/customers/{id}', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('https://app.invoicefalcon.com/api/v1/external/customers/{id}')
data = response.json(){
"customer": {
"id": 0,
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string",
"shopify_customer_id": 0,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"addresses": [
{
"id": 0,
"first_name": "string",
"last_name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"phone": "string",
"address_type": "string"
}
]
}
}{
"error": "Invalid API key"
}{
"error": "Not found"
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Delete a customer
Parameters
idintegerrequiredpathResponse
Customer deleted.
Missing or invalid API key.
Resource not found.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X DELETE 'https://app.invoicefalcon.com/api/v1/external/customers/{id}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/customers/{id}', {
method: 'DELETE',
});
const data = await response.json();import requests
response = requests.delete('https://app.invoicefalcon.com/api/v1/external/customers/{id}')
data = response.json(){
"error": "Invalid API key"
}{
"error": "Not found"
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Update a customer
Body
customerCustomerInputrequiredParameters
idintegerrequiredpathResponse
Customer updated.
Missing or invalid API key.
Resource not found.
Request could not be processed.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X PATCH 'https://app.invoicefalcon.com/api/v1/external/customers/{id}' \
-H 'Content-Type: application/json' \
-d '{
"customer": {
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string"
}
}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/customers/{id}', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"customer": {
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string"
}
}),
});
const data = await response.json();import requests
payload = {
"customer": {
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string"
}
}
response = requests.patch('https://app.invoicefalcon.com/api/v1/external/customers/{id}', json=payload)
data = response.json(){
"customer": {
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string"
}
}{
"customer": {
"id": 0,
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string",
"shopify_customer_id": 0,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
}{
"error": "Invalid API key"
}{
"error": "Not found"
}{
"error": "string",
"errors": {}
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Settings
Read and update store invoicing configuration.
Get settings
Retrieve the store's invoicing configuration — business info, email settings, automation rules, and display preferences.
Response
Store settings.
Missing or invalid API key.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X GET 'https://app.invoicefalcon.com/api/v1/external/settings'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/settings', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('https://app.invoicefalcon.com/api/v1/external/settings')
data = response.json(){
"settings": {
"business_name": "string",
"email": "string",
"phone_number": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"address4": "string",
"tax_id": "string",
"tax_id_title": "string",
"tax_office_name": "string",
"invoice_title": "string",
"draft_invoice_title": "string",
"credit_note_title": "string",
"packing_slip_title": "string",
"invoice_number_prefix": "string",
"next_invoice_number": "string",
"invoice_from_email": "string",
"invoice_bcc_email": "string",
"invoice_bcc": true,
"locale": "string",
"email_locale": "string",
"datetime_format": "string",
"automatic_invoicing": true,
"automatic_invoicing_with_payment_link": true,
"financial_status": "string",
"fulfillment_status": "string",
"default_due_days": 0,
"footer_message": "string",
"facebook_url": "string",
"instagram_url": "string",
"twitter_url": "string",
"use_custom_email": true,
"email_subject_template": "string",
"email_body_template": "string",
"email_dkim_verified": true,
"enable_payment_reminders": true,
"payment_reminder_interval": 0,
"payment_reminder_when": "before",
"customer_locale_invoice": true
}
}{
"error": "Invalid API key"
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Update settings
Update one or more store invoicing settings.
Body
settingsSettingsInputrequiredAll fields are optional — only include fields you want to update.
Response
Settings updated.
Missing or invalid API key.
Request could not be processed.
Rate limit exceeded. Check X-RateLimit-Reset header.
Authorization
ApiKeyAuthapiKey in headerYour store's API key. Generate it under Settings > Integrations.
curl -X PATCH 'https://app.invoicefalcon.com/api/v1/external/settings' \
-H 'Content-Type: application/json' \
-d '{
"settings": {
"business_name": "string",
"email": "string",
"phone_number": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"address4": "string",
"tax_id": "string",
"tax_id_title": "string",
"tax_office_name": "string",
"invoice_title": "string",
"draft_invoice_title": "string",
"credit_note_title": "string",
"packing_slip_title": "string",
"invoice_number_prefix": "string",
"next_invoice_number": "string",
"invoice_from_email": "string",
"invoice_bcc_email": "string",
"invoice_bcc": true,
"locale": "string",
"datetime_format": "string",
"automatic_invoicing": true,
"automatic_invoicing_with_payment_link": true,
"financial_status": "string",
"fulfillment_status": "string",
"default_due_days": 0,
"footer_message": "string",
"facebook_url": "string",
"instagram_url": "string",
"twitter_url": "string",
"use_custom_email": true,
"email_subject_template": "string",
"email_body_template": "string",
"enable_payment_reminders": true,
"payment_reminder_interval": 0,
"payment_reminder_when": "before",
"customer_locale_invoice": true
}
}'const response = await fetch('https://app.invoicefalcon.com/api/v1/external/settings', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"settings": {
"business_name": "string",
"email": "string",
"phone_number": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"address4": "string",
"tax_id": "string",
"tax_id_title": "string",
"tax_office_name": "string",
"invoice_title": "string",
"draft_invoice_title": "string",
"credit_note_title": "string",
"packing_slip_title": "string",
"invoice_number_prefix": "string",
"next_invoice_number": "string",
"invoice_from_email": "string",
"invoice_bcc_email": "string",
"invoice_bcc": true,
"locale": "string",
"datetime_format": "string",
"automatic_invoicing": true,
"automatic_invoicing_with_payment_link": true,
"financial_status": "string",
"fulfillment_status": "string",
"default_due_days": 0,
"footer_message": "string",
"facebook_url": "string",
"instagram_url": "string",
"twitter_url": "string",
"use_custom_email": true,
"email_subject_template": "string",
"email_body_template": "string",
"enable_payment_reminders": true,
"payment_reminder_interval": 0,
"payment_reminder_when": "before",
"customer_locale_invoice": true
}
}),
});
const data = await response.json();import requests
payload = {
"settings": {
"business_name": "string",
"email": "string",
"phone_number": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"address4": "string",
"tax_id": "string",
"tax_id_title": "string",
"tax_office_name": "string",
"invoice_title": "string",
"draft_invoice_title": "string",
"credit_note_title": "string",
"packing_slip_title": "string",
"invoice_number_prefix": "string",
"next_invoice_number": "string",
"invoice_from_email": "string",
"invoice_bcc_email": "string",
"invoice_bcc": True,
"locale": "string",
"datetime_format": "string",
"automatic_invoicing": True,
"automatic_invoicing_with_payment_link": True,
"financial_status": "string",
"fulfillment_status": "string",
"default_due_days": 0,
"footer_message": "string",
"facebook_url": "string",
"instagram_url": "string",
"twitter_url": "string",
"use_custom_email": True,
"email_subject_template": "string",
"email_body_template": "string",
"enable_payment_reminders": True,
"payment_reminder_interval": 0,
"payment_reminder_when": "before",
"customer_locale_invoice": True
}
}
response = requests.patch('https://app.invoicefalcon.com/api/v1/external/settings', json=payload)
data = response.json(){
"settings": {
"business_name": "string",
"email": "string",
"phone_number": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"address4": "string",
"tax_id": "string",
"tax_id_title": "string",
"tax_office_name": "string",
"invoice_title": "string",
"draft_invoice_title": "string",
"credit_note_title": "string",
"packing_slip_title": "string",
"invoice_number_prefix": "string",
"next_invoice_number": "string",
"invoice_from_email": "string",
"invoice_bcc_email": "string",
"invoice_bcc": true,
"locale": "string",
"datetime_format": "string",
"automatic_invoicing": true,
"automatic_invoicing_with_payment_link": true,
"financial_status": "string",
"fulfillment_status": "string",
"default_due_days": 0,
"footer_message": "string",
"facebook_url": "string",
"instagram_url": "string",
"twitter_url": "string",
"use_custom_email": true,
"email_subject_template": "string",
"email_body_template": "string",
"enable_payment_reminders": true,
"payment_reminder_interval": 0,
"payment_reminder_when": "before",
"customer_locale_invoice": true
}
}{
"settings": {
"business_name": "string",
"email": "string",
"phone_number": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"address4": "string",
"tax_id": "string",
"tax_id_title": "string",
"tax_office_name": "string",
"invoice_title": "string",
"draft_invoice_title": "string",
"credit_note_title": "string",
"packing_slip_title": "string",
"invoice_number_prefix": "string",
"next_invoice_number": "string",
"invoice_from_email": "string",
"invoice_bcc_email": "string",
"invoice_bcc": true,
"locale": "string",
"email_locale": "string",
"datetime_format": "string",
"automatic_invoicing": true,
"automatic_invoicing_with_payment_link": true,
"financial_status": "string",
"fulfillment_status": "string",
"default_due_days": 0,
"footer_message": "string",
"facebook_url": "string",
"instagram_url": "string",
"twitter_url": "string",
"use_custom_email": true,
"email_subject_template": "string",
"email_body_template": "string",
"email_dkim_verified": true,
"enable_payment_reminders": true,
"payment_reminder_interval": 0,
"payment_reminder_when": "before",
"customer_locale_invoice": true
}
}{
"error": "Invalid API key"
}{
"error": "string",
"errors": {}
}{
"error": "Rate limit exceeded",
"retry_after": 0,
"message": "string"
}Models
InvoiceSummary
objectidintegerslugstringUnique identifier for API calls.
numberstringDisplay number (e.g. INV-001).
invoice_typestringinvoicequotepro_formashopify_ordertotal_pricestringDecimal string.
currencystringISO 4217 code.
financial_statusstringorder_namestringShopify order name (e.g. #1042).
customer_namestringcustomer_emailstringcreated_atstring<date-time>updated_atstring<date-time>{
"id": 0,
"slug": "string",
"number": "string",
"invoice_type": "invoice",
"total_price": "string",
"currency": "string",
"financial_status": "string",
"order_name": "string",
"customer_name": "string",
"customer_email": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}InvoiceDetail
objectidintegerslugstringnumberstringinvoice_typestringtotal_pricestringcurrencystringfinancial_statusstringfulfillment_statusstringorder_namestringorder_numberintegerprocessed_atstring<date-time>notestringcreated_atstring<date-time>updated_atstring<date-time>customerInvoiceCustomerbilling_addressAddressshipping_addressAddressline_itemsArray<LineItem>tax_linesArray<TaxLine>{
"id": 0,
"slug": "string",
"number": "string",
"invoice_type": "string",
"total_price": "string",
"currency": "string",
"financial_status": "string",
"fulfillment_status": "string",
"order_name": "string",
"order_number": 0,
"processed_at": "2024-01-15T09:30:00Z",
"note": "string",
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"customer": {
"id": 0,
"email": "string",
"first_name": "string",
"last_name": "string"
},
"billing_address": {
"first_name": "string",
"last_name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"phone": "string"
},
"shipping_address": {
"first_name": "string",
"last_name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"phone": "string"
},
"line_items": [
{
"title": "string",
"variant_title": "string",
"quantity": 0,
"price": "string",
"sku": "string"
}
],
"tax_lines": [
{
"title": "string",
"rate": 0,
"price": "string"
}
]
}InvoiceCustomer
objectidintegeremailstringfirst_namestringlast_namestring{
"id": 0,
"email": "string",
"first_name": "string",
"last_name": "string"
}Address
objectfirst_namestringlast_namestringcompanystringaddress1stringaddress2stringcitystringprovincestringcountrystringzipstringphonestring{
"first_name": "string",
"last_name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"phone": "string"
}LineItem
objecttitlestringvariant_titlestringquantityintegerpricestringskustring{
"title": "string",
"variant_title": "string",
"quantity": 0,
"price": "string",
"sku": "string"
}TaxLine
objecttitlestringTax name (e.g. VAT, GST).
ratenumberDecimal rate (e.g. 0.2 for 20%).
pricestring{
"title": "string",
"rate": 0,
"price": "string"
}Template
objectidintegerUse as template_id in pdf/send_email/create.
namestringtemplate_typestringinvoicepacking_slipcredit_notedesign_keystring | nullpre_selected_ordersbooleanpre_selected_draft_ordersbooleanpre_selected_pos_ordersbooleanpre_selected_credit_notesbooleanaccent_colorstringfont_familystringfont_sizeintegerdate_formatstringinvoice_number_prefixstringlogo_urlstring<uri> | nulllogo_widthintegerlogo_enabledbooleancreated_atstring<date-time>updated_atstring<date-time>{
"id": 0,
"name": "string",
"template_type": "invoice",
"design_key": "string",
"pre_selected_orders": true,
"pre_selected_draft_orders": true,
"pre_selected_pos_orders": true,
"pre_selected_credit_notes": true,
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": true,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}TemplateInput
objectnamestringtemplate_typestringinvoicepacking_slipcredit_noteaccent_colorstringfont_familystringfont_sizeintegerdate_formatstringinvoice_number_prefixstringlogo_urlstring<uri>logo_widthintegerlogo_enabledbooleanpre_selected_ordersbooleanpre_selected_draft_ordersbooleanpre_selected_pos_ordersbooleanpre_selected_credit_notesboolean{
"name": "string",
"template_type": "invoice",
"accent_color": "string",
"font_family": "string",
"font_size": 0,
"date_format": "string",
"invoice_number_prefix": "string",
"logo_url": "https://example.com",
"logo_width": 0,
"logo_enabled": true,
"pre_selected_orders": true,
"pre_selected_draft_orders": true,
"pre_selected_pos_orders": true,
"pre_selected_credit_notes": true
}Customer
objectidintegeremailstringfirst_namestringlast_namestringphonestringtax_numberstringVAT/GST/tax identification number.
eori_numberstringEU EORI number.
tagsstringshopify_customer_idintegercreated_atstring<date-time>updated_atstring<date-time>{
"id": 0,
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string",
"shopify_customer_id": 0,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}CustomerDetail
objectidintegeremailstringfirst_namestringlast_namestringphonestringtax_numberstringVAT/GST/tax identification number.
eori_numberstringEU EORI number.
tagsstringshopify_customer_idintegercreated_atstring<date-time>updated_atstring<date-time>addressesArray<object>{
"id": 0,
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string",
"shopify_customer_id": 0,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z",
"addresses": [
{
"id": 0,
"first_name": "string",
"last_name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"phone": "string",
"address_type": "string"
}
]
}CustomerInput
objectemailstringfirst_namestringlast_namestringphonestringtax_numberstringeori_numberstringtagsstring{
"email": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tax_number": "string",
"eori_number": "string",
"tags": "string"
}Settings
objectbusiness_namestringemailstringphone_numberstringaddress1stringaddress2stringaddress3stringaddress4stringtax_idstringtax_id_titlestringtax_office_namestringinvoice_titlestringdraft_invoice_titlestringcredit_note_titlestringpacking_slip_titlestringinvoice_number_prefixstringnext_invoice_numberstringinvoice_from_emailstringinvoice_bcc_emailstringinvoice_bccbooleanlocalestringemail_localestringdatetime_formatstringautomatic_invoicingbooleanautomatic_invoicing_with_payment_linkbooleanfinancial_statusstringfulfillment_statusstringdefault_due_daysintegerfooter_messagestringfacebook_urlstringinstagram_urlstringtwitter_urlstringuse_custom_emailbooleanemail_subject_templatestringemail_body_templatestringemail_dkim_verifiedbooleanread onlyenable_payment_remindersbooleanpayment_reminder_intervalintegerpayment_reminder_whenstringbeforeaftercustomer_locale_invoiceboolean{
"business_name": "string",
"email": "string",
"phone_number": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"address4": "string",
"tax_id": "string",
"tax_id_title": "string",
"tax_office_name": "string",
"invoice_title": "string",
"draft_invoice_title": "string",
"credit_note_title": "string",
"packing_slip_title": "string",
"invoice_number_prefix": "string",
"next_invoice_number": "string",
"invoice_from_email": "string",
"invoice_bcc_email": "string",
"invoice_bcc": true,
"locale": "string",
"email_locale": "string",
"datetime_format": "string",
"automatic_invoicing": true,
"automatic_invoicing_with_payment_link": true,
"financial_status": "string",
"fulfillment_status": "string",
"default_due_days": 0,
"footer_message": "string",
"facebook_url": "string",
"instagram_url": "string",
"twitter_url": "string",
"use_custom_email": true,
"email_subject_template": "string",
"email_body_template": "string",
"email_dkim_verified": true,
"enable_payment_reminders": true,
"payment_reminder_interval": 0,
"payment_reminder_when": "before",
"customer_locale_invoice": true
}SettingsInput
objectAll fields are optional — only include fields you want to update.
business_namestringemailstringphone_numberstringaddress1stringaddress2stringaddress3stringaddress4stringtax_idstringtax_id_titlestringtax_office_namestringinvoice_titlestringdraft_invoice_titlestringcredit_note_titlestringpacking_slip_titlestringinvoice_number_prefixstringnext_invoice_numberstringinvoice_from_emailstringinvoice_bcc_emailstringinvoice_bccbooleanlocalestringdatetime_formatstringautomatic_invoicingbooleanautomatic_invoicing_with_payment_linkbooleanfinancial_statusstringfulfillment_statusstringdefault_due_daysintegerfooter_messagestringfacebook_urlstringinstagram_urlstringtwitter_urlstringuse_custom_emailbooleanemail_subject_templatestringemail_body_templatestringenable_payment_remindersbooleanpayment_reminder_intervalintegerpayment_reminder_whenstringbeforeaftercustomer_locale_invoiceboolean{
"business_name": "string",
"email": "string",
"phone_number": "string",
"address1": "string",
"address2": "string",
"address3": "string",
"address4": "string",
"tax_id": "string",
"tax_id_title": "string",
"tax_office_name": "string",
"invoice_title": "string",
"draft_invoice_title": "string",
"credit_note_title": "string",
"packing_slip_title": "string",
"invoice_number_prefix": "string",
"next_invoice_number": "string",
"invoice_from_email": "string",
"invoice_bcc_email": "string",
"invoice_bcc": true,
"locale": "string",
"datetime_format": "string",
"automatic_invoicing": true,
"automatic_invoicing_with_payment_link": true,
"financial_status": "string",
"fulfillment_status": "string",
"default_due_days": 0,
"footer_message": "string",
"facebook_url": "string",
"instagram_url": "string",
"twitter_url": "string",
"use_custom_email": true,
"email_subject_template": "string",
"email_body_template": "string",
"enable_payment_reminders": true,
"payment_reminder_interval": 0,
"payment_reminder_when": "before",
"customer_locale_invoice": true
}