All URIs are relative to http://ce22.vg/index.php/rest/default
Method | HTTP request | Description |
---|---|---|
negotiableQuoteNegotiableQuotePriceManagementV1PricesUpdatedPost | POST /V1/negotiableQuote/pricesUpdated |
bool negotiableQuoteNegotiableQuotePriceManagementV1PricesUpdatedPost($negotiableQuoteNegotiableQuotePriceManagementV1PricesUpdatedPostBody)
Refreshes item prices, taxes, discounts, cart rules in the negotiable quote as per the latest changes in the catalog / shared catalog and in the price rules. Depending on the negotiable quote state and totals, all or just some of quote numbers will be recalculated. 'Update Prices' parameter forces refresh on any quote that is not locked for admin user, including the quotes with a negotiated price. The request can be applied to one or more quotes at the same time.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Krak\MagentoApiClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Krak\MagentoApiClient\Api\NegotiableQuoteNegotiableQuotePriceManagementV1Api(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$negotiableQuoteNegotiableQuotePriceManagementV1PricesUpdatedPostBody = new \Krak\MagentoApiClient\Model\NegotiableQuoteNegotiableQuotePriceManagementV1PricesUpdatedPostBody(); // \Krak\MagentoApiClient\Model\NegotiableQuoteNegotiableQuotePriceManagementV1PricesUpdatedPostBody |
try {
$result = $apiInstance->negotiableQuoteNegotiableQuotePriceManagementV1PricesUpdatedPost($negotiableQuoteNegotiableQuotePriceManagementV1PricesUpdatedPostBody);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling NegotiableQuoteNegotiableQuotePriceManagementV1Api->negotiableQuoteNegotiableQuotePriceManagementV1PricesUpdatedPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
negotiableQuoteNegotiableQuotePriceManagementV1PricesUpdatedPostBody | \Krak\MagentoApiClient\Model\NegotiableQuoteNegotiableQuotePriceManagementV1PricesUpdatedPostBody | [optional] |
bool
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]