Add variants to products by SKU

Variants are the different options of an item such as size, color, and materials. For example, there are 12 variants for a laptop that comes in three sizes (13, 15, and 17 inches) and four colors (red, blue, grey, and white). By adding variants to products, you can offer more options to shoppers.

With this endpoint, you can add up to 25 variants to an existing product

1. At least one variant must be specified.
2. If you don't have product ID, use the corresponding ID-based endpoint - POST /products/{id}/variants/actions/attach.

Click Try It! to start a request and see the response here!