Skip to main content

GiftCard

Representation of a giftcard

type GiftCard {
id: Int!
code: String!
value: MonetaryValue
currency: Currency!
}

Fields​

id ● Int!​

Internal id of the giftcard

code ● String!​

The code of the giftcard

value ● MonetaryValue​

Value of the gift card

currency ● Currency!​

Currency of the gift card

Example​

{
"value": {
"currency": {
"code": "USD",
"rate": 11.355,
"prefix": "$"
},
"tax": {}
}
}