Contact

Get Contacts

GET https://api.zortout.com/api.aspx

Get list of contacts.

Query Parameters

Name
Type
Description

method*

String

“GETCONTACTS”

version*

String

3

keyword

String

Keyword to search at least 3 characters

page

Int

Page (Default = 1)

limit

Int

Limit per page (Max = 2000)

format

String

json (Default), xml

Headers

Name
Type
Description

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

contactidlist

String

Contact ID List Ex. 1234,5678

Get Contact Detail

GET https://api.zortout.com/api.aspx

Get contact detail

Query Parameters

Name
Type
Description

method*

String

“GETCONTACTDETAIL”

version*

String

3

id*

Int

Contact ID

format

String

json (Default), xml

Headers

Name
Type
Description

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

Add Contact

POST https://api.zortout.com/api.aspx

Add contact.

Query Parameters

Name
Type
Description

method*

String

“ADDCONTACT”

format

String

json (Default), xml

version*

String

3

Headers

Name
Type
Description

storename*

String

Store Name

apikey*

String

API Key

apisecret*

String

API Secret

Request Body

Name
Type
Description

code*

String

Contact Code

name*

String

Contact Name

idnumber

String

Contact ID Number/Tax ID

phone

String

Contact Phone

email

String

Contact Email

address

String

Contact Address

branchname

String

Branch Name

branchno

String

Branch No

facebook

String

Facebook

line

String

Line

instagram

String

Instagram

∟ 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

Update Contact

POST https://api.zortout.com/api.aspx

Edit contact info

Query Parameters

Name
Type
Description

method*

String

“UPDATECONTACT”

format

String

json (Default), xml

version*

String

3

id*

Int

Contact ID

Headers

Name
Type
Description

storename*

String

Store Name

apisecret*

String

API Secret

apikey*

String

API Key

Request Body

Name
Type
Description

idnumber

String

Contact ID Number/Tax ID

code*

String

Contact Code

facebook

String

Facebook

name

String

Contact Name

branchname

String

Branch Name

line

String

Line

address

String

Contact Address

phone

String

Contact Phone

email

String

Contact Email

instagram

String

Instagram

branchno

String

Branch No

Last updated