All URIs are relative to http://ce22.vg/index.php/rest/default
Method | HTTP request | Description |
---|---|---|
customerBalanceBalanceManagementV1ApplyPost | POST /V1/carts/mine/balance/apply |
bool customerBalanceBalanceManagementV1ApplyPost()
Apply store credit
<?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\CustomerBalanceBalanceManagementV1Api(
// 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
);
try {
$result = $apiInstance->customerBalanceBalanceManagementV1ApplyPost();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CustomerBalanceBalanceManagementV1Api->customerBalanceBalanceManagementV1ApplyPost: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
bool
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]