Generate VIPMP request snippet
generate_vipmp_requestGenerate a runnable code snippet for any VIPMP API endpoint, with optional request body and support for curl, PowerShell, Python, or 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 | ||
| language | No | curl | |
| body_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |