Compatibility routes — documents (5/6)
These routes forward to existing application handlers. They are listed for compatibility and troubleshooting, not as a promise of uniform M2M authentication, scopes or response schemas. The forwarded handler can require an interactive session, tenant permissions, a licensed module or a provider configuration. Use the explicit public M2M contract where available. Inspect the result body and the resulting record: some legacy adapters can return metadata with HTTP 200 after a forwarding failure.
Authentication and permissions · Requests, results and recovery
/api/v1/documents/orders/preview
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: view:orders
/api/v1/documents/orders/stats
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:orders
/api/v1/documents/quotes
Exported methods: GET, POST
Forwarded handler methods: GET, POST
Additional permissions: create:quotes, view:quotes
Query parameters: customerId, kind, limit, page, search, sortBy, sortOrder, status
/api/v1/documents/quotes/{id}
Exported methods: GET, PATCH, DELETE
Forwarded handler methods: GET, PATCH, DELETE
Additional permissions: delete:quotes, edit:quotes, view:quotes
/api/v1/documents/quotes/{id}/brand-fields
Exported methods: GET, PATCH
Forwarded handler methods: GET, PATCH
Additional permissions: edit:quotes
/api/v1/documents/quotes/{id}/convert
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: edit:quotes
/api/v1/documents/quotes/{id}/duplicate
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: create:quotes
/api/v1/documents/quotes/{id}/generate-content
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: edit:quotes
/api/v1/documents/quotes/preview
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: view:quotes
/api/v1/documents/rental-contracts/generate-pdf
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: export:rental
/api/v1/documents/send-email
Exported methods: POST
Forwarded handler methods: POST
/api/v1/documents/shipping
Exported methods: GET, POST
Forwarded handler methods: GET, POST
Additional permissions: create:shipping, view:shipping
Query parameters: limit, page, relatedOrderId, search, sortBy, sortOrder, status
/api/v1/documents/shipping/{id}
Exported methods: GET, PATCH, DELETE
Forwarded handler methods: GET, PATCH, DELETE
Additional permissions: delete:shipping, edit:shipping, view:shipping
/api/v1/documents/shipping/{id}/ship
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: edit:shipping
/api/v1/documents/shipping/generate-pdf
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: export:shipping
/api/v1/documents/shipping/preview
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: view:shipping
/api/v1/documents/shipping/stats
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:shipping
/api/v1/documents/statistics
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:statistics
Query parameters: period, sections