GiftCard
Gift Cards are redeemable and represent a value that can be used towards the payment of an Order.
Properties
balance
numberRequiredThe remaining value on the Gift Card.
code
stringRequiredThe unique code that identifies the Gift Card. This is used by the Customer to redeem the value of the Gift Card.
created_at
DateRequiredThe date with timezone at which the resource was created.
deleted_at
null | DateRequiredThe date with timezone at which the resource was deleted.
ends_at
DateRequiredThe time at which the Gift Card can no longer be used.
id
stringRequiredThe gift card's ID
is_disabled
booleanRequiredWhether the Gift Card has been disabled. Disabled Gift Cards cannot be applied to carts.
Default: false
metadata
Record<string, unknown>RequiredAn optional key-value map with additional details
The details of the order that the gift card was purchased in.
order_id
stringRequiredThe ID of the order that the gift card was purchased in.
The details of the region this gift card is available in.
region_id
stringRequiredThe ID of the region this gift card is available in.
tax_rate
null | numberRequiredThe gift card's tax rate that will be applied on calculating totals
updated_at
DateRequiredThe date with timezone at which the resource was updated.
value
numberRequiredThe value that the Gift Card represents.
Was this section helpful?