Skip to main content
A business has one or more stores (storefronts), and orders, products and stock each carry a storeId. It ships through delivery agents (carrier accounts or its own couriers) at the delivery prices it sets per wilaya. An app reads all of these to name a store, quote a delivery price, or follow a parcel. None of these routes writes, and no route ever reaches a carrier.

Stores

  • language is the storefront’s language as the merchant chose it, or null when they never chose.
  • subdomain is the store’s address on Tassyir’s storefront domain. Custom domains are not here yet.
  • delivery.feeGroupId is the delivery fee group that prices this store’s checkout; delivery.deliveryAgentId the store’s default carrier; speeds is standard, economy or both.
  • An installation limited to selected stores lists only those; another store named by id is 460 STORE_SCOPE_FORBIDDEN.
  • A store’s ad and conversion-tracking settings and tokens are never sent.

Delivery agents

An agent is one carrier account of the business, or a private courier (a team member who delivers).
  • name is what the dashboard shows: the carrier, or a private courier’s label or name. image is the carrier’s logo.
  • deletedAt is set once the merchant removed the agent. The list leaves removed agents out, but GET /delivery-agents/{id} still reads one, since orders keep naming it (delivery.deliveryAgentId).
  • Agents have no store: every installation reads the business’s agents.
  • Carrier credentials never leave Tassyir: no route answers an account’s keys, tokens, secrets, balance or settings.

Delivery fee groups

A fee group is what the business charges a buyer for delivery, per wilaya and method. A store prices its checkout with one group.
  • id is opaque: digits for most groups, a name-like string for older ones.
  • storeId is null for a business-wide group. deliveryAgentId names the carrier whose prices it holds, if any. chargeOverweight adds the carrier’s overweight surcharge to the buyer’s price.
  • fees has one entry per wilaya (provinceCode 1 to 58): the standard speed’s homeFee and stopdeskFee, and the economy speed’s (null when not offered), as decimal strings.
  • GET /delivery-fee-groups lists every active group without fees, and is not paged ({ "data": [...] }, a business holds a handful). Read one group for its fees. Filter with storeId (that store’s groups only, the business-wide ones left out).
  • An installation limited to selected stores reads its stores’ groups and the business-wide ones.