How to get stocklevel from product endpoint
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- switch-cheehau
- Posts: 14
- Joined: 23 Jun 2021, 02:39
How to get stocklevel from product endpoint
Hi Aimeos,
I'm trying to build an integration to help updating the stock level from 3rd portal.
How to get stock level from admin/jsonadm/product endpoint?
Does it make sense that when call to product endpoint, stocklevel is included?
If not, i have to call to admin/jsonadm/stock to get the stocklevel.
But from stock endpoint i cannot get product information as well.
I'm trying to build an integration to help updating the stock level from 3rd portal.
How to get stock level from admin/jsonadm/product endpoint?
Does it make sense that when call to product endpoint, stocklevel is included?
If not, i have to call to admin/jsonadm/stock to get the stocklevel.
But from stock endpoint i cannot get product information as well.
- switch-cheehau
- Posts: 14
- Joined: 23 Jun 2021, 02:39
Re: How to get stocklevel from product endpoint
By the way,
i tried to call http://localhost/admin/jsonadm/product? ... tock,price
only price return, stock does not return anything
i tried to call http://localhost/admin/jsonadm/product? ... tock,price
only price return, stock does not return anything
Re: How to get stocklevel from product endpoint
It's currently not possible to get the stock levels together with product details in one request to the JsonAdm API so you have to perform two requests, one for the product and one for the stock levels.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
- switch-cheehau
- Posts: 14
- Joined: 23 Jun 2021, 02:39
Re: How to get stocklevel from product endpoint
Hi Aimeos,
Thanks for the information
Thanks for the information