We control our inventory in salesforce, so I am trying to update the inventory value of a product in Shopify from the corresponding value of the corresponding product (which corresponds to a custom object named "Item") in Salesforce.
I'm new to Shopify and Workato and am trying to understand how to update inventory levels in shopify.
I'm getting a 404 error when I search for a product handle and then try and update the inventory of the corresponding product.
The handle exists, but I expect it might be attached to the "parent" product rather than the default variant.
Best Answer
A
Amanda Wong
said
about 7 years ago
The Shopify product should have been created with a default variant. You can use "Update product variant" action to update the inventory quantity. Please ensure you use the correct ID pill to update product variant -- take note to mapProduct Variant ID instead of the Product ID. It should work once you map the correct ID pill.
To understand how to map data pills to field correctly, you would need to understand how the fields correspond to the app data.
You can create a simple recipe with a trigger or search action to retrieve a particular record for testing. Take a look at the trigger/search output in the Job Report to understand more about the data being passed over from Shopify to Workato to help you check that you are mapping the correct data pills to the data fields in your recipe. Hope this helps!
Answer
Amanda Wong
said
about 7 years ago
The Shopify product should have been created with a default variant. You can use "Update product variant" action to update the inventory quantity. Please ensure you use the correct ID pill to update product variant -- take note to mapProduct Variant ID instead of the Product ID. It should work once you map the correct ID pill.
To understand how to map data pills to field correctly, you would need to understand how the fields correspond to the app data.
You can create a simple recipe with a trigger or search action to retrieve a particular record for testing. Take a look at the trigger/search output in the Job Report to understand more about the data being passed over from Shopify to Workato to help you check that you are mapping the correct data pills to the data fields in your recipe. Hope this helps!
Saul Macht
Shopify: Update Product Inventory Levels
Hi,
We control our inventory in salesforce, so I am trying to update the inventory value of a product in Shopify from the corresponding value of the corresponding product (which corresponds to a custom object named "Item") in Salesforce.
I'm new to Shopify and Workato and am trying to understand how to update inventory levels in shopify.
I'm getting a 404 error when I search for a product handle and then try and update the inventory of the corresponding product.
The handle exists, but I expect it might be attached to the "parent" product rather than the default variant.
The Shopify product should have been created with a default variant. You can use "Update product variant" action to update the inventory quantity. Please ensure you use the correct ID pill to update product variant -- take note to map Product Variant ID instead of the Product ID. It should work once you map the correct ID pill.
To understand how to map data pills to field correctly, you would need to understand how the fields correspond to the app data.
You can create a simple recipe with a trigger or search action to retrieve a particular record for testing. Take a look at the trigger/search output in the Job Report to understand more about the data being passed over from Shopify to Workato to help you check that you are mapping the correct data pills to the data fields in your recipe. Hope this helps!
Amanda Wong
The Shopify product should have been created with a default variant. You can use "Update product variant" action to update the inventory quantity. Please ensure you use the correct ID pill to update product variant -- take note to map Product Variant ID instead of the Product ID. It should work once you map the correct ID pill.
To understand how to map data pills to field correctly, you would need to understand how the fields correspond to the app data.
You can create a simple recipe with a trigger or search action to retrieve a particular record for testing. Take a look at the trigger/search output in the Job Report to understand more about the data being passed over from Shopify to Workato to help you check that you are mapping the correct data pills to the data fields in your recipe. Hope this helps!