Retrieving customised inventory prices in bulk
Posted: Thu Jul 21, 2022 6:44 pm
Hi. Looking for some advice on how best to integrate Jiwa with a custom ecommerce site. We are running Jiwa 07.02.01 and using PHP to communicate with the REST API.
Our first challenge is to display real-time customised inventory prices to our users when they browse and search our site.
Each user on our site will be linked to a debtor record in Jiwa — we're hoping to use the REST API to fetch inventory items with Jiwa's pricing logic already applied for that user/debtor, rather than having to replicate that logic in our own system.
Is there any way to efficiently retrieve a list of priced inventory items for a particular user (i.e. given a DebtorID and multiple InventoryIDs)? I've searched the API docs but haven't found any obvious way to do this, so any advice would be much appreciated
Thanks,
Michael
Our first challenge is to display real-time customised inventory prices to our users when they browse and search our site.
Each user on our site will be linked to a debtor record in Jiwa — we're hoping to use the REST API to fetch inventory items with Jiwa's pricing logic already applied for that user/debtor, rather than having to replicate that logic in our own system.
Is there any way to efficiently retrieve a list of priced inventory items for a particular user (i.e. given a DebtorID and multiple InventoryIDs)? I've searched the API docs but haven't found any obvious way to do this, so any advice would be much appreciated
Thanks,
Michael