Update tier structure
<Info><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 a tier structure. All properties are optional; provided values are merged with the existing tier structure. When type is provided as POINT_EARNED, point_earned is required and point_balance must be null; when type is POINT_BALANCE, point_balance is required and point_earned must be null. When the tier structure is not in DRAFT status, only name and metadata may be updated; attempting to update other properties results in a validation error.
Path parameters
Unique tier structure identifier.
Request body
Response
The updated tier structure.
Changes
Changed in 3 of the 62 revisions of this API.5410
- ▲
added
subschema #1subschema #2to the request bodyallOflistrequest-body-all-of-added
- ▲
the
request property const value changed fromNO_EXPIRATIONtoNO_RETENTIONrequest-property-const-changed
- ▲
removed the enum value
NO_EXPIRATIONof the request property/////request-property-enum-value-removed
- ●
removed
subschema #1subschema #2from the request bodyallOflistrequest-body-all-of-removed
- ●
added the new
NO_RETENTIONenum value to the/response property for the response statusresponse-property-enum-value-added
- ○
added the new
NO_RETENTIONenum value to the request property/////request-property-enum-value-added
- ○
removed the
NO_EXPIRATIONenum value from the/response property for the response statusresponse-property-enum-value-removed
This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ▲
added
subschema #1subschema #2to the request bodyallOflistrequest-body-all-of-added
- ▲
added
subschema #3subschema #4subschema #5to the////request propertyallOflistrequest-property-all-of-added
- ●
removed
subschema #1subschema #2from the request bodyallOflistrequest-body-all-of-removed
- ●
removed
subschema #3subschema #4subschema #5from the////request propertyallOflistrequest-property-all-of-removed
- ▲