Follow

Batched Consumer Tag Update (By Consumer Id)

Adds and removes tags from a set of consumers whose consumer Ids have been specified in the request.

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/batchConsumerTags

Support Formats

JSON, XML

HTTP Method

POST

Secure

Yes

Rate Limited

No

Cache Timeout

TBC

HTTP Codes

·        202 - Accepted

·        400 - Bad Request

·        409 - Conflict 

·        500 - Internal Server Error 

 

Request

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

Type

Value

Body 

{

 consumerIds:["75a21b86-d535-4867-92c6-782a41b3a217","c723eb6c-7971-42a6-bc34-578d900369cc","5d2a4c75-a98e-49b5-bccc-86cedfe4695d"],

 tagsToRemove:["MyTagValue","anotherTagValue"], 

 tagsToAdd:["NewTagValue1","NewTagValue2"] 

}

Header

POST /v3/consumers/batchConsumerTags HTTP/1.1

Host: merchant.api.vmob.co

Content-Type: application/json

Accept-Language: en-US

x-vmob-authorization: dm1vYi53aW5kb3dzLjE6

 

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.