Description

Returns a list of brand memberships for a brand

Parameters

Parameter Type Value Required
operation_name String brandMemberships 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": "brandMemberships",
        "variables": {
            "brandId": $SHARED_BRAND_ID
        }
    }' \
https://mulahpoints.com/third_party

Response

{
  "data": {
    "thirdParty": {
      "brand": {
        "name": $TEST_NAME,
        "memberships": [
          {
            "id": $TEST_ID,
            "title": $TEST_TITLE
          }
        ]
      }
    }
  },
  "errors": []
}