[GET] 신청 상세
AI 개요
ID로 재입고 알림 신청 한 건의 세부 정보를 반환하는 엔드포인트를 설명합니다.
- 정수
submission_id와 함께GET /shop-api/back-in-stock/get/{submission_id}를 호출합니다. AuthorizationBearer 헤더가 필요하며, 속도 제한은throttle:30,1입니다.- 응답에는 제품, 이형 상품, 고객, SKU, 재고, 이메일 상태, 수신 거부, 열람, 클릭 데이터가 포함됩니다.
content는 사용자 지정 양식 데이터가 담긴 JSON 문자열이며,status가 1이면 재입고 이메일이 전송되었음을 의미합니다.- 오류에는 "ID is required"와 "Back in stock product not found"가 있습니다.
AI가 생성한 요약입니다. 오류가 있을 수 있으니 아래 전체 가이드를 확인하세요.
* 인증
필수 Authorization: Bearer ••••••••••••••••••••••••••••••••••••
제한 throttle:30,1
요청
엔드포인트 GET - /shop-api/back-in-stock/get/{submission_id}
경로 매개변수 : submission_id // 신청 ID (integer)
| 매개변수 | 유형 | 필수 |
|---|---|---|
submission_id | integer | yes |
GET /shop-api/back-in-stock/get/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/get/1323", 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/get/' . $id, 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;성공 응답 200
{ "success": true, "message": "", "data": { "id": 12345, // Unique submission ID "product_id": 1234567890, // Shopify product ID (numeric, not include gid://shopify/Product/) "variant_id": 9876543210, // Shopify variant ID (numeric, not include gid://shopify/Variant/) "customer_phone": "+84123456789", // Phone number (nullable) "product_title": "Product Name", // Product name at the time of registration "variant_title": "Size M / Blue", // Variant name (possibly "Default Title") "sku": "SKU-001", // SKU variant (nullable) "inventory_id": "45678901234", // Shopify inventory_item_id, used for inventory matching "status": 0, // 0 => email not sent, 1 => restock email sent "last_sent": "2026-07-03T10:00:00.000000Z", // Last email sent (nullable) "unsubscribe": 0, // 0 => still receiving notifications, 1 => unsubscribed "content": "{\"source\":\"manual\",\"keyLabel\":\"...\"}", // JSON string — Custom form data during signup (nullable) "locale": "default", // Locale use in template email notification "opened": 0, // 0 => email not opened; if opened, it's a datetime string according to the shop timezone. "clicked": 0, // 0 => The link in the email hasn't been clicked yet; if it has been clicked, then it's a datetime string. "note": "VIP customer", // Internal notes (nullable) "created_at": "2026-07-03T10:00:00.000000Z", "updated_at": "2026-07-03T10:00:00.000000Z" }}실패
// Missing ID{ "success": false, "message": "ID is required"}// Not found{ "success": false, "message": "Back in stock product not found"}// catch{ "success": false, "message": "Something went wrong"}도움이 되었나요?
의견을 보내 주셔서 감사합니다! 부족한 내용을 알려 주세요
문제 신고