Customers - OBSOLETE API

List Customers

URL

https://dev.v3manager.com/demo/api/customer

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/customer"

Count Customers

URL

https://dev.v3manager.com/demo/api/customer/count

HTTP Method

GET

Sum Customers

URL

https://dev.v3manager.com/demo/api/customer/sum

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/customer/sum?field=total&search=["created",">","05-07-2023"]" Encoded: curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/customer/sum?field=total&search=%5B%22created%22%2C%22%3E%22%2C%2205-07-2023%22%5D"

Parameters

Name Type Required
field string yes
filter array no

Load Customer by id

URL

https://dev.v3manager.com/demo/api/customer/:id

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/customer/22"

Create or update Customers

URL

https://dev.v3manager.com/demo/api/customer

HTTP Method

POST

Fields

Name Label Data type Readonly Descrition
onCredit On credit bool No
updateUserName Updated by string No
updateUser Updated by int Yes
alert Alert string No
alias Alias string No
lastName SLanames string No
disabled Blocked bool No Cannot make bookings online
street Street string No
street2 Street 2 string No
city City string No
autoCollect Automatically charge bool No
paymentCondition Payment conditions select No
createUserName Created by string No
createUser Created by int Yes
account Accounting account string No
zipCode Zip Code string No
description Description text No
deleted Removed bool Yes
email Email email No
invoicesEmail Email for invoices email No
company Company int No
companyName Company string No
sendInvoices Send invoices by email bool No
isAgency It's an agency bool No
isCompany It is a company bool No
tags Tags manyToMany No
taxExempt Tax exempt bool No
invoiceTo Invoice to int No
invoiceToName Invoice to string No
updated Update date datetime Yes
created Creation date datetime Yes
birthdate Birthdate date No
paymentMethod Preferred payment method int No
paymentMethodName Preferred payment method string No
gender Gender select No
language Language select No
avatar Image image No
taxNumber Tax number string No
nationalityName Nationality string No
nationality Nationality int No
firstName Name string No
name Full name string No
onlineName Online name string No
memberCode Membership number string No
invoiceComments Invoice observations text No
email2 Another email email No
phone2 Another phone string No
country Country int No
countryName Country string No
pending Not paid currency No
businessName Business name string No
id ID int Yes
region Region int No
regionName Region string No
requiresInvoice Request invoice bool No
centerCard Center card number string No
phone Phone string No
Values for paymentCondition
Value Name
0 Early payment
1 15 days
2 30 days
3 60 days
4 90 days
Values for gender
Value Name
0 Male
1 Female
Values for language
Value Name