API & Cron Job Not Updating Product as Required

[ad_1]

I’m trying to update a product’s quantity at a specific location but it only updates on the tab where I’m signed in to WordPress. This is the endpoint I’m using for updating the quantity at the specific location: ?slw-api&id=5038&stock_value=444&action=set&item=stock&format=default&product_id=5038&location_id=273. I also have the cron job running but again, it only updates where I’m logged in to WP. This is the cron job I’m using: ?slw-crons&action=update-stock&limit=10&reconsider=minute&product_id=0. No clue why it is behaving the way it is.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer