انتقل إلى المحتوى الرئيسي

market

الوصف

  • سياق السوق/المنطقة النشط. قد يظهر أيضاً داخل cart.market للحالة.

المصدر

  • {{market}}

النوع

  • String أو Object (يعتمد على التنفيذ)

مثال

    {
"_id": "68ce85ac94ae37a6c9402a0e", // أو أي ObjectId آخر
"app": "6786b189a50b21ed13baac70",
"title": "السوق العربي",
"status": "active | draft",
"countryCodes": [
"EG",
"SA"
// ... أو يمكن أن يكون array فارغ []
],
"targetCurrencyId": "66dd78944d592b12e6201cc4", // أو null
"targetCurrencyCode": "USD", // أو "SAR"، أو null
"enableRounding": true,
"fxMode": "manual | dynamic",
"exchangeRate": 2, // أو 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"
}
// ... أو يمكن أن يكون array فارغ []
],
"localCurrencies": false // أو true، أو null
}

ملاحظات

  • عند استخدامه للتوطين أو التسعير، قم بإقرانه مع local و currency.