GiftCard
Gift Cards are redeemable and represent a value that can be used towards the payment of an Order.
Properties
idstringRequiredThe gift card's ID
created_atDateRequiredThe date with timezone at which the resource was created.
updated_atDateRequiredThe date with timezone at which the resource was updated.
deleted_atnull | DateRequiredThe date with timezone at which the resource was deleted.
codestringRequiredThe unique code that identifies the Gift Card. This is used by the Customer to redeem the value of the Gift Card.
valuenumberRequiredThe value that the Gift Card represents.
balancenumberRequiredThe remaining value on the Gift Card.
region_idstringRequiredThe ID of the region this gift card is available in.
The details of the region this gift card is available in.
order_idstringRequiredThe ID of the order that the gift card was purchased in.
The details of the order that the gift card was purchased in.
is_disabledbooleanRequiredWhether the Gift Card has been disabled. Disabled Gift Cards cannot be applied to carts.
Default: false
ends_atDateRequiredThe time at which the Gift Card can no longer be used.
tax_ratenull | numberRequiredThe gift card's tax rate that will be applied on calculating totals
metadataRecord<string, unknown>RequiredAn optional key-value map with additional details
Was this section helpful?