> ## Documentation Index
> Fetch the complete documentation index at: https://developers-docs.easyorders.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Shipping

> Turn shipping on, choose the country, and manage the areas a store ships to and their costs.

Scopes: `read_shipping` to read, `write_shipping_areas` to change (it includes `read_shipping`).

## Settings and areas

A store ships within one **country**. Its **areas** are the places the shopper picks at checkout: for most countries, the governorates. Each area has a shipping cost.

```json theme={"dark"}
{
  "shipping_settings": {
    "enabled": true,
    "country": { "code": "EG", "name_ar": "مصر", "name_en": "Egypt" },
    "cost_type": "per_area",
    "fixed_cost": 0
  }
}
```

* `cost_type` is the merchant's choice and read only. With `fixed`, every order pays `fixed_cost` and the areas' costs are not used.
* Changing the `country` replaces every area with the new country's: shown, and costing zero (or the fixed cost). In Egypt, Cairo, Giza and Alexandria come first.

## The area

```json theme={"dark"}
{
  "id": "5a2e8f04-1c3b-4d7a-8e9f-0b1c2d3e4f50",
  "name": "Cairo",
  "cost": 65,
  "hidden": false,
  "custom": false
}
```

| Field | |
| - | - |
| `name` | 1 to 100 characters, one line. Unique in the store, letter case aside (`409 area_exists`). |
| `cost` | 0 to 1,000,000, at most 2 decimals, in the store's currency. |
| `hidden` | A hidden area is not offered at checkout. Hide a country's area instead of deleting it. |
| `custom` | Added by hand, by the merchant or an app. Only a custom area can be deleted. |

* A store has at most **250 areas** (`422 limit_exceeded`). A country with more governorates than that cannot be chosen.
* [List areas](https://developers-docs.easyorders.ai/api-reference/shipping/list-areas.md) answers them all, in the order the shopper sees them, with no pagination.
* **An area's ID can change** when the merchant saves the list from their dashboard. If a write answers `404 not_found` for an area, read the list again.

## Daily limit

An app can change a store's shipping **3 times a day**, counted in Cairo days (midnight to midnight, Africa/Cairo). Settings and area changes count together: updating settings, updating areas, adding, deleting and reordering.

* The count is per app per store: another app is not blocked by yours, and reading is not limited.
* A refused request doesn't count, and neither does a replay of an `Idempotency-Key`. A `503` does count, as the change may have happened.
* The fourth change answers `429` with `Retry-After` in seconds, and never reaches the store:

```json theme={"dark"}
{
  "error": {
    "code": "daily_limit_exceeded",
    "message": "An app may change a store's shipping 3 times a day (Cairo time): try again after resets_at",
    "details": { "limit": 3, "resets_at": "2026-12-04T22:00:00Z" }
  }
}
```

So batch your changes: [Update areas](https://developers-docs.easyorders.ai/api-reference/shipping/update-areas.md) changes up to 250 areas in one request.

## When writes meet

Each write is one step on the store's shipping: two apps writing at the same time never undo each other. The merchant's dashboard saves the whole list, so if the merchant saves at the same moment, the last save wins.

## Changes show at once

The store's checkout shows a change right away. Shipping changes send no events.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.