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.
Read and set a store's weekly opening hours — the same schedule as the dashboard's Opening hours screen. One schedule per store; omit store_id for your main store.
All seven days, with defaults filled for any day not yet set.
/api/v2.0/third-party/opening-hours
| Field | Type | Required | Description |
|---|---|---|---|
store_id
|
integer | Optional | A branch id you own. Omit (or leave blank) for the main store. |
{
"data": {
"store_id": null,
"week": {
"sat": {
"is_open": true,
"start_time": "09:00",
"end_time": "22:00"
},
"sun": {
"is_open": true,
"start_time": "09:00",
"end_time": "22:00"
},
"fri": {
"is_open": false,
"start_time": null,
"end_time": null
}
}
}
}
Replaces the whole week. Send all seven days; a closed day needs no times.
/api/v2.0/third-party/opening-hours
| Field | Type | Required | Description |
|---|---|---|---|
store_id
|
integer | Optional | A branch you own, or null for the main store. |
week
|
object | Required | Keys sat,sun,mon,tue,wed,thu,fri. Each has is_open (bool) and, when open, start_time and end_time as HH:MM. |