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
Name | Type | Nullable? | Description |
---|---|---|---|
auth | The authorization information necessary to fulfill this request. | ||
notifications | An array of notifications that were pending confirmation from the third party | ||
sales_order_status_mapping | seller specified mappings for custom statuses coming from the 3rd parties api and the SalesOrderStatus they should map to. | ||
transaction_id | string | A randomly generated transaction ID, used to correlate the request and response |
NotificationStatusResponse
The response for a NotifyShipments method
Name | Type | Nullable? | Description |
---|---|---|---|
notification_results | A list of results for shipment notifications |