api shop stock fix