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 physical store branches, matching the dashboard's branches screen.
Your branches, newest first. Returns name, email, phone, business_phone, state, state_label, address, geo, is_active. Paginated.
/api/v2.0/third-party/branches
A single record by its numeric id. 404 if it is not yours.
/api/v2.0/third-party/branches/{branch}
/api/v2.0/third-party/branches
| Field | Type | Required | Description |
|---|---|---|---|
name
|
string | Required | Branch name. |
email
|
string | Required | Unique across all branches. |
phone
|
string | Required | Iraqi number; unique across all branches (normalised). |
business_phone
|
string | Required | Iraqi number; unique across all branches (normalised). |
state
|
integer | Required | Delivery-network state id. |
nearest_function_point
|
string | Required | Address / nearest landmark, max 500 chars. |
latitude
|
number | Required | -90 to 90. |
longitude
|
number | Required | -180 to 180. |
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/branches/{branch}
/api/v2.0/third-party/branches/{branch}