Eligible Promotions Input

Input representation of the request to get eligible promotions for line items. This representation includes the details to accept line item IDs and a sales transaction ID.

JSON Example 

1{
2  "salesTransactionId": "0Q0xx0000004EOECA2",
3  "lineItemIds": [
4    "0QLxx0000004E7eGAE",
5    "0QLxx0000004GCeGAM",
6    "0QLxx0000004E7gGAE"
7  ]
8}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
lineItemIdsString[]List of line item IDs to evaluate for promotions. The object type is auto-determined from the sales transaction ID.Required66.0
salesTransactionIdStringThe sales transaction ID, such as an order ID or a quote ID, for the promotion evaluation.Required66.0