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
updateUserName Updated by string No
updateUser Updated by int Yes
alias Alias string No
lastName Surnames string No
disabled Blocked bool No Cannot make bookings online
street Street string No
street2 Street 2 string No
city City string No
paymentCondition Payment conditions select No
createUser Created by int Yes
createUserName Created by string No
zipCode Zip Code string No
description Description text No
email Email email No
company Company int No
companyName Company string No
isCompany It is a company bool No
tags Tags manyToMany No
taxExempt Tax exempt bool No
updated Update date datetime Yes
created Creation date datetime Yes
birthdate Birthdate date No
gender Gender select No
language Language select No
avatar Image image No
taxNumber Tax number string No
firstName Name string No
name Full name string No
memberCode Membership number string No
email2 Another email email No
phone2 Another phone string No
countryName Country string No
country Country int No
businessName Business name string No
id ID int Yes
regionName Region string No
region Region int 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
es Spanish
en English