Repository navigation
Open
Labels
area: app platformApp registry, install flow, permissions, extension surfaces, connector runtime contractsarea: integrationsExternal services, optional connectors, import/export contractscommunity editionMust work in the free local/community edition without requiring Posnic ClouddocumentationImprovements or additions to documentationenhancementNew feature or requesthelp wantedExtra attention is neededneeds designNeeds design notes or acceptance criteria before code PRssize: mediumMedium task that may need a small design or multiple tests
Description
Parent issue: #34
Goal
Define how external orders become POS sales without duplicate bills, broken stock, or unsafe payment assumptions.
Suggested files to inspect
api/src/controllers/sales.controller.jsapi/src/repositories/sale.repository.jsapi/src/models/sale.model.js- Issue App and connector platform: reviewable integrations without weakening the offline POS core #34
Acceptance criteria
- Docs define external_order_id or equivalent idempotency key behavior.
- Docs state when stock is reduced and how failed/retried imports behave.
- Docs distinguish paid, unpaid, COD, cancelled, refunded, and partially fulfilled orders.
- Docs include duplicate import and retry examples.
- The PR links back to App and connector platform: reviewable integrations without weakening the offline POS core #34.
Validation
- Run
git diff --check. - Ask maintainer review before endpoint implementation.
Out of scope
- Implementing the endpoint.
- Calling live ecommerce APIs.
Metadata
Metadata
Assignees
Labels
area: app platformApp registry, install flow, permissions, extension surfaces, connector runtime contractsarea: integrationsExternal services, optional connectors, import/export contractscommunity editionMust work in the free local/community edition without requiring Posnic ClouddocumentationImprovements or additions to documentationenhancementNew feature or requesthelp wantedExtra attention is neededneeds designNeeds design notes or acceptance criteria before code PRssize: mediumMedium task that may need a small design or multiple tests
Activity