Get Custom Fields Associated with Coupon Redemption

The API retrieves the custom fields and their values associated with coupon redemption.

🚧

Note

This private API is accessible only through Neo dataflows.

Prerequisites

  • Access to Neo
  • Authentication - Basic or OAuth authentication details
  • Access group resource - NA

Resource Information

URI to be used in Neo dataflow/das/getCouponRedemptionCustomFieldsData
HTTP methodGET
Pagination supported?Yes
Rate limitBased on Neo
Batch supportNA

Request Query Parameters

Parameter(Parameters marked with * are mandatory) Data Type Description

redemption_ids*

Long

A unique identifier for the redemption instance. It is the ID generated when a coupon is redeemed. You can provide multiple redemption IDs, separated by commas.

page

Integer

Retrieve details of a specific page. Page count starts from 1.
Example: page=2 retrieves data on page 2.

count

Integer

Number of results to display per page. The default value is 10. The maximum supported value is 100.

Response Parameters

ParameterData TypeDescription
redemptionIdLongUnique identifier for the redemption instance.
redemptionCustomFieldsArrayArray containing the custom fields and their associated values.
nameStringName of the custom field.
valueStringValue associated with the custom field.
[
    {
        "redemptionId": 1046094,
        "redemptionCustomFields": [
            {
                "name": "age",
                "value": "12"
            },
            {
                "name": "redem_gender",
                "value": "Female1"
            }
        ]
    },
    {
        "redemptionId": 1046095,
        "redemptionCustomFields": [
            {
                "name": "age",
                "value": "10"
            }
        ]
    },
    {
        "redemptionId": 1046096,
        "redemptionCustomFields": [
            {
                "name": "age",
                "value": "12"
            },
            {
                "name": "redem_gender",
                "value": "Female2"
            }
        ]
    }
]

Error Codes

Error CodeDescription
400Bad Request
404Not Found
500Internal Server Error
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!