Follow

Create TagValue

Create a new tag value. If a tagValue with the same referenceCode already exists then it will be replaced. 

 

Attributes 

Attribute

Value

Path

/v3/tagValues

Support Formats

JSON, XML

HTTP Method

POST

Secure

Yes

Rate Limited

No

Cache Timeout

TBC

HTTP Codes

·        201 - Created

·        204 - No Content

·        400 - Bad Request. 

·        500 - Internal Server Error. 

 

Request

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

Type

Value

Header

POST /v3/tagValues HTTP/1.1

Host: merchant.api.vmob.co

Content-Type: application/json

Accept-Language: en-US

x-vmob-authorization: dm1vYi53aW5kb3dzLjE6

Body 

{

    "referenceCode": "ar-90",

    "name": "Over 90",

    "tagCode": "AR",

    "sortOrder": 0,

    "additionalData1": null

}

 Notes:

  1. ReferenceCode is a unique identifier across all tags
  2. AdditionalData1 can be used to store additional info for rules engines. This field is a nullable int.

 

Successful Response

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

Type

Value

Header

HTTP/1.1 201 CREATED

Content-Type: application/json

Cache-Control: no-store

Pragma: no-cache

Notes:

  • The returned status code indicates whether an update or create has occurred.
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.