Skip to main content
Anchor to CartTransformDeletePayload

CartTransformDeletePayload

payload

Return type for cartTransformDelete mutation.

•ID

The globally-unique ID for the deleted cart transform.

•[CartTransformDeleteUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Removes an existing cart transform function from the merchant's store, disabling any customized bundle or cart modification logic it provided. This mutation persistently deletes the transform configuration and stops all associated cart processing.

For example, when discontinuing a bundle app or removing specific merchandising features, you would delete the corresponding cart transform to ensure customers no longer see the bundled products or modified cart behavior.

Use CartTransformDelete to:

  • Deactivate customized bundle logic when removing app features
  • Clean up unused transform functions
  • Disable cart modifications during app uninstallation
  • Remove outdated merchandising strategies
  • Restore default cart behavior for merchants

The deletion processes immediately and returns the ID of the removed cart transform for confirmation. Once deleted, the transform function stops processing new cart operations, though existing cart sessions may retain their current state until refresh. This ensures a clean transition without disrupting active customer sessions.

Consider the timing of deletions carefully, as removing transforms during peak shopping periods could affect customer experience if they have active carts with transformed items.

Learn more about managing cart transforms.


Was this section helpful?