Setting inventory quantity for Gelato product is rolled back after a while

Topic summary

Inventory quantity for a Shopify product created via GraphQL from a Gelato template reverts to zero shortly after being set. The product is successfully created and added to a sales channel, and the inventory update initially applies.

Within seconds, the quantity is automatically reset to 0, and the author cannot identify which process overwrites it. Two screenshots (images) show the quantity change followed by an immediate rollback.

The author asks:

  • What could be causing the inventory to reset to zero?
  • How to ensure the inventory change persists?

Status: No resolution yet; seeking explanations and steps to prevent the automatic reset.

Summarized with AI on December 13. AI used: gpt-5.

Hi,

I am using GraphQL to create a product in Shopify based on a template from Gelato, and I successfully add it to a sales channel. Afterward, I update the inventory quantity for the product, and this also works as expected.

However, after a few seconds, the inventory quantity is reset to zero. I am unable to identify what is causing this change or which process might be overwriting the inventory.

Could you please help me understand:

  1. What could be causing the inventory to reset to zero?
  2. How can I ensure that my changes to the inventory persist successfully?

Thank you in advance for your assistance.

Best regards,
R