Description

Resend an sms message containing the validation code to a redemption offer.

Parameters

Parameter Type Value Required
operation_name String resendRedemptionPromotionCode true
variables JSON $JSON_OBJECT true

$JSON_OBJECT Structure

Key Type Value Required
brandId String $SHARED_BRAND_ID true
redemptionId String $REDEMPTION_ID true
channel String $CHANNEL false

Example

Request

curl \
-X POST \
-H "Content-Type: application/json" \
-H "Token: $TOKEN" \
-d '{
        "operation_name": "resendRedemptionPromotionCode",
        "variables": {
            "brandId": $SHARED_BRAND_ID,
            "redemptionId": $REDEMPTION_ID,
            "channel": $CHANNEL
        }
    }' \
https://mulahpoints.com/third_party

Response

{
  "data": {
    "thirdPartyResendRedemptionPromotionCode": {
      "result": $SUCCESS_MESSAGE,
      "errors": [
        {message: $ERROR_MESSAGE}
      ]
    }
  },
  "errors": []
}