Skip to content

Get redemption available supply

Request

Get the available supply count for a specific redemption. Used for inventory display.

Security
projectKey
Path
idstringrequired
curl -i -X GET \
  'https://docs.pers.ninja/_mock/swagger/redemptions/{id}/supply' \
  -H 'x-project-key: YOUR_API_KEY_HERE'

Responses

Available supply count

Bodyapplication/json
availablenumber or nullrequired

Number of items available for supply. Null if unlimited.

totalnumber or nullrequired

Total number of items for supply. Null if unlimited.

Response
{ "available": 0, "total": 0 }