Skip to content

OrderApprovalModule

Module in @evolve-framework/sfcc

The order-approval part of the contract on an engine without approvals, so a B2B storefront's schema is complete: queues and rules are empty, every decision or rule change is refused with a typed error, and approval on an order or a placement is null.

import { OrderApprovalModule } from "@evolve-framework/sfcc/modules";

Serves the Order approval part of the GraphQL API: orderApprovalRuleCreate, orderApprovalRuleDelete, orderApprovalRuleStatusUpdate, orderApprovalRuleUpdate, orderApprovalStatusUpdate.

new OrderApprovalModule()

Extends AbstractModule<SfccLoaderContext>.

The same module on commercetools and medusa.