Pricing actions, commands and pipelines
Version:
The following table describes the pricing actions, commands, and pipelines associated with the Price Book entity:
| Action/Command/Pipeline | Description |
|---|---|
AddPriceBookAddPriceBookCommandAddPriceBookPipeline | Adds a price book. The price book name must be unique in the system. |
EditPriceBookEditPriceBookCommandEditPriceBookPipeline | Edits a price book. |
AssociateCatalogAssociateCatalogToBookCommandAssociateCatalogToBookPipeline | Associates a price book to a specific catalog. |
DisassociateCatalogDisassociateCatalogFromBookCommandDisassociateCatalogFromBookPipeline | Disassociates a price book from a specific catalog. |
The following table describes the pricing actions, commands, and pipelines pertaining to the Price Card entity:
| Action/Command/Pipeline | Description |
|---|---|
AddPriceCardAddPriceCardCommandAddPriceCardPipeline | Adds a price card to a price book. Requires a name and the parentâs price book name. The price card name must be unique within the price book parameters. |
EditPriceCardEditPriceCardCommandEditPriceCardPipeline | Edits a price card. |
DeletePriceCardDeletePriceCardCommandDeletePriceCardPipeline | Deletes a price card. A price card can only be deleted if it does not contain approved snapshots. |
DuplicatePriceCardDuplicatePriceCardCommandDuplicatePriceCardPipeline | Duplicates a price card and its snapshots. |
The following table describes the pricing actions, commands, and pipelines pertaining to the Snapshot component:
| Action/Command/Pipeline | Description |
|---|---|
AddPriceSnapshotAddPriceSnapshotCommandAddPriceSnaphostPipeline | Adds a snapshot to a price card. Requires the snapshot's start date, which must be equal to or earlier than the latest approved snapshot date within the price card. |
EditPriceSnapshotEditPriceSnapshotCommandEditPriceSnapshotPipeline | Edits a snapshot. The snapshotâs approval status must be Draft. |
RequestSnapshotApprovalSetPriceSnapshotApprovalStatusCommand | Changes a snapshotâs approval status from Draft to ReadyForApproval. |
ApproveSnapshotSetPriceSnapshotApprovalStatusCommand | Changes a snapshot's approval status from ReadyForApproval to Approve. |
RejectSnapshotSetPriceSnapshotApprovalStatusCommand | Changes a snapshotâs approval status from ReadyForApproval to Draft. |
RetractSnapshotSetPriceSnapshotApprovalStatusCommand | Changes a snapshotâs approval status from Approved back to Draft. Applicable only before the snapshot is made fully active. |
RemovePriceSnapshotRemovePriceSnapshotCommandRemovePriceSnapshotPipeline | Removes a price snapshot from a price card. The Snapshotâs approval status must be Draft. |
(internal - no action or command)ResolveActivePriceSnapshotByCardPipeline | Resolves the active snapshot within a price card. The active snapshot is an approved snapshot that has a start date closest to the request's EffectiveDate. |
(internal - no action or command)ResolveActivePriceSnapshotByTagsPipeline | Resolves the active snapshot within a price book by tags. The active snapshot is the approved snapshot that has start date closest to the request's EffectiveDate and matches the highest number of tags. |
The following table describes the pricing actions, commands, and pipelines pertaining to the Tier component:
| Action/Command/Pipeline | Description |
|---|---|
AddCurrencyAddPriceTierCommandAddPriceTierPipeline | Adds a price tier for a specific currency to a snapshot. The combination of a tier's quantity and currency must be unique within a snapshot. The snapshotâs approval status must be set to Draft to add a tier. |
EditCurrencyEditPriceTierCommandEditPriceTierPipeline | Edits a snapshotâs price tier for a specific currency. The snapshotâs approval status must be set to Draft to edit a tier. |
RemoveCurrencyRemovePriceTierCommandRemovePriceTierPipeline | Removes a price tier from a snapshot for a specific currency. The snapshotâs approval status must be set to Draft to remove a tier. |
AddPriceTagAddPriceSnapshotTagCommandAddPriceSnapshotTagPipeline | Adds a tag to a snapshot. A tag must be unique within a snapshot. The snapshotâs approval status must be set to draft to add a tag. |
RemovePriceTagRemovePriceSnapshotTagCommandRemovePriceSnapshotTagCommand | Removes a tag from a snapshot. The snapshotâs approval status must be set to Draft to remove a tag. |
Pricing approval workflow
The following figure illustrates the pricing approval process:

If you have suggestions for improving this article, let us know!