Skip to main content
mutation

Deletes a cart metafield.


Note

This mutation won't trigger Shopify Functions. The changes won't be available to Shopify Functions until the buyer goes to checkout or performs another cart interaction that triggers the functions.


•CartMetafieldDeleteInput!
required

The input fields used to delete a cart metafield.


Was this section helpful?

Anchor to CartMetafieldDeletePayload returnsCartMetafieldDeletePayload returns

•ID

The ID of the deleted cart metafield.

•[MetafieldDeleteUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?