Merhaba bir api kullanmak istiyorum

https://developers.trendyol.com/docs...t-ile-gonderim

// API URL si
https://api.trendyol.com/sapigw/suppliers/{supplierId}/shipment-packages/{Id}/alternative-delivery

Burada sipariş oluşturdum ve teslim etmedim. php ile bu apiyi kullanmak istiyorum paket id giriyorum telefon numarası giriyorum ama SMS Gönderimi olmuyor

Bu konuda bilgisi olan arkadaşlar bana kod konusunda yardımcı olabilir mi?

<?php
// Trendyol API URL'si
$url = 'https://api.trendyol.com/sapigw/suppliers/{supplierId}/shipment-packages/{Id}/alternative-delivery';
// Kullanıcı bilgileri
$supplierId = 'xxxx';
$id = '2434343434';
$apiKey = 'xxxxx';
// API isteği için gerekli başlık
$headers = array(
    'Content-Type: application/json',
    'Authorization: ApiKey ' . $apiKey
);
// API isteği için gerekli veri
$data = array(
    "isPhoneNumber" => true,
    "trackingInfo" => "54xxxxxxxx",
    "params" => array(
        "digitalCode" => "123454454545"
    )
);
// CURL ile API isteğini oluştur
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
// Yanıtı işle
if ($response === false) {
    echo 'API isteği başarısız: ' . curl_error($ch);
} else {
    // API yanıtını dizi olarak çözümle
    $responseData = json_decode($response, true);
    
    // Hata kontrolü
    if (isset($responseData['errors'])) {
        echo 'API hatası: ' . $responseData['errors'][0]['message'];
    } else {
        // Veri kontrolü
        if (isset($responseData['timestamp']) && isset($responseData['exception']) && isset($responseData['errors']) && $responseData['timestamp'] === 0 && $responseData['exception'] === "" && $responseData['errors'] === null) {
            echo 'API yanıtı: Veri bulunamadı veya beklenen formatta değil.';
        } else {
            // Başarılı yanıtı göster
            echo 'API yanıtı: ' . $response;
        }
    }
}
?>
API YANITI İse böyle gözüküyor

API yanıtı: {"timestamp":0,"exception":"","errors":null}