- Store API
- Admin API
- Auth
- Batch Jobs
- Currencies
- Customers
- Customer Groups
- Discounts
- Draft Orders
- Gift Cards
- Inventory Items
- Invites
- Notes
- Notifications
- Orders
- Create a Reservation
- Cancel Claim's Fulfillment
- Ship a Claim's Fulfillment
- Cancel Swap's Fulfilmment
- Get Order Reservations
- Add a Shipping Method
- Create a Refund
- Get an Order
- Update an Order
- Create a Fulfillment
- Cancel a Swap
- List Orders
- Create a Swap
- Complete an Order
- Create a Swap Fulfillment
- Cancel a Claim
- Process a Swap Payment
- Ship a Fulfillment
- Capture an Order's Payments
- Archive Order
- Update a Claim
- Request a Return
- Create a Claim Fulfillment
- Ship a Swap's Fulfillment
- Cancel a Fulfilmment
- Create a Claim
- Cancel an Order
- Order Edits
- Payments
- Payment Collections
- Product Collections
- Product Tags
- Product Types
- Product Variants
- Price Lists
- Products
- Product Categories
- Publishable Api Keys
- Reservations
- Regions
- Return Reasons
- Returns
- Sales Channels
- Shipping Options
- Shipping Profiles
- Stock Locations
- Store
- Swaps
- Uploads
- Tax Rates
- Users
- 【Demo】Products
Resend Notification
POST
/admin/notifications/{id}/resend
Admin API/NotificationsNotifications
Request
Path Params
id
string
required
Body Params application/json
to
string
optional
to
field of the notification will be used.Example
{
"to": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/admin/notifications//resend' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200OK
application/json
Body
notification
object (Notification)
required
order.placed
. Notifications can be resent.id
string
required
Example:
noti_01G53V9Y6CKMCGBM1P0X7C28RX
event_name
string | null
required
Example:
order.placed
resource_type
string
required
Example:
order
resource_id
string
required
Example:
order_01G8TJSYT9M6AVS5N4EMNFS1EK
customer_id
string | null
required
Example:
cus_01G2SG30J8C85S4A5CHM2S1NS2
to
string
required
Example:
user@example.com
parent_id
string | null
required
Example:
noti_01G53V9Y6CKMCGBM1P0X7C28RX
parent_notification
object | null
optional
provider_id
string | null
required
Example:
sengrid
created_at
string <date-time>
required
updated_at
string <date-time>
required
data
object
required
Example:
{}
resends
array [object]
optional
provider
object (Notification Provider)
optional
customer
object (Customer)
optional
Example
{
"notification": {
"id": "noti_01G53V9Y6CKMCGBM1P0X7C28RX",
"event_name": "order.placed",
"resource_type": "order",
"resource_id": "order_01G8TJSYT9M6AVS5N4EMNFS1EK",
"customer_id": "cus_01G2SG30J8C85S4A5CHM2S1NS2",
"to": "user@example.com",
"parent_id": "noti_01G53V9Y6CKMCGBM1P0X7C28RX",
"parent_notification": {},
"provider_id": "sengrid",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"data": {},
"resends": [
{}
],
"provider": {
"id": "sendgrid",
"is_installed": true
},
"customer": {
"id": "cus_01G2SG30J8C85S4A5CHM2S1NS2",
"email": "user@example.com",
"first_name": "Arno",
"last_name": "Willms",
"billing_address_id": "addr_01G8ZH853YPY9B94857DY91YGW",
"phone": 16128234334802,
"has_account": false,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"orders": [
{}
],
"metadata": {
"car": "white"
},
"groups": [
{
"id": "cgrp_01G8ZH853Y6TFXWPG5EYE81X63",
"name": "VIP",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"customers": [
{}
],
"price_lists": [
{}
],
"metadata": {
"car": "white"
}
}
],
"billing_address": {
"id": "addr_01G8ZC9VS1XVE149MGH2J7QSSH",
"customer_id": "cus_01G2SG30J8C85S4A5CHM2S1NS2",
"customer": {},
"company": "Acme",
"first_name": "Arno",
"last_name": "Willms",
"address_1": "14433 Kemmer Court",
"address_2": "Suite 369",
"city": "South Geoffreyview",
"province": "Kentucky",
"postal_code": 72093,
"phone": 16128234334802,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"country_code": "st",
"metadata": {
"car": "white"
},
"country": {
"id": 109,
"name": "ITALY",
"display_name": "Italy",
"region_id": "reg_01G1G5V26T9H8Y0M4JNE3YGA4G",
"region": {},
"iso_2": "it",
"iso_3": "ita",
"num_code": 380
}
},
"shipping_addresses": [
{
"id": "addr_01G8ZC9VS1XVE149MGH2J7QSSH",
"customer_id": "cus_01G2SG30J8C85S4A5CHM2S1NS2",
"customer": {},
"company": "Acme",
"first_name": "Arno",
"last_name": "Willms",
"address_1": "14433 Kemmer Court",
"address_2": "Suite 369",
"city": "South Geoffreyview",
"province": "Kentucky",
"postal_code": 72093,
"phone": 16128234334802,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"country_code": "st",
"metadata": {
"car": "white"
},
"country": {
"id": 109,
"name": "ITALY",
"display_name": "Italy",
"region_id": "reg_01G1G5V26T9H8Y0M4JNE3YGA4G",
"region": {},
"iso_2": "it",
"iso_3": "ita",
"num_code": 380
}
}
]
}
}
}
🟠400Client Error or Multiple Errors
🟠401User is not authorized. Must log in first
🟠404Not Found Error
🟠409Invalid State Error
🟠422Invalid Request Error
🔴500Server Error
Modified at 2024-05-23 07:10:14