New: Application API docs
Pick the API you are reading here — the Merchant API for your own store, the Application API for partner apps.
Everything you need to integrate with the Gini v2 Third-Party API.
The optional extras a customer can attach to a product — the dashboard's add-ons editor. Managed per product, addressed by the product's SKU.
Every add-on on the product, newest first. Returns name, description, price, quantity, max_quantity, is_active and image_url. Paginated.
/api/v2.0/third-party/products/{sku}/addons
A single add-on by its numeric id. 404 if the product or add-on is not yours.
/api/v2.0/third-party/products/{sku}/addons/{addon}
/api/v2.0/third-party/products/{sku}/addons
| Field | Type | Required | Description |
|---|---|---|---|
name
|
string | Required | Add-on name. |
description
|
string | Optional | Optional, max 1000 chars. |
price
|
number | Required | Add-on price. |
quantity
|
integer | Required | Available quantity. |
max_quantity
|
integer | Required | Max a customer may add per order. |
is_active
|
boolean | Optional | Defaults to true. |
image
|
file | Optional | Optional image, jpg/jpeg/png/webp, max 5 MB (multipart). |
Partial — send only the fields you are changing. Send remove_image=true to clear the image without uploading a new one.
/api/v2.0/third-party/products/{sku}/addons/{addon}
An add-on that appears on an existing order cannot be deleted (HTTP 422) — its order history keeps the reference.
/api/v2.0/third-party/products/{sku}/addons/{addon}