curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<domain>/<api prefix>/<version>/commerce/product/update/category/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
"ptype":<product_type_id>,
"<language_code>":"<name>",
"<language_code>":"<name>"
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer <access token>',
'Content-Type: application/json',
$response = curl_exec($curl);