تاجر جني
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
Settings API
Ordering schedule

API documentation

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

Ordering schedule

Read and set the weekly windows a store accepts orders in — the same as the dashboard's Ordering schedule screen. One schedule per store; omit store_id for your main store.

Get ordering schedule

All seven days, with defaults filled for any day not yet set.

GET /api/v2.0/third-party/ordering-schedule
Signed
Query parameters
Field Type Required Description
store_id integer Optional A branch id you own. Omit for the main store.
Set ordering schedule

Replaces the whole week. Send all seven days; a closed day needs no times.

PUT /api/v2.0/third-party/ordering-schedule
Signed
Body parameters
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.
Notes
  • Same shape and rules as opening hours: HH:MM times, closed days carry none, no overnight ranges.
  • A store_id that is not yours is rejected with HTTP 422.