Membership rewards
The rewards that belongs to a membership.
Get membership rewards
GET
https://api.petje.af/v1/memberships/:membershipId/rewards
Scope: memberships.read
Path Parameters
Name | Type | Description |
---|---|---|
membershipId | string | ID of the membership |
Query Parameters
Name | Type | Description |
---|---|---|
limit | integer | The number of rewards to return |
from | string | Offset the result after the reward with this ID |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Access token using the |
Get membership reward detail
GET
https://api.petje.af/v1/memberships/:membershipId/rewards/:id
Scope: memberships.read
Path Parameters
Name | Type | Description |
---|---|---|
id | string | ID of the membership reward |
membershipId | string | ID of the membership |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Access token using the Bearer method |
Last updated