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.
Create and manage your influencers / affiliates and their referral codes, matching the dashboard's Influencers screen.
Your influencers, newest first. Returns name, email, code, is_active, and the attributed order count. Paginated.
/api/v2.0/third-party/influencers
A single record by its numeric id. 404 if it is not yours.
/api/v2.0/third-party/influencers/{influencer}
/api/v2.0/third-party/influencers
| Field | Type | Required | Description |
|---|---|---|---|
name
|
string | Required | 2–155 chars. |
email
|
string | Optional | Optional; stored blank as null. |
code
|
string | Required | 2–50 chars, letters/numbers/dashes/underscores. Unique across all influencers; stored upper-cased. |
is_active
|
boolean | Optional | Defaults to true. |
Partial — send only the fields you are changing. 404 if it is not yours.
/api/v2.0/third-party/influencers/{influencer}
/api/v2.0/third-party/influencers/{influencer}