--- title: CartGiftCardCodesRemovePayload - Storefront API description: Return type for `cartGiftCardCodesRemove` mutation. api_version: unstable api_name: storefront source_url: html: >- https://shopify.dev/docs/api/storefront/unstable/payloads/CartGiftCardCodesRemovePayload md: >- https://shopify.dev/docs/api/storefront/unstable/payloads/CartGiftCardCodesRemovePayload.md --- # Cart​Gift​Card​Codes​Remove​Payload payload Return type for `cartGiftCardCodesRemove` mutation. ## Fields * cart [Cart](https://shopify.dev/docs/api/storefront/unstable/objects/Cart) The updated cart. * user​Errors [\[Cart​User​Error!\]!](https://shopify.dev/docs/api/storefront/unstable/objects/CartUserError) non-null The list of errors that occurred from executing the mutation. * warnings [\[Cart​Warning!\]!](https://shopify.dev/docs/api/storefront/unstable/objects/CartWarning) non-null A list of warnings that occurred during the mutation. *** ## Mutations with this payload * [cart​Gift​Card​Codes​Remove](https://shopify.dev/docs/api/storefront/unstable/mutations/cartGiftCardCodesRemove) mutation Removes gift cards from a [`Cart`](https://shopify.dev/docs/api/storefront/unstable/objects/Cart) using their IDs. You can retrieve the IDs of applied gift cards from the cart's [`appliedGiftCards`](https://shopify.dev/docs/api/storefront/unstable/objects/Cart#field-Cart.fields.appliedGiftCards) field. * cart​Id [ID!](https://shopify.dev/docs/api/storefront/unstable/scalars/ID) required ### Arguments The ID of the cart. * applied​Gift​Card​Ids [\[ID!\]!](https://shopify.dev/docs/api/storefront/unstable/scalars/ID) required The gift cards to remove. The input must not contain more than `250` values. *** *** ## Map ### Mutations with this payload * [cart​Gift​Card​Codes​Remove](https://shopify.dev/docs/api/storefront/unstable/types/cartGiftCardCodesRemove)