Home > @infiniteobjects/shopify-data-manager > AdminTypes > GiftCardUpdateInput
The input fields to update a gift card.
Signature:
export interface GiftCardUpdateInput
Property | Modifiers | Type | Description |
---|---|---|---|
customerId? | InputMaybe<Scalars[‘ID’][‘input’]> | (Optional) The ID of the customer who will receive the gift card. The ID can’t be changed if the gift card already has an assigned customer ID. | |
expiresOn? | InputMaybe<Scalars[‘Date’][‘input’]> | (Optional) The date at which the gift card will expire. If set to null , then the gift card will never expire. |
|
note? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The note associated with the gift card, which isn’t visible to the customer. | |
templateSuffix? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) 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 . |