Poq.SDK.Node

Home > @poq/sdk-sfcc > PriceAdjustmentRequest

PriceAdjustmentRequest class

Document representing a price adjustment request.

Signature:

export declare class PriceAdjustmentRequest extends BaseModel<PriceAdjustmentRequest> 

Extends: BaseModel<PriceAdjustmentRequest

Constructors

Constructor Modifiers Description
(constructor)(params)   Constructs a new instance of the PriceAdjustmentRequest class

Properties

Property Modifiers Type Description
discount?   DiscountRequest (Optional)
itemId?   string (Optional) The item to which the price adjustment should be added, depending on the specified level. If the level is ‘order, you need not specify an item id. If ‘shipping, specify the uuid of the shipping item. If ‘product, specify the uuid of the product item.
itemText?   string (Optional) The text describing the item in more detail.
level   PriceAdjustmentRequestLevelEnum The level at which the adjustment is applied. When a product or shipping level is specified, you must also specify the item id.
promotionId?   string (Optional) The id of the related promotion. Custom price adjustments can be assigned any promotion id so long it is not used by a price adjustment belonging to the same item and is not used by promotion defined in the promotion engine. If not specified, a promotion id is generated.
reasonCode?   PriceAdjustmentRequestReasonCodeEnum (Optional) The reason why this price adjustment was made.