Delete the OrderOnline integration

このページは 日本語 ではまだ利用できません。デフォルトの言語 (English) で表示しています。

Delete the OrderOnline integration

DELETEhttps://api.cekat.ai/integrations/delete

Disconnects your business’s OrderOnline integration. Returns the deleted integration, or no data if none was connected.

Authorization

api_keystringheaderrequired

Your Cekat API key, from Settings → Developers & API in the Cekat dashboard.

Response

200
401
429

Integration removed.

messagestring
dataobject | null

The API key is missing or invalid.

successboolean
status_codeinteger
errorobject
Show child attributes
messagestring

Rate limit exceeded. Wait and retry.

messagestring
DELETE/integrations/delete
cURL
JavaScript
Python
PHP
curl --request DELETE \
  --url 'https://api.cekat.ai/integrations/delete' \
  --header 'api_key: YOUR_API_KEY'
const response = await fetch('https://api.cekat.ai/integrations/delete', {
  method: 'DELETE',
  headers: { 'api_key': 'YOUR_API_KEY' },
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.cekat.ai/integrations/delete"
headers = {"api_key": "YOUR_API_KEY"}

response = requests.delete(url, headers=headers)
print(response.json())
<?php
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => 'https://api.cekat.ai/integrations/delete',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => 'DELETE',
  CURLOPT_HTTPHEADER => ['api_key: YOUR_API_KEY'],
]);

$response = curl_exec($curl);
curl_close($curl);
echo $response;
Response
200
401
429
{
  "message": "<string>",
  "data": {}
}
{
  "success": true,
  "status_code": 1,
  "error": {
    "message": "<string>"
  }
}
{
  "message": "<string>"
}