Composite Product

Representation of the composite product create or upsert request.
JSON example

Here’s an example if the request is successful:

1{
2  "productId": "generatedProductId123",
3  "success": true,
4  "error": []
5}

Here's an example if the request has errors:

1{
2  "productId": null,
3  "success": false,
4  "errors": [
5    {
6      "errorCode": "Invalid_Input",
7      "message": "Failed to create/update the product"
8    },
9    {
10      "errorCode": "Invalid_Input",
11      "message": "Failed to create/update the price"
12    }
13  ]
14}
Property Name Type Description Filter Group and Version Available Version
errors Error Response[] The list of errors that were returned, including the error code and error message. Small, 61.0 61.0
productId String The Salesforce ID of the product record created after the request was successful. Small, 61.0 61.0
success Boolean Indicates whether the product was successfully created (true) or not (false). Small, 61.0 61.0