Liquid, Javascript, thèmes
here is the error
"errors": [
{
"message": "Field 'fulfillmentCreate' doesn't exist on type 'Mutation'",
"locations": [
{
"line": 2,
"column": 9
}
],
"path": [
"mutation fulfillmentCreate",
"fulfillmentCreate"
],
"extensions": {
"code": "undefinedField",
"typeName": "Mutation",
"fieldName": "fulfillmentCreate"
}
},
{
"message": "Variable $input is declared by fulfillmentCreate but not used",
"locations": [
{
"line": 1,
"column": 1
}
],
"path": [
"mutation fulfillmentCreate"
],
"extensions": {
"code": "variableNotUsed",
"variableName": "input"
}
}
],
i got the same code for months and it work well but recently I have this error, has this function been removed from graphql?
here is the code with nodejs package -> @Shopify/shopify-api
await shopifyGraphqlClient.query({
data: {
query: `mutation fulfillmentCreate($input: FulfillmentInput!) {
fulfillmentCreate(input: $input) {
userErrors {
field
message
}
}
}`,
variables: {
input: {
locationId: locationId,
notifyCustomer: false,
orderId: `gid://shopify/Order/${order.marketplaceOrderId}`,
...trackingInfos,
},
},
},
})
I point out that this code has been working for months,
could someone please enlighten me?
Utilisateur | CLASSEMENT |
---|---|
6 | |
5 | |
3 | |
2 | |
2 |
La création d'une entreprise peut s'avérer difficile. Il y a beaucoup de choses à mettre e...
By Océanne Nov 29, 2023Le Black Friday Cyber Monday (BFCM), ou Vendredi Fou et Cyber Lundi, 2023 se profile à l'h...
By Océanne Oct 18, 2023Cet article de blog est un récapitulatif du webinaire Se préparer à BFCM : Comment lanc...
By Jacqui Oct 11, 2023