Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.42 KB

StatusApi.md

File metadata and controls

53 lines (36 loc) · 1.42 KB

Kaufland\Seller\StatusApi

All URIs are relative to /v2

Method HTTP request Description
ping GET /status/ping Ping the Marketplace Seller API by Kaufland

ping

\Kaufland\Seller\Model\ApiResponsePingMessage_ ping()

Ping the Marketplace Seller API by Kaufland

A simple method you can call that will return a constant value as long as everything is good.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new Kaufland\Seller\Api\StatusApi(
    // 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()
);

try {
    $result = $apiInstance->ping();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StatusApi->ping: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

This endpoint does not need any parameter.

Return type

\Kaufland\Seller\Model\ApiResponsePingMessage_

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]