تاجر جني
Which API?
Merchant API For merchants: manage your own catalogue, orders and finances through the v2 Third-Party API. Application API For partner apps: browse Gini merchants and products, send customers to checkout and follow their orders.

New: Application API docs

Pick the API you are reading here — the Merchant API for your own store, the Application API for partner apps.

Merchant dashboard
API reference
Collections

API documentation

Everything you need to integrate with the Gini v2 Third-Party API.

Collections

Create and manage product collections — curated groups of your products with a cover image, matching the dashboard's Collections screen.

List collections

Your collections, newest first. Returns name, description, slug, is_main, image, and the member products. Paginated.

GET /api/v2.0/third-party/collections
Signed
Get one

A single record by its numeric id. 404 if it is not yours.

GET /api/v2.0/third-party/collections/{collection}
Signed
Create
POST /api/v2.0/third-party/collections
Signed
Body parameters
Field Type Required Description
name string Required 3–255 chars, unique among your collections.
description string Required 3–1000 chars.
image file Required Cover image (jpg/png/webp, max 5 MB). Multipart.
product_ids[] integer[] Required Products to include (at least 1). Each must be yours.
is_main boolean Optional Mark as a main collection.
Notes
  • Sent as multipart/form-data; the body is signed as an empty string.
  • slug is assigned automatically and is not accepted as input.
  • On update, omit product_ids to keep the members, or image to keep the cover.
  • POST /collections is idempotent — send an Idempotency-Key header.
Update

Partial — send only the fields you are changing. 404 if it is not yours.

PUT /api/v2.0/third-party/collections/{collection}
Signed
Delete
DELETE /api/v2.0/third-party/collections/{collection}
Signed