We setup integration with our ERP System - Metakocka. Everything works fine except the inventory. Stock in Shopify stay the same and Metakocka doesn't get any reply from the store (API) what went wrong.
We set up integration correctly, we have all info about orders and everything from Shopify.
Without seeing the full implementation, it's difficult to pinpoint and exact reason why stock is not syncing correctly, but it could be due to a variety of reasons. Here are a few troubleshooting steps to consider:
Check API Access: Ensure that your ERP system has the necessary access to the Inventory APIs. Shopify requires specific permissions for each type of API resource.
Check API Call: Ensure that the API call being made is correct. This includes the endpoint, method (GET, POST, PUT, etc.), and the data being sent in the call.
Check Inventory Item ID: When retrieving inventory levels, ensure you're providing the correct ID of the inventory item in your request.
Check API Response: Make sure to properly handle and check the response from the API call. This can provide clues as to what might be going wrong.
Check Shopify Webhooks: If you're using webhooks to sync inventory, ensure they are set up correctly and triggering as expected.
Check Log Files: If possible, check the log files of your ERP system. This might provide more detailed information about what's going wrong.
If you're still having trouble, it might be best to get in touch with the support team of your ERP system. They might be able to provide more specific guidance based on your situation.