Wondering what the best practice for this is... I need inventory tracking.
This is my current workflow:
Check to see if customer exists in Zoho. If not, create contact. Grab the customer_id.
Then add the line items to the sale order. However, this is where I am running into trouble.
I need to use the item_id when creating the sales order, but I have no easy way to retrieve this. First of all, the List Items call doesn't have a query for SKU, so I would have to use name and I can't guarantee that my online store and Zoho items share the same name. Secondly, if I have to use an API call to find every items individually I am going to blow through my daily API calls in no time.
There must be an easier way, if I could use the SKU field when creating the sales order and have Zoho match the fields for me that would be great. SKU is already guaranteed to exist and be unique.
The SKU field isn't even present on the sales order line item?! I feel like I must be missing something.