-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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:
mutation UPDATE_CART( $leathers: [cart_MatrixBlockContainerInput] ) { updateViewer(cart: {blocks: $leathers}) { id ... on User { id cart { ... on cart_leather_BlockType { id leatherId } } } } }
Then I pass the following variables:
"leathers": [{ "leather": { "id": "919191910" , "leatherId": 5330, "quantity": 100, "collectionId": 5322 } }]
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ò
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working