Validate VIPMP request body
validate_vipmp_requestValidate a JSON request body against Adobe VIPMP API schema for any endpoint. Detects missing required fields, type mismatches, constraint violations, and deprecated fields.
Instructions
Cross-check a JSON request body against the documented VIPMP schema.
Finds the endpoint's schema in the pre-built index and checks every field against its documented type, required-ness, and constraints (character limits, numeric ranges). Flags unknown fields, missing required fields, type mismatches, constraint violations, and deprecated-field usage.
Scope: top-level fields only. Nested objects are noted as
"not recursively validated" — check their schemas separately via
get_vipmp_schema.
Args: endpoint: "METHOD /path" (e.g. "POST /v3/customers"). body_json: The request body to check, as a JSON string.
Example: validate_vipmp_request( endpoint="POST /v3/customers", body_json='{"resellerId": "5556667778", "externalReferenceId": "342"}', )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | ||
| body_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |