Follow

Batched Consumer Tag Update (By MatchedTag)

Adds and removes tags from a set of consumers who match the supplied tag criteria. The tag criteria allows you to specify multiple tag reference codes and which logical operator to apply ('And' or 'Or).

The processing of this request is performed asynchronously and the current state of the asynchronous processing can be retrieved in a separate API call.

 

Attributes 

Attribute

Value

Path

/v3/consumers/batchTags

Support Formats

JSON, XML

HTTP Method

POST

Secure

Yes

Rate Limited

No

Cache Timeout

TBC

HTTP Codes

·        202 - Accepted

·        409 - Conflict

·        500 - Internal Server Error 

 

Request

The following table contains the details of a typical HTTP request for this service:

Type

Value

Body 
{  tagValuesToMatch:["ExistingTag1","ExistingTag2"],
  matchType: "Or",
  tagsToRemove:["MyTagValue","anotherTagValue"], 
  tagsToAdd:["NewTagValue1","NewTagValue2"] }
Header

POST /v3/consumers/batchTags HTTP/1.1

Host: merchant.api.vmob.co

Content-Type: application/json

Accept-Language: en-US

x-vmob-authorization: dm1vYi53aW5kb3dzLjE6

Notes:

The 'matchType' may have a value of 'And' or 'Or'

 

Successful Response

The following table contains the details of a typical successful HTTP request for this service.

Type

Value

Header

HTTP/1.1 202 ACCEPTED

Content-Type: application/json

Cache-Control: no-store

Pragma: no-cache

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.