Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.78 KB

ValidationsValidateResponseBodyRedeemablesItem.md

File metadata and controls

43 lines (27 loc) · 1.78 KB

ValidationsValidateResponseBodyRedeemablesItem

Properties

Name Type Description
status StatusEnum
id String Redeemable ID, i.e. the voucher code.
_object ObjectEnum Redeemable's object type.
order OrderCalculated
applicableTo ApplicableToResultList
inapplicableTo InapplicableToResultList
result ValidationsValidateResponseBodyRedeemablesItemResult
metadata Object The metadata object stores all custom attributes in the form of key/value pairs assigned to the redeemable.
categories List<CategoryWithStackingRulesType>
campaignName String Campaign name. Displayed only if the `options.expand` is passed with a `redeemable` value in the validation request body.
campaignId String Unique campaign ID assigned by Voucherify. Displayed only if the `options.expand` is passed with a `redeemable` value in the validation request body.
name String Name of the promotion tier. Displayed only if the `options.expand` is passed with a `redeemable` value in the validation request body.

Enum: StatusEnum

Name Value
APPLICABLE "APPLICABLE"
INAPPLICABLE "INAPPLICABLE"
SKIPPED "SKIPPED"

Enum: ObjectEnum

Name Value
VOUCHER "voucher"
PROMOTION_TIER "promotion_tier"