SpringImport\Swagger\Magento2\Client\SalesOrderAddressRepositoryV1Api
May 18, 2017 ยท View on GitHub
All URIs are relative to http://t213.vg/rest/default
| Method | HTTP request | Description |
|---|---|---|
| salesOrderAddressRepositoryV1SavePut | PUT /V1/orders/{parent_id} |
salesOrderAddressRepositoryV1SavePut
\SpringImport\Swagger\Magento2\Client\Model\SalesDataOrderAddressInterface salesOrderAddressRepositoryV1SavePut(body)
Performs persist operations for a specified order address.
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\SalesOrderAddressRepositoryV1Api();
$parentId = "parentId_example"; // string |
$body = new \SpringImport\Swagger\Magento2\Client\Model\Body74(); // \SpringImport\Swagger\Magento2\Client\Model\Body74 |
try {
$result = $api_instance->salesOrderAddressRepositoryV1SavePut($parentId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SalesOrderAddressRepositoryV1Api->salesOrderAddressRepositoryV1SavePut: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| parentId | string | ||
| body | \SpringImport\Swagger\Magento2\Client\Model\Body74 | [optional] |
Return type
\SpringImport\Swagger\Magento2\Client\Model\SalesDataOrderAddressInterface
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]