Zid Docs
Apps
ThemesPayments
Apps
ThemesPayments
Help Center
Slack
  1. Store Settings
  • 🗂️ Overview
  • 🚀 Start Here
  • Create your First App
  • Responses
  • Rate Limiting
  • Authorization
  • Embedded Apps
  • StoreFront Events
  • Zid MUI
  • Zid SDKs
  • Our custom MCP server
  • Merchant APIs
    • Account
      • Me
        • Me
        • Profile
      • Store
        • Store
        • Branding
        • Localization
        • Social
        • Operations
        • Business
        • Upload Logo Image
        • Delete Logo Image
        • Upload Icon Image
        • Delete Icon Image
        • Upload Cover Image
        • Delete Cover Image
    • Orders
      • Validate Order Request
      • Create Order
      • Change Order Status
      • Add Order Comment
      • View Order
      • List Orders
      • List Custom Order Statuses
      • List Order Credit Notes
    • Reverse Orders
      • Create Reverse Orders
      • Create Reverse Orders Waybill
      • Add Reverse Order Reasons
      • List Reverse Reasons
      • Calculate Reverse Totals
      • Create refund for reverse order
      • Upload bank transfer receipt
      • Update return products
      • Order Details – View for Return
    • Abandoned Carts
      • List Carts
      • View Cart
    • Products
      • Managing Products
        • Create Product Types
        • Create Product
        • List Products
        • View Product
        • List Product Settings
        • Update Product
        • Bulk Update Products
        • Delete Product
      • Digital Vouchers
        • List Vouchers
        • Order Vouchers
        • Create Voucher
        • Import Vouchers
        • Export Vouchers
        • Update Voucher
        • Remove Voucher
      • Product Categories
        • List Categories
        • View Category
        • Create Category
        • Create Subcategory
        • Update Category
        • Assign Product to Category
        • Bulk Assign Products to Category
        • Publish Category
        • Detach Category from All Products
        • Remove Product from Category
      • Product Badge
        • List Badges
      • Product Attributes
        • List Attributes
        • View Attribute
        • Create Attribute
        • Update Attribute
        • Delete Attribute
      • Product Attribute Presets
        • List Presets
        • Create Preset
        • Update Preset
        • Delete Preset
      • Product Variants
        • Create Variants
        • Create Custom Option
        • Update Custom Option
        • Delete Custom Option Field
        • Create Custom Input Field
        • Update Custom Input Field
        • Delete Custom Input Field
      • Product Sorting
        • Set Manual Product Order
        • Reset Manual Product Order
      • Product Images
        • List Images
        • Upload Image
        • Update Image Order
        • Delete Image
      • Product Availability Notifications
        • Notification Stats
        • Noticiation Settings
        • List Notifications
        • Create Notification
        • Update Settings
        • Send Notification Email
        • Export Notifications
      • Product Export
        • Email All Products to Store Owner
        • Import Products via CSV or xlsx File
      • Product Stock
        • Retrieve Product Stock
        • List Product Stock Records
        • Create Product Stock
        • Update Product Stock
        • Bulk Update Product Stock Records
      • Product Questions & Answers
        • Retrieve Product Question
        • Retrieve Product Answer
        • List Product Questions
        • List Answers for Question
        • Create Product Question
        • Create Product Answer
        • Update Product Question
        • Update Product Answer
        • Delete Product Question
        • Delete Product Answer
      • Product Reviews
        • List Reviews
        • Count Reviews
      • Digital Products
        • Create Downloadable Product
        • Generate Upload URL
        • Upload File to S3
        • Create Product Downloadable
        • Get Product Downloadables
        • Delete Product Downloadable
        • List Store Downloadables
        • Create Store Downloadable
        • Delete Store Downloadable
    • Inventories
      • Create Location
      • Update Location
      • Update Product Stock for Location
      • List Locations
      • View Location
    • Shipping
      • List Store Shipping Methods
    • Marketing
      • Coupons
        • List Coupons
        • View Coupon
        • Create Coupon
        • Generate Bulk Coupons
        • Duplicate Coupon
        • Duplicate Bulk Coupons
        • Update Coupon Note
        • Update Coupon
        • Update Bulk Coupons
        • Update Coupon Status
        • Update Bulk Coupons Status
        • Delete Coupon
        • Delete Bulk Coupons
      • Bundle Offers
        • List Bundle Offers
        • View Bundle Offer
      • Loyalty Program
        • Loyalty Program Status
        • Loyalty Program Details
        • Loyalty Program Info
        • Customer Loyalty Summary
        • Customer Points History
        • Activate Loyalty Program
        • Set Points Expiration Rules
        • Update Cashback Rule
        • Create Points Redemption Method
        • Update Points Redemption Method
        • Delete Points Redemption Method
        • Adjust Customer Points
      • Discount Rules
        • List Discount Rules
        • View Discount Rule
        • Create Discount Rule
        • Update Discount Rule
    • Customers
      • Customer Tags
        • List Customer Tags
        • Add Customer Tag
        • ْUpdate Customer Tag
        • Delete Customer Tag
      • List Customers
      • View Customer
      • Primary Customer List
      • FInd Customer By Phone Number
      • Customer Profile
      • Add Customer
      • Update Customer
      • Delete Customer
      • Add Bulk Customers
      • Import Customers
    • Store Settings
      • 📄 User Roles and Permissions
      • Retrieve Store Manager Profile
        GET
      • Retrieve VAT Settings
        GET
      • List Payment Methods
        GET
      • List Store Operating Countries
        GET
      • OneSignal Store Settings
        GET
      • Create or Update OneSignal Store Settings
        POST
    • Countries and Cities
      • List Countries
      • List Cities for Country
    • Blogs
      • Settings
        • Create
        • List
      • Categories
        • Create
        • List
        • Bulk Activate
        • Bulk Deactivate
        • Bulk Delete
        • Retrieve
        • Destroy
        • Partial Update
        • Bulk Add To Posts
        • Bulk Remove From Posts
      • Posts
        • Media
          • List
          • Create
          • Destroy
        • Create
        • List
        • Retrieve
        • Partial Update
        • Destroy
        • Archive
        • Publish
        • Bulk Archive
        • Bulk Publish
        • Bulk Delete
        • Export Posts
        • Import Template
        • Import Posts
      • Tags
        • Create
        • List
        • Retrieve
        • Partial Update
        • Destroy
        • Bulk Delete Tags
        • Bulk Add To Posts
        • Bulk Remove From Posts
      • Storefront
        • Posts
          • List
          • Retrieve
        • Categories
          • List
          • Retrieve
        • Tags
          • List
  • Webhooks
    • Overview
    • Webhook Health Tracking
    • Events
      • Order
      • Product
      • Abandoned Cart
      • Customer
      • Product Category
    • APIs
      • Health Summary
      • Broken Webhooks
      • Recover Broken Webhooks
      • List Webhooks
      • Create Webhook
      • Delete Webhook
      • Delete Webhook By subscriber
  • App Management
    • Events
    • APIs
      • Subscription Details
      • Update Usage-Based Charges
  1. Store Settings

📄 User Roles and Permissions

Overview#

User roles and permissions determine what a user can view, change, or manage in a store's setting, i.e., from the Merchant Dashboard. User roles categorize users based on their level of access and responsibilities, whereas permissions provide fine-grained control over various functionalities within those roles. Together, they ensure that each user has access to the areas they need, without compromising the store's security or consistency.

User Roles#

In our API, we categorize the users into two main roles: Customer and Manager. Each of these roles comes with different levels of access and permissions within the API.

Customer#

A Customer is a role associated with end-users or shoppers in the system. Customers have the ability to perform actions related to shopping from the stores supported by Zid, such as browsing products, adding items to the shopping cart, and checking out.
When interacting with the API, set the Role header in the request to Customer to perform operations as a customer.

Manager#

A Manager is a role associated with higher-level users who have the ability to manage different aspects of a store. This includes store owners, inventory managers, order managers, product managers, and other staff members.
Store Owner: Store owners have the highest level of access to a store, including creating, updating, and managing all aspects of their store. They also have the ability to create accounts for other store staff and assign them permissions.
Other Staff Members: Other staff members can have varying levels of access to the store based on the permissions granted to them by the store owner.
When interacting with the API, set the Role header in the request to Manager to perform operations as a store owner or other staff members.
Note: The Manager role in the API is an umbrella term for different roles within a store. The specific permissions assigned to each user within this category dictate the actions they can perform. The Manager term in the API documentation should be interpreted as Store Owner or Staff Member based on the context.
By setting the Role header in your request, you determine the level of access your request will have within the system. However, always keep in mind that each user's array of permissions ultimately dictates what actions they can perform.

List of Available Permissions#

The following table provides details on all available permissions within our system. Each permission has a unique slug, along with descriptions in both English and Arabic, to ensure clarity and understanding.
Permission SlugEnglish DescriptionArabic Description
manage.store.marketingManage store marketingإدارة تسويق المتجر
manage.app.market.detailsManage app market details / purchase subscriptionإدارة تفاصيل السوق / اشتراك الشراء
manage.zidship.settingsManage Zid Ship settingsإدارة إعدادات زد شب
manage.store.ecosystem.consultationE-commerce consulting serviceخدمة الاستشارات في التجارة الإلكترونية
manage.store.ecosystem.packagingManage packagingإدارة التغليف
manage.store.vat.settingsManage VAT settingsإدارة إعدادات الضريبة
manage.store.discount.rulesManage automatic discountsإدارة الخصومات التلقائية
pos.cashiers.pageAccess cashier pageالدخول إلى صفحة الكاشير
manage.store.abandonedcartsManage abandoned cartsإدارة السلات المتروكة
manage.store.bundleoffersManage marketing bundlesإدارة الحزم التسويقية
manage.zidpay.settingManage Zid Pay settingsإدارة إعدادات زدباي
view.store.dashboardView store dashboardعرض لوحة معلومات المتجر
pos.cashier.usageUse cashier for sales operationsاستخدام الكاشير لعمليات البيع
manage.zidship.ordersManage shipping ordersإدارة أوامر الشحن
pos.homepageAccess POS homepageالدخول إلى الصفحة الرئيسية لنقاط البيع
list.store.customersList store customersقائمة العملاء في المتجر
manage.store.ecosystem.orderfulfillmentManage orders and operationsإدارة الطلبات والعمليات
manage.app.market.settingsManage application settingsإدارة إعدادات التطبيق
list.zidpay.transactionsList transactionsقائمة العمليات
manage.store.ecosystem.printingsManage promotional printingsإدارة المطبوعات الدعائية
view.app.market.homeView app market homepageعرض الصفحة الرئيسية لسوق التطبيقات
view.zidship.reportsView Zid Ship reportsعرض تقارير زد شب
manage.zid.financingManage Zid financingإدارة تمويل زد
manage.store.front.customizationCustomize store frontتخصيص واجهة المتجر
list.store.ordersList store ordersقائمة طلبات المتجر
manage.store.ecosystem.designsManage designsإدارة التصميمات
manage.store.custom.domainManage custom domainإدارة النطاق المخصص
manage.store.inventory.addressesManage inventory locationsإدارة مواقع المخزون
manage.store.ecosystem.paymentsManage paymentsإدارة الدفع
manage.store.ecosystem.marketingManage marketingإدارة التسويق
list.store.productsList all productsقائمة جميع المنتجات
manage.store.affiliateManage affiliate marketingإدارة التسويق بالعمولة
list.store.categoriesList product categoriesقائمة تصنيفات المنتجات
view.zid.academyView Zid Academyعرض أكاديمية زد
manage.store.ecosystem.mobileappsMobile app serviceخدمة تطبيق الجوال
manage.store.staff.notificationsManage team notificationsإدارة الإشعارات للفريق
manage.store.settingsManage store settingsإدارة إعدادات المتجر
manage.store.ecosystem.storepreparationStore preparation serviceخدمة تجهيز المتجر
refund.zidpay.transactionsRefund transactionsاسترداد المبالغ
manage.zidship.paymentsManage service paymentsإدارة الدفع للخدمات
pos.payment.methodsManage payment methodsإدارة طرق الدفع
manage.store.ecosystem.deliveryManage shipping and deliveryإدارة الشحن والتوصيل
manage.store.ecosystem.selfstorageManage self-storage unitsإدارة وحدات التخزين الذاتي
manage.store.subscriptionManage subscriptionsإدارة الاشتراكات
list.zidpay.depositsList account statementقائمة كشف الحساب
pos.analyticsView POS reportsعرض تقارير نقاط البيع
view.store.homeView store homepageعرض الصفحة الرئيسية للمتجر
create.store.ordersCreate customer orderإنشاء طلب للعميل
list.store.order.draftsList order draftsقائمة المسودات
manage.store.ecosystem.photographicsManage photographyإدارة التصوير
manage.store.account.settingsManage account settingsإدارة إعدادات الحساب
manage.store.ecosystem.workplacesManage co-working spacesإدارة المساحات العمل المشتركة
edit.store.ordersEdit customer orderتعديل طلب العميل
manage.store.zid.keysManage Zid keysإدارة مفاتيح زد
manage.store.couponsManage discount couponsإدارة قسائم التخفيض
view.app.market.browseBrowse app by categoryتصفح التطبيق حسب الفئة
manage.store.front.pagesManage additional pagesإدارة الصفحات الإضافية

Understanding Permission Slugs#

Permission slugs offer insights into the particular functionality they control in the store settings. They typically follow a manage.<entity>.<action> or view.<entity> or list.<entity> format.
manage signifies permissions that allow managing or modifying something.
view denotes permissions that allow viewing or accessing certain areas.
list is used for permissions that allow the user to see a list of specific entities.
<entity> refers to the specific area or feature the permission applies to, such as 'store.marketing' or 'store.inventory.addresses'.
<action> gives more detail about what the permission allows, for example, 'settings' or 'customization'.

Important Notes#

Please note that all permissions are tied to the user's role in the system. Different roles have different sets of permissions, and not every role has access to every permission. This design ensures the security and consistency of your store's operations.
If you need any further clarification or have questions about specific permissions or roles, please contact our support team for assistance. We're here to help!
Modified at 2024-08-27 20:49:06
Previous
Store Settings
Next
Retrieve Store Manager Profile
Built with