Skip to main content

Update Visitor Info

Description

This API is used to update the custom visitor information for a particular visitor. The object given in the param will be appended to the existing visitor information.

HTTP Method - UPDATE

Query Parameters

customer info : A JSON object containing the visitor information.

Pre-requisite

A valid OAuth Token is mandatory.

URL:

Copiedhttps://salesiq.zoho.com/api/v1/<screenname>/visitorsbyemail/<email>

Example

Copiedhttps://salesiq.zoho.com/api/v1/zylker/visitorsbyemail/patricia@zylker.com?customerinfo={"band":"premium", "nextpayment" :"June 20,2017"}

Success Response

Copied{
	"data": "patricia@zylker.com"
}

Error Codes

1. General Error

This error is sent when you are not able to update the visitor info.code :  2310Error Message : "Unable to update customer info"

2. No Visitor Found

This error is sent if there are no visitors found for the given Email ID.code : 2311Error Message : "No Visitor found "

Error Response - Example

Copied{
	"error": {
		"message": "No Visitor found",
		"code": 2311
	}
}