Retrieve price matrix for product
Request parameters
Parameter
Type / Description
Request sample
<?php
require('PATH_TO_AUTH');
$priceMatrixRequestObject1 = new stdClass;
$priceMatrixRequestObject1->productCode = "474FF7C0FD"
$priceMatrixRequestObject1->pricingConfigurationCode = "514EE48419"
$requestBody = [
$priceMatrixRequestObject1
]
try {
$priceMatrix = $client->addPromotion($sessionID, $requestBody);
} catch (SoapFault $e) {
echo "NewPromotion: " . $e->getMessage();
exit;
}
var_dump("Promotion", $priceMatrix);Response parameters
Parameter
Type / Description
Last updated
Was this helpful?