Description

List a brand’s available active point promotions.

Parameters

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

$JSON_OBJECT Structure

Key Type Value Required
brandId String $SHARED_BRAND_ID true

Example

Request

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

Response

{
  "data": {
    "thirdParty": {
      "pointPromotions": [
        {
          "id": $ID,
          "title": $TITLE,
          "cost": $TEST_COST,
          "monetaryCost": $MONETARY_COST
        }
      ]
    }
  },
  "errors": []
}