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 your fulfilment toggles and, if you deliver yourself, your per-state shipping charges — the same as the dashboard's Delivery settings screen.
/api/v2.0/third-party/delivery-settings
{
"data": {
"allow_pickup": true,
"allow_delivery": true,
"is_self_delivery": true,
"shipment_charges": [
{
"state_id": 1,
"state": "Najaf",
"cost": 5000
},
{
"state_id": 2,
"state": "Karbala",
"cost": null
}
]
}
}
/api/v2.0/third-party/delivery-settings
| Field | Type | Required | Description |
|---|---|---|---|
allow_pickup
|
boolean | Required | Whether customers may pick up. Both toggles are required together. |
allow_delivery
|
boolean | Required | Whether you deliver. |
shipment_charges
|
array | Optional | Self-delivery only. Each row is { state_id, cost }. A blank cost leaves that state unpriced; 0 is free. |
shipment_charges.*.state_id
|
integer | Optional | A valid Iraqi state id (1–18). |
shipment_charges.*.cost
|
integer | Optional | IQD, whole number, 0 or more. Omit to leave the state unpriced. |