Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Synchronize Shop Inventory (fetch_stock) not updating inventory level

Synchronize Shop Inventory (fetch_stock) not updating inventory level

charlie-smr
Visitor
1 0 0

Store: https://bayer-online.myshopify.com/

Hi, we have integrated with the REST FulfillmentService /fetch_stock API however it is not working as expected.

We can see in our server logs that Shopify is requesting the stocklevel every hour, and a well formed response is returned on average within 200ms.

See this SKU for example: gICAuMz3ihaAgICs88C3FICAgNzC_qsU is returned with stocklevel 0, but stocklevel is not changed in shopify. gICAuMz3ihaAgIDcr-uGFICAgNybuLkW is returned with stocklevel 2, again no change in shopify.

Endpoint that shopify is requesting: https://api.sorthub.com/wh/SHxDOKL8twDAThYsT-C-S2OFlkYXjdPBAzgPCpRLP-pS/FgsI-sT_MJKgrUaT4NxeJSTPgk5r...


Response (shortened):
{
...
"gICAuMz3ihaAgIDcr-uGFICAgNybuLkW": 2,
"gICAuMz3ihaAgICs88C3FICAgNzC_qsU": 0,
...
}

 

Replies 0 (0)