All URIs are relative to http://t213.vg/rest/default
Method | HTTP request | Description |
---|---|---|
rmaRmaManagementV1SaveRmaPost | POST /V1/returns | |
rmaRmaManagementV1SaveRmaPut | PUT /V1/returns/{id} | |
rmaRmaManagementV1SearchGet | GET /V1/returns |
\SpringImport\Swagger\Magento2\Client\Model\RmaDataRmaInterface rmaRmaManagementV1SaveRmaPost($body)
Save RMA
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\RmaRmaManagementV1Api();
$body = new \SpringImport\Swagger\Magento2\Client\Model\Body135(); // \SpringImport\Swagger\Magento2\Client\Model\Body135 |
try {
$result = $api_instance->rmaRmaManagementV1SaveRmaPost($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RmaRmaManagementV1Api->rmaRmaManagementV1SaveRmaPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \SpringImport\Swagger\Magento2\Client\Model\Body135 | [optional] |
\SpringImport\Swagger\Magento2\Client\Model\RmaDataRmaInterface
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\SpringImport\Swagger\Magento2\Client\Model\RmaDataRmaInterface rmaRmaManagementV1SaveRmaPut($id, $body)
Save RMA
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\RmaRmaManagementV1Api();
$id = "id_example"; // string |
$body = new \SpringImport\Swagger\Magento2\Client\Model\Body132(); // \SpringImport\Swagger\Magento2\Client\Model\Body132 |
try {
$result = $api_instance->rmaRmaManagementV1SaveRmaPut($id, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RmaRmaManagementV1Api->rmaRmaManagementV1SaveRmaPut: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | ||
body | \SpringImport\Swagger\Magento2\Client\Model\Body132 | [optional] |
\SpringImport\Swagger\Magento2\Client\Model\RmaDataRmaInterface
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\SpringImport\Swagger\Magento2\Client\Model\RmaDataRmaSearchResultInterface rmaRmaManagementV1SearchGet($searchCriteriaFilterGroups0Filters0Field, $searchCriteriaFilterGroups0Filters0Value, $searchCriteriaFilterGroups0Filters0ConditionType, $searchCriteriaSortOrders0Field, $searchCriteriaSortOrders0Direction, $searchCriteriaPageSize, $searchCriteriaCurrentPage)
Return list of rma data objects based on search criteria
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new SpringImport\Swagger\Magento2\Client\Api\RmaRmaManagementV1Api();
$searchCriteriaFilterGroups0Filters0Field = "searchCriteriaFilterGroups0Filters0Field_example"; // string | Field
$searchCriteriaFilterGroups0Filters0Value = "searchCriteriaFilterGroups0Filters0Value_example"; // string | Value
$searchCriteriaFilterGroups0Filters0ConditionType = "searchCriteriaFilterGroups0Filters0ConditionType_example"; // string | Condition type
$searchCriteriaSortOrders0Field = "searchCriteriaSortOrders0Field_example"; // string | Sorting field.
$searchCriteriaSortOrders0Direction = "searchCriteriaSortOrders0Direction_example"; // string | Sorting direction.
$searchCriteriaPageSize = 56; // int | Page size.
$searchCriteriaCurrentPage = 56; // int | Current page.
try {
$result = $api_instance->rmaRmaManagementV1SearchGet($searchCriteriaFilterGroups0Filters0Field, $searchCriteriaFilterGroups0Filters0Value, $searchCriteriaFilterGroups0Filters0ConditionType, $searchCriteriaSortOrders0Field, $searchCriteriaSortOrders0Direction, $searchCriteriaPageSize, $searchCriteriaCurrentPage);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RmaRmaManagementV1Api->rmaRmaManagementV1SearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
searchCriteriaFilterGroups0Filters0Field | string | Field | [optional] |
searchCriteriaFilterGroups0Filters0Value | string | Value | [optional] |
searchCriteriaFilterGroups0Filters0ConditionType | string | Condition type | [optional] |
searchCriteriaSortOrders0Field | string | Sorting field. | [optional] |
searchCriteriaSortOrders0Direction | string | Sorting direction. | [optional] |
searchCriteriaPageSize | int | Page size. | [optional] |
searchCriteriaCurrentPage | int | Current page. | [optional] |
\SpringImport\Swagger\Magento2\Client\Model\RmaDataRmaSearchResultInterface
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]