I have tried to use mutation of cartTransformDelete I have tried using id and gid with objectName as ShopifyFunction and CartTransform nothing works.
Topic summary
Main issue: Deleting a Cart Transform via the Admin GraphQL mutation cartTransformDelete fails. The requester tried passing both id and gid, using objectName values ShopifyFunction and CartTransform, without success.
Guidance provided: Ensure the app has the correct access scope. Specifically, the write_cart_transforms scope is required to perform this mutation.
References: Contributors linked the official Shopify Admin GraphQL documentation for cartTransformDelete. The docs should clarify required inputs, permissions, and expected ID formats.
Request for clarity: The requester asked for a concrete example of a valid gid for cartTransformDelete. They want to know the exact GID format to pass.
Response to request: No specific GID example was provided; only the documentation link was reiterated. Emphasis remained on verifying scopes.
Status and next steps: Unresolved. The requester should verify the app has write_cart_transforms and obtain the correct CartTransform GID (Shopify Global ID) from the API. A concrete GID example or instructions on retrieving the CartTransform ID from the API would likely resolve the issue.
Hello @Rishabhtontine ,
If you perform this function you must have access scope please check the shopify mutation for cartTransformDelete
Thanks
Can you provide the gid example of cartTransformDelete?
https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/cartTransformDelete
This is the example i shared you above replied, and please check you write on your scope this? write_cart_transforms