> For the complete documentation index, see [llms.txt](https://help.openloyalty.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.openloyalty.io/api-reference/reward/get-redeemed-rewards-list.md).

# Get redeemed rewards list

Integration\
\
This method returns a list of all redeemed rewards in the system. If sorting is not chosen, the rows will be returned in an unspecified order. To sort a result, use an `_orderBy` parameter in query.

````json
{"openapi":"3.0.0","info":{"title":"Open Loyalty","version":"0.0.1"},"tags":[{"name":"Reward","description":"These endpoints allow you to easily manage rewards."}],"servers":[{"url":"http://openloyalty.localhost"}],"security":[{"Bearer":[]},{"token":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"Open Loyalty has the JWT authorization.\nTo learn what a JSON Web Token is and how it works, check out Introduction to JSON Web Tokens <https://jwt.io/introduction/>\n\n### Obtain an access token\n\nSend a request with the parameters username and password\n\n#### Definition\n\n`POST /api/admin/login_check` [Go to definition](#operation/adminLoginCheck)\\\n`POST /api/{storeCode}/member/login_check` [Go to definition](#operation/memberLoginCheck)\n\n#### Example\n\n```bash\ncurl {HOST}/api/admin/login_check\n    -H 'Content-Type: application/json;charset=UTF-8'\n    -H 'Accept: application/json, text/plain, */*'\n    --data-binary '{\"username\":\"admin\",\"password\":\"password\"}'\n```\n\n#### Example Response\n\n```json\n{\n    \"token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6...\",\n    \"refresh_token\":\"0558f8bb29948c4e54c443f...\"\n}\n```\n\n### Using JSON Web Token\n\nAdd authorization header to each request\\\n`Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6...`\\\nYou can now access any API method you want under the /api prefix.\n\n#### Example\n```bash\ncurl {HOST}/api/{storeCode}/analytics/members\n    -H 'Accept: application/json'\n    -H 'Content-type: application/x-www-form-urlencoded'\n    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6...'\n```\n\n### Refresh JSON Web Token\nYou can refresh token using refresh_token that was given during login.\\\nThere are two endpoints\\\nTo refresh admin token `POST /api/token/refresh` [Go to definition](#operation/tokenRefresh)\\\nTo refresh member token `POST /api/{storeCode}/token/refresh` [Go to definition](#operation/tokenRefreshMember)\n","bearerFormat":"JWT","scheme":"bearer"},"token":{"type":"apiKey","name":"X-AUTH-TOKEN","in":"header"}},"parameters":{"storeCode":{"name":"storeCode","in":"path","description":"Store code","required":true,"schema":{"type":"string"}},"page":{"name":"_page","in":"query","description":"Number of page with results, starts from 1","required":false,"schema":{"type":"integer","default":1,"minimum":1}},"itemsOnPage":{"name":"_itemsOnPage","in":"query","description":"Items on one page","required":false,"schema":{"type":"integer","default":10,"maximum":50,"minimum":1}},"orderBy":{"name":"_orderBy","in":"query","description":"Sorting order. If sorting is not chosen, the rows will be returned in an unspecified order. Sort order: * `asc` - Ascending, from A to Z * `desc` - Descending, from Z to A","required":false,"style":"deepObject","explode":true,"schema":{"type":"object","additionalProperties":{"type":"string","enum":["asc","desc"]}}},"scroll":{"name":"_scroll","in":"query","description":"To use scroll pagination, add the `_scroll` parameter to your query:\n  ?_scroll\n\nTo retrieve the next page, take the `scroll` value from the previous response and use it in the next request:\n  ?_scroll=eyJjcmVhdGVkQXQiOiIyMDI1LTA3LTAxIDEzOjU2OjI5LjAyMTcwMyIsImlkIjoiNTM5N2RiYzYtZGVkMi00MTQ0LTlhMjQtOTRjYmI5YWVjNDBjIn0=\n\nNotes:\n  - Scroll pagination does not support sorting with `_orderBy`.\n  - Items are returned in ascending order by the `createdAt` field by default.\n","required":false,"schema":{"type":"string"}}},"schemas":{"StaticIssuedReward":{"properties":{"rewardId":{"type":"string","format":"uuid"},"issuedRewardId":{"type":"string","format":"uuid"},"name":{"type":"string"},"tax":{"type":"number","format":"float"},"taxPriceValue":{"type":"number","format":"float"},"price":{"type":"number","format":"float"},"customerId":{"type":"string","format":"uuid"},"status":{"type":"string"},"redemptionDate":{"type":"string","format":"date-time"},"issuedCoupon":{"properties":{"code":{"type":"string"},"value":{"type":"number","format":"float"},"activeFrom":{"type":"string","format":"date-time"},"activeTo":{"type":"string","format":"date-time"},"usedAt":{"type":"string","format":"date-time"}},"type":"object"},"customerData":{"properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":"string"},"loyaltyCardNumber":{"type":"string"},"address":{"type":"object"}},"type":"object"},"costInPoints":{"type":"number","format":"float"},"token":{"type":"string"},"rewardType":{"type":"string"},"actionCause":{"$ref":"#/components/schemas/ActionCause"},"cancelledAt":{"type":"string","format":"date-time"}},"type":"object"},"ActionCause":{"properties":{"campaignId":{"type":"string","format":"uuid","nullable":true},"customerId":{"type":"string","format":"uuid","nullable":true},"transactionId":{"type":"string","format":"uuid","nullable":true},"customEventId":{"type":"string","format":"uuid","nullable":true},"internalEventName":{"type":"string","nullable":true},"performedAt":{"description":"The date and time when the event was performed (purchase for transactions, registration for custom events). Equivalent to purchasedAt and eventDate. This value is null if actionCause does not come from a campaign.","type":"string","format":"date-time","nullable":true},"rewardId":{"description":"The reward definition ID when the transfer is related to a reward purchase or to a reward drawn from a Fortune Wheel.","type":"string","format":"uuid","nullable":true},"issuedRewardId":{"description":"The issued reward instance ID when the transfer is related to a reward redemption or to a reward drawn from a Fortune Wheel.","type":"string","format":"uuid","nullable":true}},"type":"object"},"SearchableTotalResponse":{"required":["all","filtered","estimated"],"properties":{"all":{"type":"integer","deprecated":true},"filtered":{"type":"integer","deprecated":true},"estimated":{"description":"Field estimated is used to show that the results are estimated. It might happen when there are more than 5000 results due to performance optimization.","type":"boolean","deprecated":true}},"type":"object","deprecated":true},"ScrollResponse":{"properties":{"next":{"description":"Scroll identifier for pagination","type":"string","nullable":true}},"type":"object","additionalProperties":false},"MaterialIssuedReward":{"properties":{"rewardId":{"type":"string","format":"uuid"},"issuedRewardId":{"type":"string","format":"uuid"},"name":{"type":"string"},"customerId":{"type":"string","format":"uuid"},"status":{"type":"string"},"redemptionDate":{"type":"string","format":"date-time"},"customerData":{"properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":"string"},"loyaltyCardNumber":{"type":"string"},"address":{"type":"object"}},"type":"object"},"costInPoints":{"type":"number"},"token":{"type":"string"},"rewardType":{"type":"string"},"actionCause":{"$ref":"#/components/schemas/ActionCause"},"cancelledAt":{"type":"string","format":"date-time"}},"type":"object"},"ConversionCouponIssuedReward":{"properties":{"rewardId":{"type":"string","format":"uuid"},"issuedRewardId":{"type":"string","format":"uuid"},"name":{"type":"string"},"tax":{"type":"number","format":"float"},"taxPriceValue":{"type":"number","format":"float"},"price":{"type":"number","format":"float"},"customerId":{"type":"string","format":"uuid"},"status":{"type":"string"},"redemptionDate":{"type":"string","format":"date-time"},"issuedCoupon":{"properties":{"code":{"type":"string"},"value":{"type":"number","format":"float"},"activeFrom":{"type":"string","format":"date-time"},"activeTo":{"type":"string","format":"date-time"},"usedAt":{"type":"string","format":"date-time"}},"type":"object"},"customerData":{"properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":"string"},"loyaltyCardNumber":{"type":"string"},"address":{"type":"object"}},"type":"object"},"costInPoints":{"type":"number","format":"float"},"token":{"type":"string"},"rewardType":{"type":"string"},"unitsConversion":{"properties":{"ratio":{"type":"number","format":"float"},"rounding":{"type":"string","enum":["up","down","default"]}},"type":"object"},"actionCause":{"$ref":"#/components/schemas/ActionCause"},"cancelledAt":{"type":"string","format":"date-time"}},"type":"object"},"DynamicIssuedReward":{"properties":{"rewardId":{"type":"string","format":"uuid"},"issuedRewardId":{"type":"string","format":"uuid"},"name":{"type":"string"},"tax":{"type":"number","format":"float"},"taxPriceValue":{"type":"number","format":"float"},"price":{"type":"number","format":"float"},"customerId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["issued","pending","approved","rejected","canceled","packing","awaiting_shipping","shipped","completed","returned"]},"redemptionDate":{"type":"string","format":"date-time"},"issuedCoupon":{"properties":{"code":{"type":"string"},"value":{"type":"number","format":"float"},"activeFrom":{"type":"string","format":"date-time"},"activeTo":{"type":"string","format":"date-time"},"usedAt":{"type":"string","format":"date-time"}},"type":"object"},"customerData":{"properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":"string"},"loyaltyCardNumber":{"type":"string"},"address":{"type":"object"}},"type":"object"},"costInPoints":{"type":"number","format":"float"},"token":{"type":"string"},"rewardType":{"type":"string"},"actionCause":{"$ref":"#/components/schemas/ActionCause"},"cancelledAt":{"type":"string","format":"date-time"}},"type":"object"},"FortuneWheelIssuedRewardBasic":{"properties":{"rewardId":{"type":"string","format":"uuid"},"issuedRewardId":{"type":"string","format":"uuid"},"name":{"type":"string"},"customerId":{"type":"string","format":"uuid"},"status":{"type":"string"},"redemptionDate":{"type":"string","format":"date-time"},"customerData":{"properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":"string"},"loyaltyCardNumber":{"type":"string"},"address":{"type":"object"}},"type":"object"},"costInPoints":{"type":"number"},"token":{"type":"string"},"rewardType":{"type":"string"},"actionCause":{"$ref":"#/components/schemas/ActionCause"},"cancelledAt":{"type":"string","format":"date-time"},"fortuneWheelStatus":{"required":["drawnAt","ruleName","effects"],"properties":{"drawnAt":{"type":"string","format":"date-time"},"ruleName":{"type":"string"},"effects":{"type":"array","items":{"$ref":"#/components/schemas/EffectResponseBasic"}}},"type":"object","additionalProperties":false}},"type":"object"},"EffectResponseBasic":{"oneOf":[{"title":"Unit Effect","required":["type","status"],"properties":{"type":{"type":"string","enum":["unit"]},"status":{"$ref":"#/components/schemas/EffectStatus"},"transfer":{"required":["transferId"],"properties":{"transferId":{"type":"string","format":"uuid"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},{"title":"Redemption Effect","required":["type","status"],"properties":{"type":{"type":"string","enum":["redemption"]},"status":{"$ref":"#/components/schemas/EffectStatus"},"redemption":{"required":["issuedRewardId"],"properties":{"issuedRewardId":{"type":"string","format":"uuid"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false}]},"EffectStatus":{"required":["code"],"properties":{"code":{"type":"string","enum":["success","partial_success","failure"]},"message":{"type":"string"}},"type":"object","additionalProperties":false}},"responses":{"BadRequest":{"description":"Bad request.","content":{"application/json":{"schema":{"required":["code","message","errors"],"properties":{"code":{"type":"integer"},"message":{"type":"string"},"errors":{"type":"array","items":{"required":["message","parameters","plural","code","path"],"properties":{"message":{"type":"string"},"parameters":{},"plural":{"type":"integer","nullable":true},"code":{"type":"string"},"path":{"type":"string"}},"type":"object"}}},"type":"object"}}}},"AccessDenied":{"description":"Forbidden.","content":{"application/json":{"schema":{"required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}},"type":"object"}}}}}},"paths":{"/api/{storeCode}/redemption":{"get":{"tags":["Reward"],"summary":"Get redeemed rewards list","description":"<label style=\"background-color: #BFE1F6;padding:5px;\">Integration</label><br><br>\nThis method returns a list of all redeemed rewards in the system.\nIf sorting is not chosen, the rows will be returned in an unspecified order.\nTo sort a result, use an `_orderBy` parameter in query.\n","operationId":"redemptionGetList","parameters":[{"$ref":"#/components/parameters/storeCode"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/itemsOnPage"},{"$ref":"#/components/parameters/orderBy"},{"$ref":"#/components/parameters/scroll"},{"name":"rewardId","in":"query","required":false,"schema":{"type":"string"}},{"name":"name","in":"query","required":false,"schema":{"type":"string"}},{"name":"token","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"costInPoints","in":"query","required":false,"schema":{"type":"integer"}},{"name":"rewardType","in":"query","required":false,"schema":{"type":"string"}},{"name":"redemptionDate","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"cancelledAt","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"fortuneWheelStatus:drawnAt","in":"query","description":"Fortune Wheel draw date, use the `[hasValue]` / `[notHasValue]` key to get only drawn / not drawn redemptions","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"customerId","in":"query","required":false,"schema":{"type":"string"}},{"name":"customerData:email","in":"query","required":false,"schema":{"type":"string"}},{"name":"customerData:firstName","in":"query","required":false,"schema":{"type":"string"}},{"name":"customerData:lastName","in":"query","required":false,"schema":{"type":"string"}},{"name":"customerData:phone","in":"query","required":false,"schema":{"type":"string"}},{"name":"customerData:loyaltyCardNumber","in":"query","required":false,"schema":{"type":"string"}},{"name":"actionCause:transactionId","in":"query","description":"Transaction id related to","required":false,"schema":{"type":"string"}},{"name":"actionCause:campaignId","in":"query","description":"Campaign id related to","required":false,"schema":{"type":"string"}},{"name":"actionCause:customEventId","in":"query","description":"Custom event id related to","required":false,"schema":{"type":"string"}},{"name":"actionCause:internalEventName","in":"query","description":"Internal event name related to","required":false,"schema":{"type":"string"}},{"name":"reward:labels","in":"query","description":"Labels using pattern e.g. (key1;value1),(key2;value2),...","required":false,"schema":{"type":"string"}},{"name":"reward:categories","in":"query","required":false,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"List of Issued Reward","content":{"application/json":{"schema":{"oneOf":[{"title":"StaticIssuedRewardWithTotal","required":["items","total"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/StaticIssuedReward"}},"total":{"$ref":"#/components/schemas/SearchableTotalResponse"}},"type":"object"},{"title":"StaticIssuedRewardWithScroll","required":["items","scroll"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/StaticIssuedReward"}},"scroll":{"$ref":"#/components/schemas/ScrollResponse"}},"type":"object"},{"title":"MaterialIssuedRewardWithTotal","required":["items","total"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MaterialIssuedReward"}},"total":{"$ref":"#/components/schemas/SearchableTotalResponse"}},"type":"object"},{"title":"MaterialIssuedRewardWithScroll","required":["items","scroll"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MaterialIssuedReward"}},"scroll":{"$ref":"#/components/schemas/ScrollResponse"}},"type":"object"},{"title":"ConversionCouponIssuedRewardWithTotal","required":["items","total"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ConversionCouponIssuedReward"}},"total":{"$ref":"#/components/schemas/SearchableTotalResponse"}},"type":"object"},{"title":"ConversionCouponIssuedRewardWithScroll","required":["items","scroll"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ConversionCouponIssuedReward"}},"scroll":{"$ref":"#/components/schemas/ScrollResponse"}},"type":"object"},{"title":"DynamicIssuedRewardWithTotal","required":["items","total"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/DynamicIssuedReward"}},"total":{"$ref":"#/components/schemas/SearchableTotalResponse"}},"type":"object"},{"title":"DynamicIssuedRewardWithScroll","required":["items","scroll"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/DynamicIssuedReward"}},"scroll":{"$ref":"#/components/schemas/ScrollResponse"}},"type":"object"},{"title":"FortuneWheelIssuedRewardWithTotal","required":["items","total"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/FortuneWheelIssuedRewardBasic"}},"total":{"$ref":"#/components/schemas/SearchableTotalResponse"}},"type":"object"},{"title":"FortuneWheelIssuedRewardWithScroll","required":["items","scroll"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/FortuneWheelIssuedRewardBasic"}},"scroll":{"$ref":"#/components/schemas/ScrollResponse"}},"type":"object"}]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/AccessDenied"}}}}}}
````


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.openloyalty.io/api-reference/reward/get-redeemed-rewards-list.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
