AcknowledgeOrders()

This method is called when a sales order is imported into one of our e-commerce applications.

Syntax

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

AcknowledgeOrdersRequest

This is a request for acknowledging that an order has been imported

NameTypeNullable?Description
auth

Auth

The authorization information necessary to fulfill this request.

orders

OrderAcknowledgement[]

A list of orders needing to be acknowledged in order to successfully be imported into our system.

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

AcknowledgeOrdersResponse

The response for the AcknowledgeOrders method

NameTypeNullable?Description
responses

OrderAcknowledgementResponse[]

A list of acknowledgement responses