Attempts to add a range of tag values to a consumer and removes a range of tag values from a consumer. Any invalid or duplicate values will fail silently.
This API must allow update on any consumer tag, not just those marked as updateable by the device.
Attributes
Attribute |
Value |
HTTP Codes |
· 202 - Accepted · 400 - Bad Request · 500 - Internal Server Error |
Path |
/v3/consumers/{id}/tagvalues |
Support Formats |
JSON, XML |
Rate Limited |
No |
HTTP Method |
POST |
Cache Timeout |
TBC |
Secure |
Yes |
Request
The following table contains the details of a typical HTTP request for this service:
Type |
Value |
Header |
POST /v3/consumers/{id}/tagvalues HTTP/1.1 Host: merchant.api.vmob.co Content-Type: application/jsonAccept-Language: en-USAuthorization: Bearer ZDFkNDliNTktN2FmZC00YmRjLWFjNjgtYjBkMjMzNGE3MmU0 x-vmob-authorization: dm1vYi53aW5kb3dzLjE6 |
Body |
{ "tagValueAddReferenceCodes": ["plus9", ], "tagValueRemoveReferenceCodes": ["plus7", "plus8"] } |
Required Fields |
none |
Response
Successful Response
This service returns no body upon success.
0 Comments