Skip to main content
Skip to main content

declineOrderChange - Order Module Reference

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

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

This method Represents the completion of an asynchronous operation

Example

await orderModuleService.declineOrderChange("orderChangeId");

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}

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

This method Represents the completion of an asynchronous operation

Example

await orderModuleService.declineOrderChange(["orderChangeId"]);

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}

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

This method Represents the completion of an asynchronous operation

Example

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

Parameters

The decline 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}

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

This method Represents the completion of an asynchronous operation

Example

await orderModuleService.declineOrderChange([
{
id: "12345",
}
]);

Parameters

dataDeclineOrderChangeDTO[]Required
The decline 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?