Geliştirici Merkezi

TR

DeleteInvoice

Belirtilen faturayı siler.

Method / Endpoint

DELETE/ {{API_URL}} Billing/DeleteInvoice/ {{ID}}

İstek Parametreleri

Parametre Adı Türü Zorunlu Açıklama
{{ID}} Integer Evet Fatura ID numarası

Harici Örnek

curl --location --request DELETE 'https://example.com/api/Billing/DeleteInvoice/123' \
--header 'Apikey: [YOUR_API_KEY]'

Dahili Örnek

Helper::Load("Api");
try {
    $result = Api::Billing()->DeleteInvoice(123);
    print_r($result);
}
catch (Exception $e)
{
    echo 'Error: '.$e->getMessage();
}

Örnek JSON Yanıtı

{
    "status": "successful"
}

Yanıt Parametreleri

Parametre Adı Türü Açıklama
status String Eylem Durumu "successful" veya "error"
message String Eylem durumu "error" gelmişse hata mesajı
UpdateInvoice CreateInvoiceItem

Bir Sorunuz mu Var?

Bize yazmaktan çekinmeyin. En kısa sürede yanıt göndereceğiz.
Bize Ulaşın.
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top