메인 콘텐츠로 건너뛰기
POST
/
api
/
v2
/
orders
/
webhooks
/
{webhookId}
/
events
/
{eventId}
/
retry
cURL
curl -X POST https://api.bizmori.com/api/v2/orders/webhooks/WEBHOOK_ID/events/EVENT_ID/retry \
  -H "Authorization: Bearer YOUR_API_TOKEN"
const response = await fetch(
`https://api.bizmori.com/api/v2/orders/webhooks/${webhookId}/events/${eventId}/retry`,
{
method: 'POST',
headers: { 'Authorization': 'Bearer YOUR_API_TOKEN' }
}
);
const data = await response.json();
import requests

response = requests.post(
f'https://api.bizmori.com/api/v2/orders/webhooks/{webhook_id}/events/{event_id}/retry',
headers={'Authorization': 'Bearer YOUR_API_TOKEN'}
)
data = response.json()
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bizmori.com/api/v2/orders/webhooks/{webhookId}/events/{eventId}/retry",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.bizmori.com/api/v2/orders/webhooks/{webhookId}/events/{eventId}/retry"

req, _ := http.NewRequest("POST", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.bizmori.com/api/v2/orders/webhooks/{webhookId}/events/{eventId}/retry")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.bizmori.com/api/v2/orders/webhooks/{webhookId}/events/{eventId}/retry")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "data": {
    "event_id": "<string>",
    "success": true,
    "status_code": 123,
    "status": "FAILED",
    "error": "<string>"
  }
}
{
"code": "AUTH_NOT_AUTHENTICATED"
}
{
"code": "RESOURCE_NOT_FOUND"
}
{
"code": "<string>"
}

인증

Authorization
string
header
필수

외부 클라이언트 접근을 위한 API 키

경로 매개변수

webhookId
integer
필수

웹훅 ID

eventId
integer
필수

웹훅 이벤트 ID

응답

성공

data
object