Skip to main content

DefaultStockAllocationStrategy

Allocates stock when the Order transitions from ArrangingPayment to either PaymentAuthorized or PaymentSettled.

Signature

shouldAllocateStock

method(ctx: RequestContext, fromState: OrderState, toState: OrderState, order: Order) => boolean | Promise<boolean>
Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page