Resend Notification
curl --request POST \
--url https://{defaultHost}/v1/orders/{id}/resend_notification \
--header 'Authorization: Bearer <token>'import requests
url = "https://{defaultHost}/v1/orders/{id}/resend_notification"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{defaultHost}/v1/orders/{id}/resend_notification', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{defaultHost}/v1/orders/{id}/resend_notification",
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://{defaultHost}/v1/orders/{id}/resend_notification"
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://{defaultHost}/v1/orders/{id}/resend_notification")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{defaultHost}/v1/orders/{id}/resend_notification")
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{
"id": "1d967fa8-fe7c-4177-b717-3589a1c3cab2",
"object": "order",
"fulfillment_status": "unfulfilled",
"live_mode": true,
"number": "0000",
"order_type": "checkout",
"return_status": "not_returned",
"shipment_status": "unshippable",
"portal_url": "http://app.example.com/portal_redirect/orders/1d967fa8-fe7c-4177-b717-3589a1c3cab2",
"statement_url": "http://app.example.com/statements/orders/1d967fa8-fe7c-4177-b717-3589a1c3cab2",
"status": "paid",
"checkout": "d54d9ca4-ab7e-4c9a-b0be-cc6a24bc0247",
"created_at": 1796063950,
"updated_at": 1796063950
}Orders
Resend Notification
Resend order confirmation or subscription renewal email to the customer.
POST
/
v1
/
orders
/
{id}
/
resend_notification
Resend Notification
curl --request POST \
--url https://{defaultHost}/v1/orders/{id}/resend_notification \
--header 'Authorization: Bearer <token>'import requests
url = "https://{defaultHost}/v1/orders/{id}/resend_notification"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{defaultHost}/v1/orders/{id}/resend_notification', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{defaultHost}/v1/orders/{id}/resend_notification",
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://{defaultHost}/v1/orders/{id}/resend_notification"
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://{defaultHost}/v1/orders/{id}/resend_notification")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{defaultHost}/v1/orders/{id}/resend_notification")
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{
"id": "1d967fa8-fe7c-4177-b717-3589a1c3cab2",
"object": "order",
"fulfillment_status": "unfulfilled",
"live_mode": true,
"number": "0000",
"order_type": "checkout",
"return_status": "not_returned",
"shipment_status": "unshippable",
"portal_url": "http://app.example.com/portal_redirect/orders/1d967fa8-fe7c-4177-b717-3589a1c3cab2",
"statement_url": "http://app.example.com/statements/orders/1d967fa8-fe7c-4177-b717-3589a1c3cab2",
"status": "paid",
"checkout": "d54d9ca4-ab7e-4c9a-b0be-cc6a24bc0247",
"created_at": 1796063950,
"updated_at": 1796063950
}Authorizations
Response
200 - application/json
Success
Was this page helpful?