latestOpenAPI 3.0.32026-08-22505302.1 MB

60d6c901bc4e

Styles/OrderDocuments

Lists tracing documents attached to POs and SOs that reference a style. Scoped to the caller's company via style ownership + the caller's own order books. Cross-company docs surface via the supply-chain tracing_link — this is by design (buyer sees supplier-uploaded docs and vice versa). Response is aggregated by (file, document type): a single file with heterogeneous document types yields one entry per type. orderList includes both purchase and sales orders, discriminated by the orderType field. Archived (is_removed) documents are excluded by default; only returned when isArchived=true. Returns 404 (code: style_not_found) if the style is unknown or belongs to another company.

get/api/styles/{id}/style-order-documents

Path parameters

idstring required

Query parameters

namestring
documentTypeIdstring
orderNumberstring
supplierstring
buyerstring
string
OR
boolean
pageinteger
countinteger
order'asc' | 'desc' | 'ASC' | 'DESC'
sort'updatedAt' | 'name' | 'documentType' | 'orderNumber' | 'supplier' | 'buyer'

Response

Default Response