Anchor to section titled 'undefined'

GiftCardCreateInput
input_object

The input fields to issue a gift card.


The gift card's code. It must be 8-20 characters long and contain only letters(a-z) and numbers(0-9). It isn't case sensitive. If not provided, then a random code will be generated.

The ID of the customer who will receive the gift card. Requires write_customers access_scope.

The date at which the gift card will expire. If not provided, then the gift card will never expire.

The initial value of the gift card.

The note associated with the gift card, which isn't visible to the customer.

The suffix of the Liquid template that's used to render the gift card online. For example, if the value is birthday, then the gift card is rendered using the template gift_card.birthday.liquid. If not provided, then the default gift_card.liquid template is used.


Was this section helpful?


Was this section helpful?
Map
GiftCardCreateInput

Mutations using this input