Pricing Versioned Revision Details (POST)

Create revisions of a pricing request with versions for adjustment entities.

Resource 

1/connect/core-pricing/versioned-revise-details

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/core-pricing/versioned-revise-details

Available Version 

60.0

HTTP Methods 

POST

Request Body for POST 

JSON Example

This example shows the input for versioned revision details for attribute-based adjustment.

1{
2        "entityName":"AttributeBasedAdjustment",
3        "id":"entityId",
4        "priceAdjustmentId":"priceAdjustmentScheduleId",
5        "productId":"ProductId",
6        "productSellingModelId":"PsmId",
7        "adjustmentType":"AdjustmentType",
8        "adjustmentValue":"AdjustmentValue(Numeric)"",
9        "effectiveFrom":"EffectiveFrom date",
10        "effectiveTo":"EffectiveTo Date",
11        "additionalFieldsToValueMap":{
12        "attributeBasedAdjRuleId":"AttributeBasedAdjRuleId"
13}
14}

This example shows the input for versioned revision details for bundle-based adjustment.

1{
2        "entityName": "BundleBasedAdjustment",
3        "id": "entityId",
4        "priceAdjustmentScheduleId": "priceAdjustmentScheduleId",
5        "productId": "ProductId",
6        "productSellingModelId": "PsmId",
7        "adjustmentType": "AdjustmentType",
8        "adjustmentValue": "AdjustmentValue(Numeric)",
9        "effectiveFrom":"EffectiveFrom date",
10        "effectiveTo":"EffectiveTo Date",
11        "additionalFieldsToValueMap": {
12          "rootBundleId": "RootBundleId",
13          "parentProductId": "ParentProductId"
14        }
15 }

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
additional​Fields​ToValue​MapMap<String, String>Map containing the additional fields specific to the entity.Optional60.0
adjustment​TypeStringAdjustment type such as, percentage, amount, or override.Required60.0
adjustment​ValueStringValue for the adjustment.Required60.0
effective​FromStringDate from when the adjustment is effective.Required60.0
effective​ToStringDate until when the adjustment is effective.Optional60.0
entity​NameStringName of the entity such as AttributeBasedAdjustment entity or BundleBasedAdjustment entity.Required60.0
idStringID of the record.Required60.0
price​Adjustment​ScheduleIdStringID of the price adjustment schedule record.Required60.0
productIdStringProduct ID of the record.Required60.0
product​Selling​ModelIdStringProduct selling model ID associated to the record.Optional60.0

Response Body for POST 

Pricing Versioned Revision Details