SpringImport\Swagger\Magento2\Client\SalesInvoiceOrderV1Api
May 18, 2017 ยท View on GitHub
All URIs are relative to http://t213.vg/rest/default
| Method | HTTP request | Description |
|---|---|---|
| salesInvoiceOrderV1ExecutePost | POST /V1/order/{orderId}/invoice |
salesInvoiceOrderV1ExecutePost
int salesInvoiceOrderV1ExecutePost(body)
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\SalesInvoiceOrderV1Api();
$orderId = 56; // int |
$body = new \SpringImport\Swagger\Magento2\Client\Model\Body86(); // \SpringImport\Swagger\Magento2\Client\Model\Body86 |
try {
$result = $api_instance->salesInvoiceOrderV1ExecutePost($orderId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SalesInvoiceOrderV1Api->salesInvoiceOrderV1ExecutePost: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| orderId | int | ||
| body | \SpringImport\Swagger\Magento2\Client\Model\Body86 | [optional] |
Return type
int
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]