Follow

Upload Predefined Redemption Codes

Adds a list of predefined redemption codes for a given offer.

 

Attributes

Attribute

Value

Path

/v3/offers/{offerId}/predefinedRedemptionCodes

Support Formats

JSON, XML

HTTP Method

POST

Secure

Yes

Rate Limited

No

Cache Timeout

TBC

HTTP Codes

·        202 - Accepted

·        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/offers/292/predefinedRedemptionCodes HTTP/1.1

Host: merchant.api.vmob.co

Content-Type: application/json

Accept-Language: en-US

x-vmob-authorization: dm1vYi53aW5kb3dzLjE6

Body

[

   {

      "redemptionText":[

               "1029383940382",

               "9838327390483",

               "7493928374793"

        ]

   }

]

 

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

Body

{

   "uploadCount":2000

}

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.