Przejdź do głównej zawartości

CartUpdateGiftCardRecipientInput

Input for cartUpdateGiftCardRecipient — sets the recipient details for a gift card line item.

input CartUpdateGiftCardRecipientInput {
cartId: ID!
lineItemId: ID!
message: String
recipientEmail: String
recipientName: String
}

Fields​

CartUpdateGiftCardRecipientInput.cartId ● ID! non-null scalar​

ID of the cart to update.

CartUpdateGiftCardRecipientInput.lineItemId ● ID! non-null scalar​

ID of the cart line; the line must be a gift card SKU.

CartUpdateGiftCardRecipientInput.message ● String scalar​

Personalised message included with the gift card (max 500 chars).

CartUpdateGiftCardRecipientInput.recipientEmail ● String scalar​

Recipient email — where the gift card code will be delivered.

CartUpdateGiftCardRecipientInput.recipientName ● String scalar​

Recipient display name.

Member Of​

cartUpdateGiftCardRecipient mutation