You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to update a Matrix field via the updateViewer mutation.
The field has blocks with 3 inner fields (String):
In GraphQL I'm using the following Mutation:
mutation UPDATE_CART(
$leathers: [cart_MatrixBlockContainerInput]
) {
updateViewer(cart: {blocks: $leathers}) {
id
... on User {
id
cart {
... on cart_leather_BlockType {
id
leatherId
}
}
}
}
}
I'm also passing an Authorization token JWT and the Mutation runs without errors, but the matrix field is empty.
Does anyone had the same issue?
Thanks in advance and regards,
Nicolò
The text was updated successfully, but these errors were encountered:
Nic1911
changed the title
Unable to update User Matrix field using updateViewer Mutation
Unable to update Matrix field using updateViewer Mutation
Mar 21, 2024
Hi!
I'm trying to update a Matrix field via the updateViewer mutation.
The field has blocks with 3 inner fields (String):
In GraphQL I'm using the following Mutation:
Then I pass the following variables:
I'm also passing an Authorization token JWT and the Mutation runs without errors, but the matrix field is empty.
Does anyone had the same issue?
Thanks in advance and regards,
Nicolò
The text was updated successfully, but these errors were encountered: