Usage Product Validation (POST)

Validate cross-object relationships and business rules for usage-based products.

This API returns validation results with errors and warnings.

Resource 

1/revenue/usage-management/usage-products/actions/validate

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/revenue/usage-management/usage-products/actions/validate

Available Version 

66.0

HTTP Methods 

POST

Request Body for POST 

JSON Example

1{
2  "productIds": [
3    "01txx0000006i2gAAA",
4    "01txx0000006j2gAAA"
5  ],
6  "startDate": "2024-01-01T00:00:00Z",
7  "endDate": "2024-12-31T23:59:59Z"
8}

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
productIdsString[]List of product IDs to be validated. The maximum limit is 10 valid product IDs.Required66.0
startDateStringStart date of the date range in which all active records are validated.Optional66.0
endDateStringEnd date of the date range in which all active records are validated.Optional66.0

Response Body for POST 

Usage Product Validation