NotificationStatus()

This method is called to check the status of a notifciation in an async process from the order source.

Syntax

module.exports = async function NotificationStatus(request) {
// Your code here
}
import {
NotificationStatusRequest,
NotificationStatusResponse
} from "@shipengine/connect-order-source-api";
export const NotificationStatus = async (
request: NotificationStatusRequest
): Promise<NotificationStatusResponse> => {
// Your code here
}

NotificationStatusRequest

NameTypeNullable?Description
auth

Auth

The authorization information necessary to fulfill this request.

notifications

PendingNotification[]

An array of notifications that were pending confirmation from the third party

sales_order_status_mapping

SalesOrderStatusMapping[]

seller specified mappings for custom statuses coming from the 3rd parties api and the SalesOrderStatus they should map to.

transaction_idstring

A randomly generated transaction ID, used to correlate the request and response

NotificationStatusResponse

The response for a NotifyShipments method

NameTypeNullable?Description
notification_results

ShipmentNotificationResult[]

A list of results for shipment notifications