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