Skip to main content
Skip to main content

confirmOrderChange - Order Module Reference

This documentation provides a reference to the confirmOrderChange method. This belongs to the Order Module.

confirmOrderChange(orderId, sharedContext?): Promise<void>

This method Represents the completion of an asynchronous operation

Example

await orderModuleService.confirmOrderChange("123456789");

Parameters

orderIdstringRequired
The order's ID.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when {summary}

confirmOrderChange(orderId, sharedContext?): Promise<void>

This method Represents the completion of an asynchronous operation

Example

await orderModuleService.confirmOrderChange(["12345"]);

Parameters

orderIdstring[]Required
The order's ID.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when {summary}

confirmOrderChange(data, sharedContext?): Promise<void>

This method Represents the completion of an asynchronous operation

Example

await orderModuleService.confirmOrderChange({
id: "123456"
});

Parameters

The confirm order change details.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when {summary}

confirmOrderChange(data, sharedContext?): Promise<void>

This method Represents the completion of an asynchronous operation

Example

const confirmOrderChangesData: ConfirmOrderChangeDTO[] = [{
id: "orderChangeId",
}];

await orderModuleService.confirmOrderChange(confirmOrderChangesData);

Parameters

dataConfirmOrderChangeDTO[]Required
The confirm order change details.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when {summary}
Was this section helpful?