POST
/
api
/
loyalty
/
posts
/
{id}
/
reward
Reward a social post
curl --request POST \
  --url https://admin.snagsolutions.io/api/loyalty/posts/{id}/reward \
  --header 'Content-Type: application/json' \
  --data '{
  "loyaltyCurrencyId": "123e4567-e89b-12d3-a456-426614174000",
  "amount": 100
}'
{
  "success": true,
  "transaction": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "amount": 123,
    "loyaltyCurrencyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Path Parameters

id
string
required

Body

application/json

Body

Request body for rewarding a social post

Response

200
application/json

200

Response containing the reward transaction details