Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
So I need to update the stock level of a product in Tea Commerce.
I can't seem to use ContentService like this:
Is there a way I can update the stock level via ID of the product or SKU?
You can yes, however it's not available on the TC facade like GetStock so you'll need to go via the ProductService instead.
ProductService.Instance.SetStock( long storeId, string sku, decimal? value );
Hope this helps
Brill! Once again Matt, thank you for the amazingly quick response to this.
That's was the last part of the puzzle for my demo/proof of concept with the client in the morning,
Sage now integrated :)
You are more than welcome.
Good luck with the PoC tomorrow 😁
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted