A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hello,
The GraphQL Fulfillment Event Create API is used to update the status of deliveries. I am looking for a way to do this update in bulk.
I have tried using a loop to do the updates, but sometimes I get 503 errors with an HTML response saying: "There was a problem loading this website".
mutation { fulfillmentEventCreate(input: { fulfillmentId: "gid://shopify/Fulfillment/${id}", status: DELIVERED }) { userErrors { field message } } }
Thank you for your response.
In my project, I have integrated RabbitMQ with a 0.5-second delay between each API call, along with a system that logs the responses. I have multiple APIs in the project, and occasionally errors occur. However, the logs are clear and in JSON format, which helps identify where the error is. The only exception is with the api fulfillmentEventCreate, where the response is as follows :