Having issues to add item to order with customFields #1439
-
Hello, I would like to use the graphql mutation addItemToOrder with the additional parameters customFields. I didn't succeed so far. I installed a simple app with @vendure/create my-app (version 1.4.6).
and here my graphql query :
i got a 400 error and cannot find out where I am wrong |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi!
This part might be the issue. When you have defined custom fields on |
Beta Was this translation helpful? Give feedback.
Hi!
This part might be the issue. When you have defined custom fields on
OrderLine
, the schema gets updated so that the customFields input argument should have the typeOrderLineCustomFieldsInput