Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 1.55 KB

File metadata and controls

20 lines (19 loc) · 1.55 KB

GiftCard

Properties

Name Type Description Notes
id String The gift card's ID
code String The unique code that identifies the Gift Card. This is used by the Customer to redeem the value of the Gift Card.
value Integer The value that the Gift Card represents.
balance Integer The remaining value on the Gift Card.
regionId String The id of the Region in which the Gift Card is available.
region Region [optional]
orderId String The id of the Order that the Gift Card was purchased in.
order Object An order object. Available if the relation `order` is expanded. [optional]
isDisabled Boolean Whether the Gift Card has been disabled. Disabled Gift Cards cannot be applied to carts.
endsAt OffsetDateTime The time at which the Gift Card can no longer be used.
taxRate BigDecimal The gift card's tax rate that will be applied on calculating totals
createdAt OffsetDateTime The date with timezone at which the resource was created.
updatedAt OffsetDateTime The date with timezone at which the resource was updated.
deletedAt OffsetDateTime The date with timezone at which the resource was deleted.
metadata Object An optional key-value map with additional details