SpringImport\Swagger\Magento2\Client\RmaRmaRepositoryV1Api
May 18, 2017 ยท View on GitHub
All URIs are relative to http://t213.vg/rest/default
| Method | HTTP request | Description |
|---|---|---|
| rmaRmaRepositoryV1DeleteDelete | DELETE /V1/returns/{id} | |
| rmaRmaRepositoryV1GetGet | GET /V1/returns/{id} |
rmaRmaRepositoryV1DeleteDelete
bool rmaRmaRepositoryV1DeleteDelete(body)
Delete RMA
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\RmaRmaRepositoryV1Api();
$id = "id_example"; // string |
$body = new \SpringImport\Swagger\Magento2\Client\Model\Body133(); // \SpringImport\Swagger\Magento2\Client\Model\Body133 |
try {
$result = $api_instance->rmaRmaRepositoryV1DeleteDelete($id, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RmaRmaRepositoryV1Api->rmaRmaRepositoryV1DeleteDelete: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| body | \SpringImport\Swagger\Magento2\Client\Model\Body133 | [optional] |
Return type
bool
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]
rmaRmaRepositoryV1GetGet
\SpringImport\Swagger\Magento2\Client\Model\RmaDataRmaInterface rmaRmaRepositoryV1GetGet($id)
Return data object for specified RMA id
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\RmaRmaRepositoryV1Api();
$id = 56; // int |
try {
$result = $api_instance->rmaRmaRepositoryV1GetGet($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RmaRmaRepositoryV1Api->rmaRmaRepositoryV1GetGet: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | int |
Return type
\SpringImport\Swagger\Magento2\Client\Model\RmaDataRmaInterface
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]