SpringImport\Swagger\Magento2\Client\SalesInvoiceOrderV1Api

May 18, 2017 ยท View on GitHub

All URIs are relative to http://t213.vg/rest/default

MethodHTTP requestDescription
salesInvoiceOrderV1ExecutePostPOST /V1/order/{orderId}/invoice

salesInvoiceOrderV1ExecutePost

int salesInvoiceOrderV1ExecutePost(orderId,orderId, 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

NameTypeDescriptionNotes
orderIdint
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]