Generate VIPMP request snippet
generate_vipmp_requestGenerates runnable code snippets for any VIPMP API endpoint, automatically building placeholder bodies from schema when needed. Supports curl, PowerShell, Python, and C#.
Instructions
Emit a runnable code snippet for a VIPMP endpoint.
Useful for "give me a starting point for calling POST /v3/customers". If you supply a body, it's used as-is. If not, we build a placeholder body from the schema, filling required fields with type-appropriate dummy values so the snippet shows the minimum valid shape.
Args: endpoint: "METHOD /path" (e.g. "POST /v3/customers"). body_json: Optional JSON body to embed in the snippet. If omitted and the method is POST/PATCH/PUT, a placeholder body is constructed from the schema. language: Output language. One of: "curl" (default), "powershell", "python" (httpx), "csharp" (HttpClient).
Example: generate_vipmp_request( endpoint="POST /v3/customers", language="python", )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | ||
| body_json | No | ||
| language | No | curl |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |