priceLineItems Method

Responsible for pricing the line items.

Class 

Input Parameters 

ParameterRequiredDescription
cartIdRequiredQuote or Order ID
itemsToProcessSubsetListRequiredList of root IDs
pricingPlanOptionalPricing plan code

Output Parameters 

ParameterDescription
statusMessageStatus message
pricingOutputMap of error, error code, or errorResult (in case of any error)
errorCodeError code
errorError

Example Input Data 

1{"cartId":"801Hr000001t1s1IAA",
2"itemsToProcessSubsetList":["a4o0b000000VN99AAG"]}

Example Output Data 

1{"statusMessage":"Completed Successfully.","Failed":false,"pricingOutput":{"errorCode":"INVOKE-200","error":"OK"},"errorCode":"INVOKE-200","error":"OK"}

If no pricing plan code is provided, the system defaults to using LINE_ITEM_PRICING_PLAN, not the DEFAULT_PRICING_PLAN.

Important