Gambio icon

Gambio

Interact with Gambio REST API v3

Actions220

Product Variant (v3) → Create

AI-generated

Summary

Create a new product variant via POST /api.php/v3/products/{productId}/variants

Inputs

  • productId (required) — ID of the product to which the variant belongs
  • authentication (required) — Authentication method: Basic Auth (username/password) or Bearer Token (JWT). Works for v3 API with bearerToken.
  • jsonBody (required) — JSON array containing the product variant data to send
  • requestOptions — Optional collection for batching, proxy, timeout, and SSL certificate settings

Output shape

main

Returns the API response body for the created product variant

Examples

Example 1: Create a variant for product ID 42

Set productId to 42, choose authentication, provide jsonBody with variant details, optionally adjust requestOptions for throttling or proxy use.

Discussion