> 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/update-reward-configuration.md).

# Update reward configuration

Management\
\
This method allows updating data on a specific Reward.

````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"}},"reward":{"name":"reward","in":"path","description":"Reward ID","required":true,"schema":{"type":"string","format":"uuid"}}},"schemas":{"UpdateMaterialRewardRequestBody":{"title":"Material","required":["translations","activity","visibility"],"properties":{"translations":{"properties":{"en":{"required":["name"],"properties":{"name":{"description":"Reward name","type":"string"},"shortDescription":{"description":"Reward short description","type":"string"},"usageInstruction":{"description":"Reward usage instruction","type":"string"},"conditionsDescription":{"description":"Reward conditions description","type":"string"},"brandDescription":{"description":"Brand description","type":"string"},"brandName":{"description":"Brand description","type":"string"}},"type":"object"}},"type":"object"},"categories":{"description":"Categories","type":"array","items":{"type":"string","format":"uuid"}},"tax":{"description":"Price tax","type":"number","format":"float","maximum":100,"minimum":0},"price":{"description":"Price","type":"number","format":"float","minimum":0},"taxPriceValue":{"description":"Tax price value","type":"number","format":"float","minimum":0},"active":{"type":"boolean"},"target":{"description":"Link to tiers or segments:\n\n\n * `level` - Property `levels` is required\n * `segment` - Property `segments` is required\n","type":"string","enum":["level","segment"]},"levels":{"description":"Selects specific tiers of the member","type":"array","items":{"type":"string","format":"uuid"}},"segments":{"description":"Selects specific segments of the member","type":"array","items":{"type":"string","format":"uuid"}},"activity":{"description":"Activity period","required":["allTime"],"properties":{"allTime":{"description":"Marked as unlimited period","type":"boolean"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"visibility":{"description":"Visibility period","required":["allTime"],"properties":{"allTime":{"description":"Marked as unlimited period","type":"boolean"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"labels":{"description":"Labels","type":"array","items":{"required":["key","value"],"properties":{"key":{"type":"string"},"value":{"type":"string"}},"type":"object","additionalProperties":false}},"featured":{"type":"boolean"},"public":{"type":"boolean"},"costInPoints":{"description":"Cost of reward in units","type":"number","format":"float","minimum":0,"nullable":true},"sourceWalletTypeCode":{"description":"Wallet code as a source of units","type":"string","nullable":true},"customFields":{"type":"object","nullable":true,"description":"Custom-field values grouped by group key. Requires the CUSTOM_FIELD_REWARD feature flag; when disabled the field is silently ignored. On POST the supplied values are added; on PUT the supplied groups wholesale-replace existing custom fields for the reward.","additionalProperties":{"type":"object","additionalProperties":true}},"limits":{"$ref":"#/components/schemas/RewardLimit"},"usageLimit":{"description":"Legacy usage limits structure. Cannot be used together with limits.","required":["perUser"],"properties":{"perUser":{"description":"Usages limit per member (-1 means unlimited)","type":"number","format":"int32","minimum":-1},"general":{"description":"Global usages limit (-1 means unlimited). Required only when couponGenerator is defined.","type":"number","format":"int32","minimum":-1}},"type":"object","additionalProperties":false},"fulfillmentTracking":{"type":"boolean"}},"type":"object","additionalProperties":false},"RewardLimit":{"description":"New limits structure with intervals. Cannot be used together with usageLimit.","properties":{"general":{"required":["value"],"properties":{"interval":{"properties":{"type":{"type":"string","enum":["calendarHours","calendarDays","calendarWeeks","calendarMonths","calendarYears"]}},"type":"object"},"value":{"type":"number","format":"float"}},"type":"object"},"perMember":{"required":["value"],"properties":{"interval":{"properties":{"type":{"type":"string","enum":["calendarHours","calendarDays","calendarWeeks","calendarMonths","calendarYears"]}},"type":"object"},"value":{"type":"number","format":"float"}},"type":"object"}},"type":"object"},"UpdateStaticCouponRewardRequestBody":{"title":"Static coupon","required":["translations","activity","visibility","couponValue"],"properties":{"translations":{"properties":{"en":{"required":["name"],"properties":{"name":{"description":"Reward name","type":"string"},"shortDescription":{"description":"Reward short description","type":"string"},"usageInstruction":{"description":"Reward usage instruction","type":"string"},"conditionsDescription":{"description":"Reward conditions description","type":"string"},"brandDescription":{"description":"Brand description","type":"string"},"brandName":{"description":"Brand description","type":"string"}},"type":"object"}},"type":"object"},"categories":{"description":"Categories","type":"array","items":{"type":"string","format":"uuid"}},"tax":{"description":"Price tax","type":"number","format":"float","maximum":100,"minimum":0},"price":{"description":"Price","type":"number","format":"float","minimum":0},"taxPriceValue":{"description":"Tax price value","type":"number","format":"float","minimum":0},"active":{"type":"boolean"},"target":{"description":"Link to tiers or segments:\n\n\n * `level` - Property `levels` is required\n * `segment` - Property `segments` is required\n","type":"string","enum":["level","segment"]},"levels":{"description":"Selects specific tiers of the member","type":"array","items":{"type":"string","format":"uuid"}},"segments":{"description":"Selects specific segments of the member","type":"array","items":{"type":"string","format":"uuid"}},"activity":{"description":"Activity period","required":["allTime"],"properties":{"allTime":{"description":"Marked as unlimited period","type":"boolean"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"visibility":{"description":"Visibility period","required":["allTime"],"properties":{"allTime":{"description":"Marked as unlimited period","type":"boolean"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"labels":{"description":"Labels","type":"array","items":{"required":["key","value"],"properties":{"key":{"type":"string"},"value":{"type":"string"}},"type":"object","additionalProperties":false}},"featured":{"type":"boolean"},"public":{"type":"boolean"},"costInPoints":{"description":"Cost of reward in units","type":"number","format":"float","minimum":0,"nullable":true},"sourceWalletTypeCode":{"description":"Wallet code as a source of units","type":"string","nullable":true},"customFields":{"type":"object","nullable":true,"description":"Custom-field values grouped by group key. Requires the CUSTOM_FIELD_REWARD feature flag; when disabled the field is silently ignored. On POST the supplied values are added; on PUT the supplied groups wholesale-replace existing custom fields for the reward.","additionalProperties":{"type":"object","additionalProperties":true}},"limits":{"$ref":"#/components/schemas/RewardLimit"},"usageLimit":{"description":"Legacy usage limits structure. Cannot be used together with limits.","required":["perUser"],"properties":{"perUser":{"description":"Usages limit per member (-1 means unlimited)","type":"number","format":"int32","minimum":-1},"general":{"description":"Global usages limit (-1 means unlimited). Required only when couponGenerator is defined.","type":"number","format":"int32","minimum":-1}},"type":"object","additionalProperties":false},"daysInactive":{"description":"Inactive coupon period after redeem in days","type":"number","format":"int32","maximum":1000,"minimum":1},"daysValid":{"description":"Active coupon period after redeem in days. Not valid if dateValid is defined.","type":"number","format":"int32","maximum":1000,"minimum":1},"dateValid":{"description":"Explicit expiry date for the coupon. Must be within 1000 days from the current date.","type":"string","format":"date-time"},"couponGenerator":{"description":"If defined then coupon will be generated automatically based on defined strategy. Otherwise must be import manually.","required":["length","characterSet"],"properties":{"length":{"description":"Length of coupon","type":"number"},"characterSet":{"type":"string","enum":["alphanum","alpha","num"]},"prefix":{"type":"string"}},"type":"object","additionalProperties":false},"couponValueType":{"description":"Coupon value type (if empty, money will be default).","type":"string","enum":["money","percentage"]},"couponValue":{"description":"Coupon value * `money` - Money value greater than 0 * `percentage` - Percentage value 0 - 100\n","type":"number","format":"float","minimum":0,"exclusiveMinimum":true}},"type":"object","additionalProperties":false},"UpdateDynamicCouponRewardRequestBody":{"title":"Dynamic coupon","required":["translations","activity","visibility"],"properties":{"translations":{"properties":{"en":{"required":["name"],"properties":{"name":{"description":"Reward name","type":"string"},"shortDescription":{"description":"Reward short description","type":"string"},"usageInstruction":{"description":"Reward usage instruction","type":"string"},"conditionsDescription":{"description":"Reward conditions description","type":"string"},"brandDescription":{"description":"Brand description","type":"string"},"brandName":{"description":"Brand description","type":"string"}},"type":"object"}},"type":"object"},"categories":{"description":"Categories","type":"array","items":{"type":"string","format":"uuid"}},"tax":{"description":"Price tax","type":"number","format":"float","maximum":100,"minimum":0},"price":{"description":"Price","type":"number","format":"float","minimum":0},"taxPriceValue":{"description":"Tax price value","type":"number","format":"float","minimum":0},"active":{"type":"boolean"},"target":{"description":"Link to tiers or segments:\n\n\n * `level` - Property `levels` is required\n * `segment` - Property `segments` is required\n","type":"string","enum":["level","segment"]},"levels":{"description":"Selects specific tiers of the member","type":"array","items":{"type":"string","format":"uuid"}},"segments":{"description":"Selects specific segments of the member","type":"array","items":{"type":"string","format":"uuid"}},"activity":{"description":"Activity period","required":["allTime"],"properties":{"allTime":{"description":"Marked as unlimited period","type":"boolean"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"visibility":{"description":"Visibility period","required":["allTime"],"properties":{"allTime":{"description":"Marked as unlimited period","type":"boolean"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"labels":{"description":"Labels","type":"array","items":{"required":["key","value"],"properties":{"key":{"type":"string"},"value":{"type":"string"}},"type":"object","additionalProperties":false}},"featured":{"type":"boolean"},"public":{"type":"boolean"},"costInPoints":{"description":"Cost of reward in units","type":"number","format":"float","minimum":0,"nullable":true},"sourceWalletTypeCode":{"description":"Wallet code as a source of units","type":"string","nullable":true},"customFields":{"type":"object","nullable":true,"description":"Custom-field values grouped by group key. Requires the CUSTOM_FIELD_REWARD feature flag; when disabled the field is silently ignored. On POST the supplied values are added; on PUT the supplied groups wholesale-replace existing custom fields for the reward.","additionalProperties":{"type":"object","additionalProperties":true}},"limits":{"$ref":"#/components/schemas/RewardLimit"},"usageLimit":{"description":"Legacy usage limits structure. Cannot be used together with limits.","required":["perUser"],"properties":{"perUser":{"description":"Usages limit per member (-1 means unlimited)","type":"number","format":"int32","minimum":-1},"general":{"description":"Global usages limit (-1 means unlimited). Required only when couponGenerator is defined.","type":"number","format":"int32","minimum":-1}},"type":"object","additionalProperties":false},"daysInactive":{"description":"Inactive coupon period after redeem in days","type":"number","format":"int32","maximum":1000,"minimum":1},"daysValid":{"description":"Active coupon period after redeem in days. Not valid if dateValid is defined.","type":"number","format":"int32","maximum":1000,"minimum":1},"dateValid":{"description":"Explicit expiry date for the coupon. Must be within 1000 days from the current date.","type":"string","format":"date-time"},"couponGenerator":{"description":"If defined then coupon will be generated automatically based on defined strategy. Otherwise must be import manually.","required":["length","characterSet"],"properties":{"length":{"description":"Length of coupon","type":"number"},"characterSet":{"type":"string","enum":["alphanum","alpha","num"]},"prefix":{"type":"string"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"UpdateConversionCouponRewardRequestBody":{"title":"Conversion coupon","required":["translations","activity","visibility","unitsConversion"],"properties":{"translations":{"properties":{"en":{"required":["name"],"properties":{"name":{"description":"Reward name","type":"string"},"shortDescription":{"description":"Reward short description","type":"string"},"usageInstruction":{"description":"Reward usage instruction","type":"string"},"conditionsDescription":{"description":"Reward conditions description","type":"string"},"brandDescription":{"description":"Brand description","type":"string"},"brandName":{"description":"Brand description","type":"string"}},"type":"object"}},"type":"object"},"categories":{"description":"Categories","type":"array","items":{"type":"string","format":"uuid"}},"tax":{"description":"Price tax","type":"number","format":"float","maximum":100,"minimum":0},"price":{"description":"Price","type":"number","format":"float","minimum":0},"taxPriceValue":{"description":"Tax price value","type":"number","format":"float","minimum":0},"active":{"type":"boolean"},"target":{"description":"Link to tiers or segments:\n\n\n * `level` - Property `levels` is required\n * `segment` - Property `segments` is required\n","type":"string","enum":["level","segment"]},"levels":{"description":"Selects specific tiers of the member","type":"array","items":{"type":"string","format":"uuid"}},"segments":{"description":"Selects specific segments of the member","type":"array","items":{"type":"string","format":"uuid"}},"activity":{"description":"Activity period","required":["allTime"],"properties":{"allTime":{"description":"Marked as unlimited period","type":"boolean"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"visibility":{"description":"Visibility period","required":["allTime"],"properties":{"allTime":{"description":"Marked as unlimited period","type":"boolean"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"labels":{"description":"Labels","type":"array","items":{"required":["key","value"],"properties":{"key":{"type":"string"},"value":{"type":"string"}},"type":"object","additionalProperties":false}},"featured":{"type":"boolean"},"public":{"type":"boolean"},"costInPoints":{"description":"Cost of reward in units","type":"number","format":"float","minimum":0,"nullable":true},"sourceWalletTypeCode":{"description":"Wallet code as a source of units","type":"string","nullable":true},"customFields":{"type":"object","nullable":true,"description":"Custom-field values grouped by group key. Requires the CUSTOM_FIELD_REWARD feature flag; when disabled the field is silently ignored. On POST the supplied values are added; on PUT the supplied groups wholesale-replace existing custom fields for the reward.","additionalProperties":{"type":"object","additionalProperties":true}},"limits":{"$ref":"#/components/schemas/RewardLimit"},"usageLimit":{"description":"Legacy usage limits structure. Cannot be used together with limits.","required":["perUser"],"properties":{"perUser":{"description":"Usages limit per member (-1 means unlimited)","type":"number","format":"int32","minimum":-1},"general":{"description":"Global usages limit (-1 means unlimited). Required only when couponGenerator is defined.","type":"number","format":"int32","minimum":-1}},"type":"object","additionalProperties":false},"daysInactive":{"description":"Inactive coupon period after redeem in days","type":"number","format":"int32","maximum":1000,"minimum":1},"daysValid":{"description":"Active coupon period after redeem in days. Not valid if dateValid is defined.","type":"number","format":"int32","maximum":1000,"minimum":1},"dateValid":{"description":"Explicit expiry date for the coupon. Must be within 1000 days from the current date.","type":"string","format":"date-time"},"couponGenerator":{"description":"If defined then coupon will be generated automatically based on defined strategy. Otherwise must be import manually.","required":["length","characterSet"],"properties":{"length":{"description":"Length of coupon","type":"number"},"characterSet":{"type":"string","enum":["alphanum","alpha","num"]},"prefix":{"type":"string"}},"type":"object","additionalProperties":false},"unitsConversion":{"required":["rounding","ratio"],"properties":{"rounding":{"type":"string","enum":["default","up","down"]},"ratio":{"type":"number","format":"float","minimum":0}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"UpdateFortuneWheelRewardRequestBody":{"title":"fortune_wheel","required":["translations","activity","visibility","fortuneWheel"],"properties":{"translations":{"properties":{"en":{"required":["name"],"properties":{"name":{"description":"Reward name","type":"string"},"shortDescription":{"description":"Reward short description","type":"string"},"usageInstruction":{"description":"Reward usage instruction","type":"string"},"conditionsDescription":{"description":"Reward conditions description","type":"string"},"brandDescription":{"description":"Brand description","type":"string"},"brandName":{"description":"Brand description","type":"string"}},"type":"object"}},"type":"object"},"categories":{"description":"Categories","type":"array","items":{"type":"string","format":"uuid"}},"tax":{"description":"Price tax","type":"number","format":"float","maximum":100,"minimum":0},"price":{"description":"Price","type":"number","format":"float","minimum":0},"taxPriceValue":{"description":"Tax price value","type":"number","format":"float","minimum":0},"active":{"type":"boolean"},"target":{"description":"Link to tiers or segments:\n\n\n * `level` - Property `levels` is required\n * `segment` - Property `segments` is required\n","type":"string","enum":["level","segment"]},"levels":{"description":"Selects specific tiers of the member","type":"array","items":{"type":"string","format":"uuid"}},"segments":{"description":"Selects specific segments of the member","type":"array","items":{"type":"string","format":"uuid"}},"activity":{"description":"Activity period","required":["allTime"],"properties":{"allTime":{"description":"Marked as unlimited period","type":"boolean"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"visibility":{"description":"Visibility period","required":["allTime"],"properties":{"allTime":{"description":"Marked as unlimited period","type":"boolean"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"labels":{"description":"Labels","type":"array","items":{"required":["key","value"],"properties":{"key":{"type":"string"},"value":{"type":"string"}},"type":"object","additionalProperties":false}},"featured":{"type":"boolean"},"public":{"type":"boolean"},"costInPoints":{"description":"Cost of reward in units","type":"number","format":"float","minimum":0,"nullable":true},"sourceWalletTypeCode":{"description":"Wallet code as a source of units","type":"string","nullable":true},"customFields":{"type":"object","nullable":true,"description":"Custom-field values grouped by group key. Requires the CUSTOM_FIELD_REWARD feature flag; when disabled the field is silently ignored. On POST the supplied values are added; on PUT the supplied groups wholesale-replace existing custom fields for the reward.","additionalProperties":{"type":"object","additionalProperties":true}},"limits":{"$ref":"#/components/schemas/RewardLimit"},"usageLimit":{"description":"Legacy usage limits structure. Cannot be used together with limits.","required":["perUser"],"properties":{"perUser":{"description":"Usages limit per member (-1 means unlimited)","type":"number","format":"int32","minimum":-1},"general":{"description":"Global usages limit (-1 means unlimited). Required only when couponGenerator is defined.","type":"number","format":"int32","minimum":-1}},"type":"object","additionalProperties":false},"fortuneWheel":{"$ref":"#/components/schemas/FortuneWheelResponse"}},"type":"object","additionalProperties":false},"FortuneWheelResponse":{"required":["rules"],"properties":{"rules":{"type":"array","items":{"required":["name","effects","chance"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"effects":{"type":"array","items":{"oneOf":[{"title":"give_reward","required":["effect","rewardId"],"properties":{"effect":{"type":"string","enum":["give_reward"]},"rewardId":{"type":"string","format":"uuid"},"couponValueRule":{"description":"Optional - Only required if the reward is dynamic_coupon","type":"string"}},"type":"object","additionalProperties":false},{"title":"give_points","required":["effect","pointsRule"],"properties":{"effect":{"type":"string","enum":["give_points"]},"pointsRule":{"type":"string","pattern":"^\\d+$"},"walletCode":{"type":"string"}},"type":"object","additionalProperties":false}]}},"chance":{"type":"number","format":"float","maximum":1,"minimum":0}},"type":"object","additionalProperties":false}},"limits":{"$ref":"#/components/schemas/Limit"}},"type":"object","additionalProperties":false},"Limit":{"properties":{"points":{"required":["value"],"properties":{"interval":{"properties":{"type":{"type":"string"},"value":{"type":"integer","deprecated":true}},"type":"object"},"value":{"type":"number","format":"float"}},"type":"object"},"pointsPerMember":{"required":["value"],"properties":{"interval":{"properties":{"type":{"type":"string"},"value":{"type":"integer","deprecated":true}},"type":"object"},"value":{"type":"number","format":"float"}},"type":"object"},"executionsPerMember":{"required":["value"],"properties":{"interval":{"properties":{"type":{"type":"string"},"value":{"type":"integer","deprecated":true}},"type":"object"},"value":{"type":"number","format":"float"}},"type":"object"}},"type":"object"}},"responses":{"NoContent":{"description":"Success. No content."},"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"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/json":{"schema":{"required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}},"type":"object"}}}},"AccessDenied":{"description":"Forbidden.","content":{"application/json":{"schema":{"required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}},"type":"object"}}}},"NotFound":{"description":"Not found.","content":{"application/json":{"schema":{"required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}},"type":"object"}}}}}},"paths":{"/api/{storeCode}/reward/{reward}":{"put":{"tags":["Reward"],"summary":"Update reward configuration","description":"<label style=\"background-color: #D4EDBC;padding:5px;\">Management</label><br><br>\nThis method allows updating data on a specific Reward.\n","operationId":"_rewardPut","parameters":[{"$ref":"#/components/parameters/storeCode"},{"$ref":"#/components/parameters/reward"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"required":["reward"],"properties":{"reward":{"anyOf":[{"$ref":"#/components/schemas/UpdateMaterialRewardRequestBody"},{"$ref":"#/components/schemas/UpdateStaticCouponRewardRequestBody"},{"$ref":"#/components/schemas/UpdateDynamicCouponRewardRequestBody"},{"$ref":"#/components/schemas/UpdateConversionCouponRewardRequestBody"},{"$ref":"#/components/schemas/UpdateFortuneWheelRewardRequestBody"}]}},"type":"object","additionalProperties":false}}}},"responses":{"204":{"$ref":"#/components/responses/NoContent"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/AccessDenied"},"404":{"$ref":"#/components/responses/NotFound"}}}}}}
````


---

# 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/update-reward-configuration.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.
