AI customer service for ecommerce works when the agent handles repeated questions and read-only lookups, while money and exceptions stay with your team. Sort each task into four levels: answer only, look up, confirm then act, staff only. Then enforce each level in the integration code: read-only scopes for lookups, and narrow tools that check conditions before any change.
This guide assumes you have decided to try an agent that replies to your store’s customers in website chat or on WhatsApp. If you are still working out which chatbot type fits your questions, start there. Some suppliers call such an agent an “AI employee”: software that reads customer messages and uses your store’s tools with the permissions you set.
The four levels are: answering from content you approved, looking up order data without changing it, carrying out an action after the customer explicitly confirms it, and preparing a task that a member of staff decides. Risk rises with each level, and so do the controls you need.
| Level | What the agent does | What it needs first | Example customer message |
|---|---|---|---|
| 1. Answer only | Replies from text you approved | Current content: sizes, shipping, returns | “How long does delivery to Abha take?” |
| 2. Look up | Reads an order, shipment or stock level and changes nothing | An identity check and a read-only permission | “Where is my order?” |
| 3. Confirm, then act | Changes a record after reading the change back to the customer and getting a yes | A written rule, an order status that allows the change, and a record of what happened | Changing the delivery address before the order is fulfilled |
| 4. Staff only | Collects the details and hands over with a summary | A named owner and a reply time you tell the customer | A refund decision |
Levels 2 and 3 differ in one thing: reading a record versus changing it. A customer’s yes alone is not enough for level 3: the action must also be reversible and inside your written policy.
Give the agent the requests that repeat and can be checked: product and policy questions, order status and delivery dates. Keep any task that moves money or needs an exception to policy with your team. Copy this table and adjust the levels to your store’s policy:
| Task | Suggested level | What the agent reads or changes | When it hands over to staff |
|---|---|---|---|
| Size, fabric or shipping policy question | Answer only | Size chart, product page and published policy | When the approved content does not cover the question |
| Where is my order, and when will it arrive? | Look up | Order status, tracking number and shipment status | When order and phone do not match, or the shipment runs past your window |
| Alternative for an out-of-stock item | Look up | Available quantities and items in the same category | When the customer asks to reserve a piece or for a discount |
| Refund status | Look up | Order or return status | When the money has not arrived after the stated period |
| Cash-on-delivery confirmation | Confirm, then act | Adds the customer’s answer as an order note, or sets the status your rule names | When the customer declines or wants to change the order |
| Delivery address change | Confirm, then act | Shipping address, only before the order is fulfilled | After fulfilment or once a shipment exists |
| Cancelling an order not yet prepared | Staff only | Collects the order number and the reason | Always: a cancellation ends the sale, and a prepaid order also needs a refund |
| Return or exchange request | Staff only | Collects order number, reason and photos for staff; creates nothing in the store | Always: approval depends on the item’s condition and the policy window |
| Refund or compensation | Staff only | Prepares a summary with the amount and original payment method | Always |
| Damaged or wrong item complaint | Staff only | Collects photos and the order number | Always, with a reply time for the customer |
Problems the customer never sees, such as a failed payment or a missing address on a new order, belong with your operations team, in back-office handling of order exceptions with an approval step.
As of November 2026, the Salla and Zid APIs let an integration read orders, customers and stock, change an order’s status, start a return and refund money. Each platform’s write permission is wider than any single task, so each level’s limits belong in the integration layer your supplier builds.
| Task | Salla API | Zid API |
|---|---|---|
| Read an order | Order Details, scope orders.read | View Order, scope orders.read |
| Find the customer | List Customers, searching by mobile number, email or name | Find Customer By Phone Number |
| Track a shipment | Shipment Tracking, scope shipping.read | Tracking number and status fields in View Order |
| Check stock | Product quantities list, scope products.read | Retrieve Product Stock, scope products.read |
| Change order status | Update Order Status, scope orders.read_write | Change Order Status, scope orders.read_write |
| Edit the order address | Update Order, only before the completed status | No address-edit endpoint found in the reference |
| Start a return | Return Shipment for a specific shipment, scope shipping.read_write | Create Reverse Orders, scope orders.read_write |
| Refund | Update Transaction (refund, void or reverse a transaction, including partial refunds), scope transactions.read_write | Create refund for reverse order |
Keep transactions.read_write out of the agent’s integration: refunds stay staff only.
In Salla, the same orders.read_write scope that allows an order status update also allows editing the order and adding a note to its history. In Zid, orders.read_write covers both status changes and creating a reverse order. So do not hand the agent the whole API. If you are scoping an AI agent for a Salla store, give it narrow tools with plain names, such as “read order status after verification” and “change address if the order is not yet fulfilled”, and have the code check the conditions before every call.
One Salla write scope allows several actions; in this sample setup the agent sees two narrow tools, each checked in code.
OWASP’s guidance on excessive agency recommends this: downstream systems validate every request against security policies, instead of relying on the model to decide whether an action is allowed. Our guide on how to bound an agent’s autonomy covers the pattern for technical teams.
The agent matches two things before it reveals any detail: the order number and the mobile number on that order. On WhatsApp it compares the number the customer is writing from; in website chat it asks for the number and checks it against the order. If they do not match, it shares no status, address or items, and offers to pass the chat to a person. An order status chatbot that skips this check will show an address to anyone who has the order number.
Watch for Zid orders that come from external marketplaces. As of November 2026, Zid’s View Order documentation says the customer’s name, email and phone are partly masked on these orders, so a phone number shows as ***00, and it may be missing. The agent cannot match these orders, so route them straight to staff.
As of November 2026, Salla’s documentation limits the customers endpoints to 500 requests per 10 minutes. On a sale night, read customer details from the order instead of searching the customer list on every message. If WhatsApp is your channel, number setup, templates and Meta’s fees are covered in WhatsApp Business API setup for stores.
The agent acts on its own when four conditions hold: the action is reversible, your written policy allows it, the order’s current status on the platform allows it, and the customer confirms a summary of the change. Anything that moves money, needs an exception or depends on judging an item’s condition goes to a person.
The same OWASP guidance recommends human approval of high-impact actions, and we apply that on every plan: no agent we build makes high-risk decisions alone.
A change of address shows how level 3 works. As of November 2026, Salla’s Update Order endpoint lets an integration edit the receiver and shipping details while the order status is not completed. Since 5 January 2026, National Address fields such as building number and postal code have been mandatory in the shipping address. So the agent collects the full address, reads it back for the customer to confirm, then saves it and adds a note to the order history. If the customer does not confirm, nothing changes and the agent offers a person. We found no address-edit endpoint for existing orders in Zid’s reference, so on Zid that task stays with staff unless your supplier shows you one.
A hypothetical address change: two questions decide whether the agent finishes the task or hands it to staff.
On handover, the agent sends staff a summary so nobody asks the customer again:
- The order number, and whether it matched the phone.
- The customer’s request in their own words.
- What the agent checked and what it found.
- The action it proposes, and why.
- What it told the customer about the reply time.
Imagine an abaya store in Riyadh, running on Salla, with two staff answering WhatsApp. The store and its figures are invented for illustration. It exports one week of chats, finds 220 conversations and sorts them with the task table:
| Request type | Conversations | Level |
|---|---|---|
| Where is my order and when will it arrive? | 70 | Look up |
| Size or fabric question | 45 | Answer only |
| Cash-on-delivery confirmation | 30 | Confirm, then act |
| Return or exchange request | 20 | Staff only |
| Alternative for an out-of-stock item | 15 | Look up |
| Address change | 14 | Confirm, then act |
| Damaged or wrong item complaint | 14 | Staff only |
| Refund status | 12 | Look up |
| Total | 220 |
By level, that gives 45 answer-only chats, 97 lookups, 44 confirm-then-act and 34 staff-only. The store starts with levels 1 and 2: 142 of the 220 chats, about 65%, and the agent runs for four weeks with no write permission at all.
After reviewing handovers and errors, the store adds cash-on-delivery confirmation and address changes, and the agent’s share rises to 186 chats, about 85%. Staff keep the 34 staff-only chats, plus every chat the agent hands over because the details did not match.
The first phase is one use case with five intents: product and policy questions, order status, alternatives, refund status and asking for a person, which also routes returns and complaints to staff. That fits our Agent pilot plan, which covers up to 3 flows and 5 intents. The second phase adds two intents, which are quoted separately.
Ask for written answers; named tools and permissions show what the supplier will build:
- Which permissions (scopes) will the integration app request from Salla or Zid, and why does it need each one?
- Which tools can the agent itself see, and what does each one do?
- Where are each level’s limits enforced: in code, or in the model’s instructions?
- How does the agent verify the customer, and what does it do with orders whose customer data is masked?
- What does the agent write to the order history after each action, and does the entry show it was automated?
- How does a handover reach your team outside working hours, and what is the customer told?
- How many scenarios will be tested before launch, and do they include Saudi dialect and misuse attempts?
- Who owns the accounts and the conversations, and how do you export them?
- What will it cost to run each month, and what written assumptions sit behind that figure?
Start with levels 1 and 2 on one channel, review conversations weekly, and add one level-3 task once errors and needless handovers fall. Measure the tasks completed correctly, the actions the agent should not have taken and the quality of its handovers.
With our AI agent development service, Agent discovery starts from SAR 4,000 before VAT and includes an evaluation plan with 20 example tasks in Arabic and English, plus a check on whether a ready-made tool would do the job. Agent pilot starts from SAR 18,000 before VAT for one channel and 2 documented integrations, such as your store and one other system. Model usage, WhatsApp provider fees and Meta’s messaging charges sit outside that price.
Customer questions shift with seasons and sales, so plan for monitoring an AI feature after launch from day one.
Next step: export a week of chats from your busiest channel, sort them with the task table and decide what goes into phase one. If you would like us to review the list with you, send us the details.






