- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
completeOrder - Order Module Reference
This documentation provides a reference to the completeOrder
method. This belongs to the Order Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
completeOrder(orderIds, sharedContext?): Promise<OrderDTO[]>#
This method sets the status of orders to completed
.
Example#
Parameters#
orderIds
string[]The orders' IDs.
Returns#
Promise
Promise<OrderDTO[]>The completed orders.
Promise
Promise<OrderDTO[]>completeOrder(orderId, sharedContext?): Promise<OrderDTO>#
This method sets the status of an order to completed
.
Example#
Parameters#
orderId
stringThe order's ID.
Returns#
Promise
Promise<OrderDTO>The completed order.
Promise
Promise<OrderDTO>Was this page helpful?