All URIs are relative to https://my.yoast.test
Method | HTTP request | Description |
---|---|---|
exportOrders | GET /export-orders/{year}/{month}/{type} | Creates an export for orders |
exportOrdersV2 | GET /export-orders/v2/{from}/{to}/{type} | Creates an export for orders |
exportOrders($year, $month, $type, $password)
Creates an export for orders
Exports orders in a given time period.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Yoast\MyYoastApiClient\Api\ExportOrdersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$year = "year_example"; // string |
$month = "month_example"; // string |
$type = "type_example"; // string |
$password = "password_example"; // string |
try {
$apiInstance->exportOrders($year, $month, $type, $password);
} catch (Exception $e) {
echo 'Exception when calling ExportOrdersApi->exportOrders: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
year | string | ||
month | string | ||
type | string | ||
password | string | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
exportOrdersV2($from, $to, $type, $password)
Creates an export for orders
Exports orders in a given time period.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Yoast\MyYoastApiClient\Api\ExportOrdersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$from = "from_example"; // string |
$to = "to_example"; // string |
$type = "type_example"; // string |
$password = "password_example"; // string |
try {
$apiInstance->exportOrdersV2($from, $to, $type, $password);
} catch (Exception $e) {
echo 'Exception when calling ExportOrdersApi->exportOrdersV2: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
from | string | ||
to | string | ||
type | string | ||
password | string | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]