All URIs are relative to http://t213.vg/rest/default
Method | HTTP request | Description |
---|---|---|
salesRefundOrderV1ExecutePost | POST /V1/order/{orderId}/refund |
int salesRefundOrderV1ExecutePost($order_id, $body)
Create offline refund for order
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\SalesRefundOrderV1Api();
$order_id = 56; // int |
$body = new \Swagger\Client\Model\Body81(); // \Swagger\Client\Model\Body81 |
try {
$result = $api_instance->salesRefundOrderV1ExecutePost($order_id, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SalesRefundOrderV1Api->salesRefundOrderV1ExecutePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
order_id | int | ||
body | \Swagger\Client\Model\Body81 | [optional] |
int
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]