Create a New Supplier
POST /suppliers
POST
/suppliers
Request Body
Section titled “Request Body ”object
name
required
string
address_line_1
string
address_line_2
string
city
string
region
string
post_code
string
sales_contact_name
string
sales_contact_email
string
sales_phone_number
string
accounting_contact_name
string
accounting_contact_email
string
accounting_phone_number
string
currency_code
string
created_by_id
number
updated_by_id
number
created_at
string
updated_at
string
bank_name
string
bank_account_number
string
bank_sort_code
string
credit_limit
number
active_purchase_order_count
number
completed_purchase_order_count
number
purchase_order_template
string
reminder_email_template
string
Example
{ "name": "Default supplier", "address_line_1": "221 High St", "address_line_2": "Floor 4", "city": "Swansea", "region": "Glamorgan", "country": "GB", "post_code": "SA1 1NW", "sales_contact_name": "", "sales_contact_email": "", "sales_phone_number": null, "accounting_contact_name": "", "accounting_contact_email": "", "accounting_phone_number": null, "currency_code": "gbp", "created_by_id": 12345, "updated_by_id": null, "created_at": "2023-09-20T14:27:46.604Z", "updated_at": "2023-09-20T14:27:46.604Z", "bank_name": null, "bank_account_number": null, "bank_sort_code": null, "credit_limit": 0, "active_purchase_order_count": 1, "completed_purchase_order_count": 3, "purchase_order_template": "[Veeqo] Purchase Order", "reminder_email_template": "[Veeqo] Purchase Order Reminder"}
Responses
Section titled “ Responses ”Created
object
id
number
name
string
address_line_1
string
address_line_2
string
city
string
region
string
post_code
string
sales_contact_name
string
sales_contact_email
string
sales_phone_number
string
accounting_contact_name
string
accounting_contact_email
string
accounting_phone_number
string
currency_code
string
created_by_id
number
updated_by_id
number
created_at
string
updated_at
string
bank_name
string
bank_account_number
string
bank_sort_code
string
credit_limit
number
active_purchase_order_count
number
completed_purchase_order_count
number
purchase_order_template
string
reminder_email_template
string
Example
{ "id": 12345, "name": "Default supplier", "address_line_1": "221 High St", "address_line_2": "Floor 4", "city": "Swansea", "region": "Glamorgan", "country": "GB", "post_code": "SA1 1NW", "sales_contact_name": "", "sales_contact_email": "", "sales_phone_number": null, "accounting_contact_name": "", "accounting_contact_email": "", "accounting_phone_number": null, "currency_code": "gbp", "created_by_id": 12345, "updated_by_id": null, "created_at": "2023-09-20T14:27:46.604Z", "updated_at": "2023-09-20T14:27:46.604Z", "bank_name": null, "bank_account_number": null, "bank_sort_code": null, "credit_limit": 0, "active_purchase_order_count": 1, "completed_purchase_order_count": 3, "purchase_order_template": "[Veeqo] Purchase Order", "reminder_email_template": "[Veeqo] Purchase Order Reminder"}