Create 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>Creates a new tier structure. Depending on type, either point_balance (for POINT_BALANCE) or point_earned (for POINT_EARNED) is required and the other must be null/omitted. If expiration is omitted it defaults to { "type": "NO_RETENTION" }; if downgrade is omitted it defaults to { "type": "NO_DOWNGRADE" }; if status is omitted it defaults to DRAFT.
Request body
Response
The created tier structure.
Changes
Changed in 4 of the 62 revisions of this API.241137
- ▲
added
subschema #2subschema #3to 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 #2subschema #3from 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 #2subschema #3to the request bodyallOflistrequest-body-all-of-added
- ▲
added
subschema #3subschema #4subschema #5to the////request propertyallOflistrequest-property-all-of-added
- ●
removed
subschema #2subschema #3from the request bodyallOflistrequest-body-all-of-removed
- ●
removed
subschema #3subschema #4subschema #5from the////request propertyallOflistrequest-property-all-of-removed
- ▲
- ▲
added
subschema #1subschema #2subschema #3to the request bodyallOflistrequest-body-all-of-added
- ▲
removed from the
request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
request propertyoneOflistrequest-property-one-of-removed
- ▲
removed from the
request propertyoneOflistrequest-property-one-of-removed
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
the
response property's maxLength was unset from200for the response statusresponse-property-max-length-unset
- ▲
the
response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
the
response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
the
response's property type changed from no type toobjectfor statusresponse-property-type-changed
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ●
removed the request property
request-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ○
added the new optional request property
new-optional-request-property
- ○
the request property
became optionalrequest-property-became-optional
- ○
the request property
became optionalrequest-property-became-optional
- ○
added to the
request propertyoneOflistrequest-property-one-of-added
- ○
added to the
request propertyoneOflistrequest-property-one-of-added
- ○
added to the
request propertyoneOflistrequest-property-one-of-added
- ○
added the non-success response with the status
response-non-success-status-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 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
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the response property
became required for the statusresponse-property-became-required
- ○
the
response property const valuetier_structurewas added for the statusresponse-property-const-added
- ○
removed the
tier_structureenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
response property
updated_atlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
removed
subschema #2from theresponse propertyoneOflist for the response statusresponse-property-one-of-removed
- ○
removed
subschema #2from theresponse propertyoneOflist for the response statusresponse-property-one-of-removed
- ○
removed
subschema #2from theresponse propertyoneOflist for the response statusresponse-property-one-of-removed
- ○
the
response's property pattern^lts_[a-f0-9]+$was added for the statusresponse-property-pattern-added
This revision also has 292 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲