Zid Docs
Merchant APIApp APIThemes
Merchant APIApp APIThemes
Help Center
Slack
  1. Store Settings
  • Start Here 🚀
  • Overview to Zid Apps
  • Authorization
  • Responses
  • Webhooks
  • Rate Limiting
  • APIs
    • Orders
      • Update Order by ID
      • Get Order Credit Notes
      • Get Order by ID
      • List of Orders
    • Reverse Orders
      • Reverse Order Reasons
      • Create Reverse Orders
      • Create Reverse Orders Waybill
      • Add Reverse Order Reasons
    • Carts
      • Get Abandoned Cart Details
      • List Abandoned Carts
    • Products
      • Managing Products
        • Get a Product by ID
        • Retrieve a list of products
        • Create a new product
        • Update an existing product.
        • Bulk update of products using their IDs or SKUs
        • Delete a product.
        • Product Setting
      • Digital Vouchers
        • Product Vouchers
        • Order Voucher
        • Add Product Voucher
        • Import Vouchers
        • Export Vouchers
        • Update Product Voucher
        • Remove Product Voucher
      • Product Categories
        • Get Single Category Details
        • Get all categories
        • Create Store Category
        • Update a Store Category
        • Add a product to a certain category
        • Publish/Unpublish a Category
        • Detach Category from All Products
        • Remove Category from Product
      • Product Badge
        • Product Badge
      • Product Attributes
        • Get Product Attributes
        • Get Product Attributes
        • Retrieve a product attribute
        • Add a New Product Attribute
        • Add a New Product Attribute
        • Update a product attribute
        • Delete a product attribute
      • Product Attribute Presets
        • Get attribute presets
        • Create Attribute Preset
        • Update Attribute Preset
        • Delete an attribute preset
      • Product Customizations
        • Add Product Variants
        • Insert Custom Options to a Product
        • Insert Custom User-Input Fields to a Product
      • Product Manual Sorting
        • Set Custom Product Order
        • Reset the manual sorting of all products
      • Product Images
        • Get List of images of a product.
        • Add an image to a product
        • Update a product Image Order
        • Delete a product image
      • Product Notifications
        • Availability Notification Stats
        • Availability Notifications Settings
        • List Availability Notifications
        • Add Availability Notification
        • Save Availability Notifications Settings
        • Manually Send Availability Notification Email
        • Export Availability Notifications
      • Product Import
        • Email All Products to Store Owner
        • Import Products via CSV or xlsx File
      • Product Stock (Multi-Inventory)
        • Get Product Stock by ID
        • List Product Stocks
        • Add Product Stock
        • Update Single Product Stock
        • Bulk Update Product Stocks
      • Product Questions & Answers
        • Get Question
        • Get Answer
        • Get All Questions
        • List Question Answers
        • Create Question
        • Create Answer
        • Update Question
        • Update Answer
        • Delete Question
        • Delete Answer
      • Product Reviews
        • List Reviews
        • New Reviews Total
      • Digital Products
        • Create Downloadable Product
        • Generate an Upload URL
        • Upload File to S3
        • Create Product Downloadables
        • Get Product Downloadables
        • Delete Product Downloadables
        • Get Store Downloadables
        • Create Store Downloadables
        • Delete Store Downloadables
    • Inventories
      • Get Store Location by ID
      • List Store Locations
      • Add a New Location
      • Update a Location by ID
      • Update Products Stock by Location ID
    • Shipping
      • List Store Delivery Options
      • Add Shipping Option
    • Marketing
      • Gift Cards
        • Get Store Settings
        • Add gift card to the cart
        • Update Store Settings
        • Upload gift card designs
        • Remove gift card from the cart
      • Coupons
        • Create a New Coupon
        • List Coupons
        • Get Coupon Details
        • Update Coupon
        • Delete Coupon
      • Bundle Offers
        • Retrieve all Bundle Offers
      • Loyalty Program
        • Loyalty Program Points per Order
        • Store Loyalty Status
        • Info Page
        • Loyalty Program Activation
        • Loyalty Status
        • Set Points Expiration
        • Cashback Rule Method Update
        • Cashback Rule Method Update Status
        • Add Points Redemption Method
        • Update Points Redemption Method
        • Delete Points Redemption Method
        • Toggle Redemption Method Status
        • Show Loyalty Points Info for Specific Customer
        • Customer Profile
        • List Data
        • Customer Points History
        • Info Page - Managers
        • Update Info Page
        • Adjust Customer Points
    • Customers
      • List of Customers
      • Get Customer by ID
    • Store Settings
      • 📄 User Roles and Permissions
      • Get Manager's Profile
        GET
      • Get VAT Settings
        GET
      • List of Payment Method
        GET
    • Countries and Cities
      • Retrieve Store Operating Countries
      • Retrieve Cities by Country ID
      • Countries List
    • Webhook
      • List of Webhooks
      • Create a Webhook
      • Delete a Webhook by OriginalId
      • Delete a Webhook by Subscriber
  • Store Events
    • Order
    • Product
    • Abandoned Cart
    • Customer
    • Product Category
  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
Get Manager's Profile
Built with