Bonjour
pour le changement de la quantité d’un produit, j’envois:
$apiURL = "https://" . $domainName . "/api/index.php/products/".$id;
$response = $this->client->request(
'PUT',
$apiURL,
[
'headers' => [
"accept: application/json",
"content-type: application/json",
"DOLAPIKEY:". $token,
],
'json' => $product,
]
);
a chaque fois je reçois erreur 400
Est ce que quelqu’un peut m’aider svp