[GET] Kayıtları listeleme
Yapay Zekâ Özeti
Mağazanın stoğa girince haber ver gönderimlerini sayfalama ile döndüren uç noktayı belgeler.
- İsteğe bağlı
pageparametresiyleGET /shop-api/back-in-stock/listçağırın. AuthorizationBearer başlığı gerekir; hız sınırıthrottle:30,1'dir.- Her gönderim; ürün ve varyant kimliklerini, müşteri e-postasını ve telefonunu, başlıkları, SKU'yu ve zaman damgalarını içerir.
status, stok yenileme e-postası beklemedeyken 0, gönderildiğinde 1'dir.
Yapay zekâ tarafından oluşturulan özet. Hata içerebilir; aşağıdaki kılavuzun tamamını kontrol edin.
* Kimlik doğrulama
Zorunlu Authorization: Bearer ••••••••••••••••••••••••••••••••••••
Sınır throttle:30,1
İstek
Mağazanın Stoğa girince haber ver (BIS) kayıt listesini sayfalama ile alır.
Uç nokta GET - /shop-api/back-in-stock/list?page=1
| Parametreler | Tür | Zorunlu |
|---|---|---|
| page | number | no |
GET /shop-api/back-in-stock/list?page=1 HTTP/1.1Host: preorder.globo.ioAuthorization: ************const myHeaders = new Headers();myHeaders.append("Authorization", "************");const requestOptions = { method: "GET", headers: myHeaders, redirect: "follow"};fetch("https://preorder.globo.io/shop-api/back-in-stock/list?page=1", requestOptions) .then((response) => response.text()) .then((result) => console.log(result)) .catch((error) => console.error(error));$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://preorder.globo.io/shop-api/back-in-stock/list?page=1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: ************'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Başarılı yanıt 200
{ "success": true, "data": [ { "id": 1, // Unique ID "product_id": 1234567890, // Shopify product ID without gid://shopify/Product/ "variant_id": 9876543210,// Shopify variant ID without gid://shopify/Variant/ "customer_phone": "+84123456789", "product_title": "Product Name", "variant_title": "Size M / Blue", "sku": "SKU-001", "status": 0, // 0 => pending send mail restock, 1 => sent "created_at": "2026-07-03T10:00:00.000000Z", "updated_at": "2026-07-03T10:00:00.000000Z" } ], "pagination": { "total": 25, "per_page": 10, "current_page": 1, "last_page": 3, "from": 1, "to": 10 }}Başarısız
{ "success" => false, "message" => "Something went wrong"}Bu sayfa yardımcı oldu mu?
Geri bildiriminiz için teşekkürler! Neyin eksik olduğunu bize söyleyin
Sorun bildir