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
Name | Type | Nullable? | Description |
---|---|---|---|
auth | The authorization information necessary to fulfill this request. | ||
orders | A list of orders needing to be acknowledged in order to successfully be imported into our system. | ||
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 |
AcknowledgeOrdersResponse
The response for the AcknowledgeOrders method
Name | Type | Nullable? | Description |
---|---|---|---|
responses | A list of acknowledgement responses |