Wrong isVisible, Visibility values after setting

in Development
Hi,
We try to sent following code via API to set below values:
$this->api->products->update(
$productId, [
'product' => [
'isVisible' => false,
'visibility' => 'hidden'
]
] );
However we retrieve the product back
where these values have not been changed / set...
Can you please investigate?
1 comment
There's probably something wrong with your code.
Have you tried to do a manual curl request?
Fill the cluster, product ID and the base64 encrypted of your api key and secret and tell me if you're able to get the change as you expect
Adrian Samuel
API Integrations Consultant - Strategic Solutions
Lightspeed HQ