GET
/
rewards
/
{id}
curl --request GET \
  --url https://app.masivo.ai/api/storefront/v1/rewards/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "brand_id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "type": "POINTS",
    "conditions": [
      [
        {
          "type": "Order Value",
          "operator": "grater than",
          "primitive": "string",
          "value": 9.95
        }
      ]
    ],
    "attributes": {
      "conversion_factor": 0.1
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The reward unique identifier

Response

200
application/json
Ok
data
object