Manage Product Relationship Rules (POST)

Create, update, or delete Product Relationship Rule records in a single all-or-nothing request.

Resource 

1/connect/comms-sales/product-relationship-rule/actions/manage

Resource Example 

1https://YOUR_INSTANCE.salesforce.com/services/data/68.0/connect/comms-sales/product-relationship-rule/actions/manage

Where, YOUR_INSTANCE is a variable.

Available Version 

68.0

HTTP Methods 

POST

Request Body for POST 

JSON Example 

1{
2  "productRelationshipRuleManagePayload": {
3    "correlationId": "8f20aa71-5db2-4fdf-b068-b500b9fb7f66",
4    "items": [
5      {
6        "method": "CREATE",
7        "payload": {
8          "ruleName": "PrimaryRequiresDevice",
9          "ruleDisplayName": "Primary Requires Device",
10          "sourceProductId": "01txx0000000AbcAAE",
11          "relatedProductId": "01txx0000000DefAAE",
12          "forwardMinCardinality": 1,
13          "forwardMaxCardinality": 2
14        }
15      }
16    ]
17  }
18}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
productRelationshipRuleManagePayloadObjectPayload containing optional correlation ID and per-item operations.Optional68.0

Response Body for POST 

Manage Product Relationship Rules Response