Contact
Get Contacts
GET
https://open-api.zortout.com/v4/Contact/GetContacts
Get list of contacts.
Query Parameters
keyword
String
Keyword to search at least 3 characters
page
Int
Page (Default = 1)
limit
Int
Limit per page (Max = 500)
Headers
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
contactidlist
String
Contact ID List Ex. 1234,5678
res
Response
Response Code 200- Success
list
Contact (Array)
Contact List (Array)
count
Int
Total contact number by filter
id
Int
Contact ID
name
String
Contact Name
code
String
Contact Code
idnumber
String
Contact ID Number/Tax ID
phone
String
Contact Phone
String
Contact Email
address
String
Contact Address
branchname
String
Branch Name
branchno
String
Branch No
String
line
String
LINE
String
imagepath
String
Image Url
tag
String (Array)
Tag List (Array)
properties
Property (Array)
Custom Properties List
id
Int
Property ID
name
String
Property Name
value
String
Property Value
Get Contact Detail
GET
https://open-api.zortout.com/v4/Contact/GetContactDetail
Get contact detail
Query Parameters
id*
Int
Contact ID
Headers
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
id
Int
Contact ID
name
String
Contact Name
code
String
Contact Code
idnumber
String
Contact ID Number/Tax ID
phone
String
Contact Phone
String
Contact Email
address
String
Contact Address
branchname
String
Branch Name
branchno
String
Branch No
String
line
String
LINE
String
imagepath
String
Image Url
subContactList
SubContact (Array)
Subcontact List (Array)
shippingList
ShippingAddress (Array)
Shipping Address List (Array)
tag
String (Array)
Tag List (Array)
properties
Property (Array)
Custom Properties List
name
String
Subcontact Name
position
String
Subcontact Position
phone
String
Subcontact Phone
mobile
String
Subcontact Mobile
String
Subcontact Email
isMain
Boolean
Main Status
name
String
Shipping Name
address
String
Shipping Address
phone
String
Shipping Phone
String
Shipping Email
isMain
Boolean
Main Status
id
Int
Property ID
name
String
Property Name
value
String
Property Value
Add Contact
POST
https://open-api.zortout.com/v4/Contact/AddContact
Add contact.
Headers
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
Request Body
code*
String
Contact Code
name*
String
Contact Name
idnumber
String
Contact ID Number/Tax ID
phone
String
Contact Phone
String
Contact Email
address
String
Contact Address
branchname
String
Branch Name
branchno
String
Branch No
String
line
String
Line
String
∟ value
String
Property Value
∟ name
String
Property Name Require if id = 0 or null
*Must have either id or name
∟ id
Int
Property ID
*Must have either id or name
properties
Property (Array)
Custom Properties List
resCode
String
Response Code 200- Succes
resDesc
String
Response Description
detail
Detail
Detail
id
Int
Contact ID
Update Contact
POST
https://open-api.zortout.com/v4/Contact/UpdateContact
Edit contact info
Query Parameters
id*
Int
Contact ID
Headers
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
Request Body
idnumber
String
Contact ID Number/Tax ID
code*
String
Contact Code
String
name
String
Contact Name
branchname
String
Branch Name
line
String
Line
address
String
Contact Address
phone
String
Contact Phone
String
Contact Email
String
branchno
String
Branch No
resCode
String
Response Code 200- Success
resDesc
String
Response Description
Last updated