Options
All
  • Public
  • Public/Protected
  • All
Menu

Module CommitOrderLines

This service allows you to manually commit the stock for the given OrderLineIDs. The response contains whether or not the commitment was successful, per OrderLine.

Commitment can be unsucessful for two reasons:

  • No commitment is necessary. This is because it's an OrderLine that can't be committed, for example one without a stock product, or because the order type doesn't allow commitments.
  • Insufficient stock. This service only allows creating a commitment when there's sufficient available stock. Use the MoveCommitments or UncommitOrderLines services to create available stock.

Index

Properties

Optional CommitmentStatus

CommitmentStatus: OrderLineCommitmentStatus

Optional OrderID

OrderID: undefined | number

Entity type: Order

Optional OrderLineIDs

OrderLineIDs: number[]

Entity type: OrderLine