market
Description
- The active market/region context. May also appear inside
cart.marketfor status.
Source
{{market}}
Type
- String or Object (implementation dependent)
Example
{
"_id": "68ce85ac94ae37a6c9402a0e", // or any other ObjectId
"app": "6786b189a50b21ed13baac70",
"title": "السوق العربي",
"status": "active | draft",
"countryCodes": [
"EG",
"SA"
// ... or can be an empty array []
],
"targetCurrencyId": "66dd78944d592b12e6201cc4", // or null
"targetCurrencyCode": "USD", // or "SAR", or null
"enableRounding": true,
"fxMode": "manual | dynamic",
"exchangeRate": 2, // or null
"createdAt": "2025-09-20T10:45:00.412Z",
"updatedAt": "2025-11-19T14:49:20.951Z",
"countryIds": [
{
"_id": "66eae8160a87ff85cc2a3e78",
"name": "مصر",
"image": {
"image": "egypt.png",
"imageUrl": "https://cdn.qumra.cloud/system/assets/egypt.png"
},
"code": "EG",
"capital": "القاهرة",
"active": true,
"deleted": false,
"phonekey": "+20"
}
// ... or can be an empty array []
],
"localCurrencies": false // or true, or null
}
Notes
- When used for localization or pricing, pair with
localandcurrency.