Shops are created and administered from the Mutasib dashboard. The API exposes read and update operations on an existing shop — it does not create, activate, deactivate, or delete shops.
Shop Data Model
The table below describes the key fields returned in aShopOut response object.
Opening Hours Format
Theopening_hours field is a JSON object keyed by lowercase day name. Each day contains an open and close time in 24-hour HH:MM format. Set a day to null to mark it as closed.
Shop Categories
Thecategory field classifies your business and helps customers find you in filtered searches. Common values include:
API Endpoints
The following endpoints let you read and update a shop. All requests require a valid API token in theAuthorization header.
GET /api/v1/shops/{shop_id} — Get shop details
GET /api/v1/shops/{shop_id} — Get shop details
Returns the full
ShopOut object for a single shop.PATCH /api/v1/shops/{shop_id} — Update a shop
PATCH /api/v1/shops/{shop_id} — Update a shop
Partially updates shop fields. Only include the fields you want to change.