Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.9 KB

MiraklApi.md

File metadata and controls

59 lines (41 loc) · 1.9 KB

Swagger\Client\MiraklApi

All URIs are relative to https://rest.paycomet.com

Method HTTP request Description
miraklInvoicesSearch POST /v1/invoices Search Mirakl invoices

miraklInvoicesSearch

\Swagger\Client\Model\InlineResponse2008 miraklInvoicesSearch($paycomet_api_token, $body)

Search Mirakl invoices

nirakl_invoice_search

Example

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

$apiInstance = new Swagger\Client\Api\MiraklApi(
    // 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()
);
$paycomet_api_token = "paycomet_api_token_example"; // string | PAYCOMET API key (Query privilege required)
$body = new \Swagger\Client\Model\V1InvoicesBody(); // \Swagger\Client\Model\V1InvoicesBody | 

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

Parameters

Name Type Description Notes
paycomet_api_token string PAYCOMET API key (Query privilege required)
body \Swagger\Client\Model\V1InvoicesBody [optional]

Return type

\Swagger\Client\Model\InlineResponse2008

Authorization

No authorization required

HTTP request headers

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

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