All URIs are relative to https://}.
Method | HTTP request | Description |
---|---|---|
publishError() | POST /v1/callback/error | Publish callback error |
publishError($x_application_id, $x_store_id, $x_event_id, $event_callback_error)
Publish callback error
RATE LIMIT: 8 per minute
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2.0
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\CallbackEndpointsApi(
// 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(),
$config
);
$x_application_id = 'x_application_id_example'; // string
$x_store_id = 'x_store_id_example'; // string
$x_event_id = cf0ce51b-d74e-40d3-b177-1925ab4edc0c; // string
$event_callback_error = new \OpenAPI\Client\Model\EventCallbackError(); // \OpenAPI\Client\Model\EventCallbackError
try {
$apiInstance->publishError($x_application_id, $x_store_id, $x_event_id, $event_callback_error);
} catch (Exception $e) {
echo 'Exception when calling CallbackEndpointsApi->publishError: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
x_application_id | string | ||
x_store_id | string | ||
x_event_id | string | ||
event_callback_error | \OpenAPI\Client\Model\EventCallbackError |
void (empty response body)
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]