I’m only able to query cartTransforms from the shopify graphiql app, and not my custom app. My app has read and write cart transforms permissions. I can set metafields on the cartTransform via the metafieldsSet mutation, but cannot query for the current values. No errors are returned, just a blank array.
query cartTransforms ($first: Int!){
cartTransforms(first: $first) {
edges {
node {
id
metafields (first: 10) {
edges {
node {
key
namespace
id
value
}
}
}
}
}
}
}
This same query correctly returns cartTransforms from the graphiql app. This is what is returned from my custom app:
{
"data": {
"cartTransforms": {
"edges": []
}
}
}