Update program reward assignment
Changed on<Badge color="gray">Documentation in progress</Badge>
This documentation is in progress. The parameters, fields, request and response bodies, and other data may be subject to change. If you need more information or you want to share feedback, contact Voucherify support or your Technical Account Manager.
</Info>Updates the stock configuration of a reward assigned to a program. Returns the updated reward assignment.
A successful call records vl.program.reward.updated.
Request
- Base URLhttps://api.voucherify.io
- Auth
- API key in header X-App-Id and API key in header X-App-Token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The updated reward assignment.
Changes
- breaking
added to the request body
allOflist - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
deleted the
pathrequest parameterprogramId - warning
deleted the
pathrequest parameterrewardId - warning
removed the request property
- info
added to the response body
allOflist for the response status
- breaking
- breaking
added the new path request parameter
programId - breaking
added the new path request parameter
rewardId - breaking
added the new required request property
- warning
removed from the request body
allOflist - info
removed from the response body
allOflist for the response status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking