HOCO B2B
Team tasksAnis

SRV-41 — API refinements found while building the back-office

Close the contract and API gaps the back-office pages hit, so the screens work as their specs say instead of through workarounds.

FieldDetails
Task codeSRV-41
PhaseP1 — V1 build & integration
Product scopeV1
StatusDone (Mon 19 Oct 2026)
StartMon 19 Oct 2026
DueMon 19 Oct 2026
ResponsibleAnis — Full-stack developer
Co-responsible—
Effort1.5 person-day(s) planned · 2.5 from scratch · size 1.5
Area · appServer · server
Depends onSRV-27
UnblocksSRV-42
Milestones—

Summary

Close the contract and API gaps the back-office pages hit, so the screens work as their specs say instead of through workarounds.

Description

Building the back-office pages (DSH-03…DSH-13) against the implemented API surfaced operations and fields the screens need but the contract lacks. Each item is additive: a new optional field, filter or operation, documented in the API reference and the endpoint catalogue in the same pull request, with the back-office page switched from its workaround to the new call.

Subtasks

#SubtaskOwner
1admin.users.get (user detail for the global search and the users page)Anis
2admin.resellers.list: ids filter (export selection) and delegate name on map pinsAnis
3admin.credit.list: credit accounts list with exposure and filtersAnis
4Variant-level price list and bulk price update for the price grid (BO-31), with PriceChange rowsAnis
5Deliveries: version on DeliveryCard; warehouse, cash-on-delivery and confirmation-date filtersAnis
6Return events on the back-office live stream (return.requested, return.status_changed)Anis
7Admin order creation: allowed payment methods per reseller and the issues listAnis
8FIXED_PRICE promotions with one price per customer type; promotion preview for a customer type or guestAnis
9Attribute definitions: numeric range and show-on-product-sheet flag; banners bulk reorderAnis
10Imports: template download and history list; announcements: image, fr/ar body and customer-type audienceAnis
11Staff assignee picker without users.view (assignable staff list)Anis

Deliverables

  • Contract additions with OpenAPI re-export and changelog entry
  • Server implementation and tests
  • Back-office pages switched from their workarounds

Acceptance criteria

  • Every item above is reachable through the contract and covered by a test
  • The back-office pages no longer use the workarounds noted in PR #22 and #23
  • check-coverage and the full test suite pass

Requirements covered

RequirementTitleRelease
ADM-06Initial imports: products, resellers, user accounts, stockV1
CAT-06Product import/export (Excel/CSV) with a validation reportV1

Screens

ScreenNameApp
BO-32Product import wizardBO
BO-67Data importsBO

API surface

Test measures

  • Integration tests per new operation or filter

Risks

  • Scope creep: anything that is not a gap found by a screen goes to the change-request process

KPI

  • Delivered by Mon 19 Oct 2026 within 1.5 person-day(s).
  • Every acceptance criterion above demonstrated before hand-off; linked requirements' acceptance criteria pass.
  • Zero open critical defects, permission gaps or data-integrity regressions at sign-off.

Generated from content/plan/tasks.json by scripts/generate-team-tasks.mjs. Dates are computed by the scheduler (Sunday–Thursday weeks, holidays excluded) — change the plan, not this page.

On this page