{"openapi":"3.1.0","info":{"title":"Telaris API","version":"3.2026.10","summary":"The public Telaris API, organised by namespace.","description":"Telaris API v3, revision **3.2026.10** – the public Telaris API.\n\n**Structure.** The API is organised by **namespace** (Product, Price, Customer, Order, Object, Hourtracking,\nFinance, Warehouse, …), one root path segment per namespace (`/api/v3/<namespace>/…`, lower case), aligned with\nthe modules in Telaris. Master data and prices form the base; orders, hours, finance, warehouse and\nwebshop build on them. Telaris *tags* are **objects** in this API. Each endpoint is defined once.\n\n**Tags are namespaces.** The documentation is grouped by namespace (`tags`, one per namespace, grouped in\n`x-tagGroups`). **API products** are commercial packaging and are not shown as groups: every operation lists the\nproducts that grant its scope in `x-telaris-products` (`Commercial Operations API`, `Product Data API`,\n`Warehouse & Fulfillment API`, `Accounting API`, `Webshop API`), and the root `x-telaris-products` defines each\nproduct and its scope bundle. A subscriber's rights are the union of the bundles of the products it subscribes to.\n\n**Scopes** (`x-telaris-scope`): `<namespace>[.<sub-resource>].<operation>`, operation from the HTTP method\n(GET read, POST create, PUT update, DELETE delete) unless stated. **Namespace** (`x-telaris-namespace`) and\n**availability** (`x-telaris-available`: `2026-Q4`, `2027-Q1`) are on every operation.\n\n**Versioning.** Each API key is bound to the revision that is current when the key is created, and `/api/v3`\nserves the key's revision, so an integration never receives a breaking change it did not choose. `/api/v3.2026.10`\nin the path selects this revision explicitly for any key (to test before moving a key). Every response carries\n`X-Telaris-Revision`. Breaking changes ship only in a new revision, announced at least 90 days ahead.\n\nAll `id` values are Telaris OIDs (opaque strings). Human-readable numbers (`orderNo`, `customerNo`,\n`productNo`, `invoiceNo`) are stable within an instance and accepted for lookup where documented.\nDesign-time document; once released, the document published at api.telaris.no is authoritative.\n\n**Webhooks.** The `webhooks` section defines the payload of at least one event per resource; the complete event catalog\n(all `created`/`updated`/`deleted` and named events) is in the specification, 17.3. Events of the same resource share the payload schema.\n","contact":{"name":"Telaris API","url":"https://api.telaris.no"},"license":{"name":"Proprietary – Telaris AS","url":"https://www.telaris.no"},"x-telaris-revision":"3.2026.10"},"servers":[{"url":"https://api.telaris.no","description":"API platform – routes to the instance the key belongs to"}],"security":[{"bearerAuth":[]}],"tags":[{"name":"Auth","description":"Key exchange.","x-telaris-namespace":"auth"},{"name":"Product","description":"Products, product classes and attribute definitions, categories, structures (bill of materials), product files.","x-telaris-namespace":"product"},{"name":"Manufacturer","description":"Manufacturers / brands.","x-telaris-namespace":"manufacturer"},{"name":"Price","description":"Product prices, currency prices, customer prices, discount matrix, price resolution.","x-telaris-namespace":"price"},{"name":"File","description":"Files and their content.","x-telaris-namespace":"file"},{"name":"Customer","description":"Customers and contacts.","x-telaris-namespace":"customer"},{"name":"Order","description":"Orders, order rows, order status and the fulfilment view.","x-telaris-namespace":"order"},{"name":"Object","description":"Objects and projects – projects, systems, areas, equipment and other objects of an object type – and object types (*tags* and *tag types* in parts of the Telaris user interface).","x-telaris-namespace":"object"},{"name":"Hourtracking","description":"Hour tracking: hours per employee on activities, objects and order rows; signing and approval; activities and hour types.","x-telaris-namespace":"hourtracking"},{"name":"Finance","description":"Invoices and credit notes, vouchers, payments, project postings, period lock, payroll basis, mapping.","x-telaris-namespace":"finance"},{"name":"Supplier","description":"Suppliers and supplier invoices.","x-telaris-namespace":"supplier"},{"name":"Warehouse","description":"Warehouses, locations, stock and the stock ledger, picking lists, reservations, counting.","x-telaris-namespace":"warehouse"},{"name":"Logistics","description":"Goods receipts, purchase orders, shipments.","x-telaris-namespace":"logistics"},{"name":"Webshop","description":"Channel-aware projections for shops: published products, price and stock feeds, shop order intake.","x-telaris-namespace":"webshop"},{"name":"Webhook","description":"Webhook subscriptions and deliveries.","x-telaris-namespace":"webhook"},{"name":"Report","description":"Custom reports enabled for the API: list them, run them with parameters, and poll and download background runs.","x-telaris-namespace":"report"}],"x-tagGroups":[{"name":"Platform","tags":["Auth","Webhook","Report"]},{"name":"Master data and prices","tags":["Product","Manufacturer","Price","File","Customer","Supplier","Object"]},{"name":"Transactions","tags":["Order","Hourtracking","Finance","Warehouse","Logistics"]},{"name":"Channels","tags":["Webshop"]}],"x-telaris-products":[{"name":"Commercial Operations API","key":"commercial-operations","description":"CRM and sales tools: customers and contacts, products (read), orders and order rows, order status, invoices (read), projects, hour tracking. Reference consumers: SuperOffice, HubSpot.","scopes":["product.read","customer.create","customer.read","customer.update","customer.delete","customer.contact.create","customer.contact.read","customer.contact.update","customer.contact.delete","order.create","order.read","order.update","order.delete","finance.invoice.read","object.read","object.project.create","object.project.update","object.project.delete","hourtracking.create","hourtracking.read","hourtracking.update","hourtracking.delete","hourtracking.sign","hourtracking.approve","logistics.shipment.read","webhook.create","webhook.read","webhook.update","webhook.delete"]},{"name":"Product Data API","key":"product-data","description":"PLM, CAD and product-information systems: products and structures (BOM), classes, categories, attributes, manufacturers, prices, files, objects (projects, systems, equipment); stock and warehouses (read).","scopes":["product.create","product.read","product.update","product.delete","product.structure.create","product.structure.read","product.structure.update","product.structure.delete","manufacturer.create","manufacturer.read","manufacturer.update","price.create","price.read","price.update","price.delete","file.create","file.read","file.update","file.delete","customer.read","customer.contact.read","warehouse.read","warehouse.stock.read","object.create","object.read","object.update","object.delete","webhook.create","webhook.read","webhook.update","webhook.delete"]},{"name":"Warehouse & Fulfillment API","key":"warehouse-fulfillment","description":"WMS, logistics and fulfilment systems: warehouses, locations, stock, picking lists, goods receipt, purchase orders, shipments, reservations, counting.","scopes":["warehouse.create","warehouse.read","warehouse.update","warehouse.delete","warehouse.stock.read","warehouse.stock.update","warehouse.lot.read","warehouse.pickinglist.create","warehouse.pickinglist.read","warehouse.pickinglist.update","warehouse.pickinglist.delete","logistics.goodsreceipt.create","logistics.goodsreceipt.read","logistics.goodsreceipt.update","logistics.purchaseorder.create","logistics.purchaseorder.read","logistics.purchaseorder.update","logistics.shipment.create","logistics.shipment.read","logistics.shipment.update","product.read","customer.read","supplier.read","order.read","object.read","hourtracking.read","order.fulfilment.update","webhook.create","webhook.read","webhook.update","webhook.delete"]},{"name":"Accounting API","key":"accounting","description":"Accounting and finance systems: invoices and credit notes, vouchers, payments, supplier invoices and approval, project postings, period lock, payroll basis, mapping; cost data – purchasing lines, stock lots, cost per order, employees with cost rate – and reports.","scopes":["finance.entity.read","finance.entity.update","finance.invoice.read","finance.invoice.export","finance.voucher.read","finance.voucher.export","finance.payment.create","finance.payment.read","finance.projectposting.create","finance.period.read","finance.period.update","finance.payroll.read","finance.mapping.read","finance.mapping.update","supplier.create","supplier.read","supplier.update","supplier.invoice.create","supplier.invoice.read","supplier.invoice.update","customer.create","customer.read","customer.update","customer.contact.read","product.read","order.read","order.cost.read","object.read","logistics.purchaseorder.read","logistics.goodsreceipt.read","warehouse.stock.read","warehouse.lot.read","hourtracking.read","hourtracking.employee.read","report.read","report.execute","webhook.create","webhook.read","webhook.update","webhook.delete"]},{"name":"Webshop API","key":"webshop","description":"E-commerce platforms: channel-aware product publishing, price and stock feeds, customer-specific prices, customer lookup, shop order intake, status back. Reference consumers: WooCommerce, Shopify (Q1 2027).","scopes":["webshop.create","webshop.read","webshop.update","product.read","product.structure.read","price.read","file.read","warehouse.read","warehouse.stock.read","customer.create","customer.read","customer.update","customer.contact.create","customer.contact.read","order.create","order.read","order.update","logistics.shipment.read","webhook.create","webhook.read","webhook.update","webhook.delete"]}],"paths":{"/api/v3/auth":{"post":{"tags":["Auth"],"summary":"/api/v3/auth","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nExchange a public key for the private key (one-time).\n\nNormally performed by api.telaris.no when the integrator adds an API connection. The public key\n(`sk_prod_…`) is single-use and expires two weeks after generation; the returned private key\n(`pk_prod_…`) is the Bearer token for all calls and cannot be retrieved again.\n","operationId":"authExchange","x-telaris-namespace":"auth","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-available":"2026-Q4","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["publickey"],"properties":{"publickey":{"type":"string","examples":["sk_prod_1b_4aygnc135pa1s5quysaii6rju_cbaa7570…"]}}}}}},"responses":{"200":{"description":"Private key issued","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"privatekey":{"type":"string"},"scopes":{"type":"string","description":"Comma-separated scope list granted to the key"},"company":{"type":"string"},"regnumber":{"type":"string"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no object with this id. Public key unknown or expired."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/product":{"post":{"tags":["Product"],"summary":"/api/v3/product","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate or update a product (upsert), optionally with its structure.\n\nMatching `id` → `productNo` → `sku` → `externalRef`. `components` creates the structure in the same transaction; inline component products are created recursively.\n","operationId":"upsertProduct","x-telaris-namespace":"product","x-telaris-products":["Product Data API"],"x-telaris-scope":"product.create","x-telaris-available":"2026-Q4","x-telaris-errors":["PRODUCT_DUPLICATE","PRODUCT_UNKNOWN_CLASS","PRODUCT_UNKNOWN_CATEGORY","PRODUCT_UNKNOWN_MANUFACTURER","PRODUCT_UNKNOWN_SUPPLIER","PRODUCT_INVALID_ATTRIBUTE","STRUCTURE_UNKNOWN_COMPONENT","STRUCTURE_CYCLE","STRUCTURE_NOT_ALLOWED"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpsert"}}}},"responses":{"200":{"description":"Product created or updated; `created` says which","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.create`; or `NOT_LICENSED` – module not licensed."},"409":{"$ref":"#/components/responses/Conflict","description":"`PRODUCT_DUPLICATE` – `sku`, `productNo` or `externalRef` exists on another product than the one addressed."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `PRODUCT_UNKNOWN_CLASS` – Product class not found\n- `PRODUCT_UNKNOWN_CATEGORY` – Category not found\n- `PRODUCT_UNKNOWN_MANUFACTURER` – Manufacturer not found\n- `PRODUCT_UNKNOWN_SUPPLIER` – Supplier not found\n- `PRODUCT_INVALID_ATTRIBUTE` – Field not on the product's class, or value not among `options`\n- `STRUCTURE_UNKNOWN_COMPONENT` – Component product not found and not defined inline\n- `STRUCTURE_CYCLE` – The structure would contain the product itself\n- `STRUCTURE_NOT_ALLOWED` – Components on a `single` product\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/product/category":{"post":{"tags":["Product"],"summary":"/api/v3/product/category","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate or update a category (upsert on code).","operationId":"upsertCategory","x-telaris-namespace":"product","x-telaris-products":["Product Data API"],"x-telaris-scope":"product.create","x-telaris-available":"2026-Q4","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryWrite"}}}},"responses":{"200":{"description":"The category","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"category":{"$ref":"#/components/schemas/Category"},"created":{"type":"boolean"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.create`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/product/category/list":{"get":{"tags":["Product"],"summary":"/api/v3/product/category/list","description":"List categories (flat or tree).","operationId":"listCategories","x-telaris-namespace":"product","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"product.read","x-telaris-available":"2026-Q4","parameters":[{"name":"parent","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"code","in":"query","schema":{"type":"string"}},{"name":"tree","in":"query","schema":{"type":"boolean","default":false}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Categories","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"categories":{"type":"array","items":{"$ref":"#/components/schemas/Category"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/product/category/{id}":{"get":{"tags":["Product"],"summary":"/api/v3/product/category/{id}","description":"Get a category.","operationId":"getCategory","x-telaris-namespace":"product","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"product.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The category","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"category":{"$ref":"#/components/schemas/Category"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no category with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Product"],"summary":"/api/v3/product/category/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate a category (partial).","operationId":"updateCategory","x-telaris-namespace":"product","x-telaris-products":["Product Data API"],"x-telaris-scope":"product.update","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryWrite"}}}},"responses":{"200":{"description":"The category","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"category":{"$ref":"#/components/schemas/Category"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no category with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Product"],"summary":"/api/v3/product/category/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nDelete a category.","operationId":"deleteCategory","x-telaris-namespace":"product","x-telaris-products":["Product Data API"],"x-telaris-scope":"product.delete","x-telaris-available":"2026-Q4","x-telaris-errors":["CATEGORY_IN_USE"],"parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no category with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`CATEGORY_IN_USE` – Category has products or subcategories; cannot be deleted."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/product/class/list":{"get":{"tags":["Product"],"summary":"/api/v3/product/class/list","description":"List product classes with attribute definitions.","operationId":"listProductClasses","x-telaris-namespace":"product","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"product.read","x-telaris-available":"2026-Q4","responses":{"200":{"description":"Classes","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"productClasses":{"type":"array","items":{"$ref":"#/components/schemas/ProductClass"}}}}]}}}},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/product/class/{id}":{"get":{"tags":["Product"],"summary":"/api/v3/product/class/{id}","description":"Get a product class.","operationId":"getProductClass","x-telaris-namespace":"product","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"product.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The class","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"productClass":{"$ref":"#/components/schemas/ProductClass"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no class with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Product"],"summary":"/api/v3/product/class/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate attribute definitions of a class.","operationId":"updateProductClass","x-telaris-namespace":"product","x-telaris-products":["Product Data API"],"x-telaris-scope":"product.update","x-telaris-available":"2026-Q4","x-telaris-errors":["FIELD_IN_USE"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/ProductField"}}}}}}},"responses":{"200":{"description":"The class","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"productClass":{"$ref":"#/components/schemas/ProductClass"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no class with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`FIELD_IN_USE` – Attribute definition in use on products; cannot be removed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/product/list":{"get":{"tags":["Product"],"summary":"/api/v3/product/list","description":"List products.","operationId":"listProducts","x-telaris-namespace":"product","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"product.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/updatedSince"},{"name":"includeInactive","in":"query","schema":{"type":"boolean","default":false}},{"name":"includeDeleted","in":"query","schema":{"type":"boolean","default":false}},{"name":"productClass","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"category","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"discountCategory","in":"query","schema":{"$ref":"#/components/schemas/OID"},"description":"Products in this discount category."},{"name":"catalog","in":"query","schema":{"$ref":"#/components/schemas/OID"},"description":"Products linked to this catalog (catalog link)."},{"name":"manufacturer","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"type","in":"query","schema":{"$ref":"#/components/schemas/ProductType"}},{"name":"status","in":"query","schema":{"$ref":"#/components/schemas/ProductStatus"}},{"name":"productNo","in":"query","schema":{"type":"integer"}},{"name":"sku","in":"query","schema":{"type":"string"}},{"name":"barcode","in":"query","schema":{"type":"string"}},{"name":"externalRef","in":"query","schema":{"type":"string"}},{"name":"label","in":"query","schema":{"type":"string"},"description":"Only records with this label."},{"name":"hasStructure","in":"query","schema":{"type":"boolean"}},{"name":"freetext","in":"query","schema":{"type":"string"}},{"name":"fields","in":"query","schema":{"type":"string","default":"summary"},"description":"`summary`, `full` or a comma-separated list of top-level fields."},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Products sorted by `productNo`","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"products":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/Product"},{"$ref":"#/components/schemas/ProductSummary"}],"description":"`Product` with `fields=full`; `ProductSummary` with `fields=summary` (the default)."}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/product/{id}":{"get":{"tags":["Product"],"summary":"/api/v3/product/{id}","description":"Get a product.\n\nReturns the summary projection (`ProductSummary`) by default, as the list does; `fields=full` returns the full product.\n","operationId":"getProduct","x-telaris-namespace":"product","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"product.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/fields"}],"responses":{"200":{"description":"The product","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"product":{"anyOf":[{"$ref":"#/components/schemas/Product"},{"$ref":"#/components/schemas/ProductSummary"}],"description":"`Product` with `fields=full`; `ProductSummary` with `fields=summary` (the default)."}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Product"],"summary":"/api/v3/product/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate a product (partial).","operationId":"updateProduct","x-telaris-namespace":"product","x-telaris-products":["Product Data API"],"x-telaris-scope":"product.update","x-telaris-available":"2026-Q4","x-telaris-errors":["PRODUCT_DUPLICATE","PRODUCT_IN_USE","PRODUCT_UNKNOWN_CLASS","PRODUCT_UNKNOWN_CATEGORY","PRODUCT_UNKNOWN_MANUFACTURER","PRODUCT_UNKNOWN_SUPPLIER","PRODUCT_INVALID_ATTRIBUTE"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdate"}}}},"responses":{"200":{"description":"Updated product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"One of:\n- `PRODUCT_DUPLICATE` – `sku`, `productNo` or `externalRef` exists on another product than the one addressed\n- `PRODUCT_IN_USE` – Delete or type change refused: open orders, picking, or used as a component\n"},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `PRODUCT_UNKNOWN_CLASS` – Product class not found\n- `PRODUCT_UNKNOWN_CATEGORY` – Category not found\n- `PRODUCT_UNKNOWN_MANUFACTURER` – Manufacturer not found\n- `PRODUCT_UNKNOWN_SUPPLIER` – Supplier not found\n- `PRODUCT_INVALID_ATTRIBUTE` – Field not on the product's class, or value not among `options`\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Product"],"summary":"/api/v3/product/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nSoft-delete a product.\n\nRefused with 409 `PRODUCT_IN_USE` when on open orders, in picking, or a component of another product.\n","operationId":"deleteProduct","x-telaris-namespace":"product","x-telaris-products":["Product Data API"],"x-telaris-scope":"product.delete","x-telaris-available":"2026-Q4","x-telaris-errors":["PRODUCT_IN_USE"],"parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`PRODUCT_IN_USE` – Delete or type change refused: open orders, picking, or used as a component."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/product/{id}/file":{"post":{"tags":["Product"],"summary":"/api/v3/product/{id}/file","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpload a file or register one by URL.\n\nSame `filename` on the same product creates a new revision. Maximum 50 MB.\n","operationId":"uploadProductFile","x-telaris-namespace":"product","x-telaris-products":["Product Data API"],"x-telaris-scope":"file.create","x-telaris-available":"2026-Q4","x-telaris-errors":["FILE_TOO_LARGE","FILE_TYPE_NOT_ALLOWED"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary"},"kind":{"$ref":"#/components/schemas/FileKind"},"documentType":{"type":"string","description":"Document type id or name"},"visibility":{"$ref":"#/components/schemas/FileVisibility"},"revisionLabel":{"type":"string"},"isMain":{"type":"boolean"}}}},"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"},"filename":{"type":"string"},"kind":{"$ref":"#/components/schemas/FileKind"},"documentType":{"type":"string"},"visibility":{"$ref":"#/components/schemas/FileVisibility"},"revisionLabel":{"type":"string"},"isMain":{"type":"boolean"}}}}}},"responses":{"200":{"description":"The file","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"file":{"$ref":"#/components/schemas/File"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"One of:\n- `VALIDATION` – invalid body or parameter; see `error.details.fields`\n- `FILE_TOO_LARGE` – File exceeds the size limit\n- `FILE_TYPE_NOT_ALLOWED` – File type not allowed\n"},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `file.create`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/product/{id}/file/list":{"get":{"tags":["Product"],"summary":"/api/v3/product/{id}/file/list","description":"List images and documents of a product.","operationId":"listProductFiles","x-telaris-namespace":"product","x-telaris-products":["Product Data API","Webshop API"],"x-telaris-scope":"file.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"},{"name":"kind","in":"query","schema":{"$ref":"#/components/schemas/FileKind"}},{"name":"visibility","in":"query","schema":{"$ref":"#/components/schemas/FileVisibility"}}],"responses":{"200":{"description":"Files","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"files":{"type":"array","items":{"$ref":"#/components/schemas/File"}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `file.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/product/{id}/structure":{"get":{"tags":["Product"],"summary":"/api/v3/product/{id}/structure","description":"Get the structure (component tree).","operationId":"getStructure","x-telaris-namespace":"product","x-telaris-products":["Product Data API","Webshop API"],"x-telaris-scope":"product.structure.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"},{"name":"depth","in":"query","schema":{"type":"integer","minimum":1,"maximum":10,"default":1}},{"name":"includeInactive","in":"query","schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"The structure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StructureResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.structure.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Product"],"summary":"/api/v3/product/{id}/structure","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nReplace the structure.\n\nComponents matched by `id`; without `id` added; absent from the body removed. Transactional and idempotent. Nested `components` accepted only for inline-created products.\n","operationId":"replaceStructure","x-telaris-namespace":"product","x-telaris-products":["Product Data API"],"x-telaris-scope":"product.structure.update","x-telaris-available":"2026-Q4","x-telaris-errors":["STRUCTURE_UNKNOWN_COMPONENT","STRUCTURE_CYCLE","STRUCTURE_NOT_ALLOWED"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["components"],"properties":{"components":{"type":"array","items":{"$ref":"#/components/schemas/ComponentWrite"}}}}}}},"responses":{"200":{"description":"The structure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StructureResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.structure.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product with this id."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `STRUCTURE_UNKNOWN_COMPONENT` – Component product not found and not defined inline\n- `STRUCTURE_CYCLE` – The structure would contain the product itself\n- `STRUCTURE_NOT_ALLOWED` – Components on a `single` product\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/product/{id}/structure/component":{"post":{"tags":["Product"],"summary":"/api/v3/product/{id}/structure/component","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nAdd components.","operationId":"addComponents","x-telaris-namespace":"product","x-telaris-products":["Product Data API"],"x-telaris-scope":"product.structure.create","x-telaris-available":"2026-Q4","x-telaris-errors":["STRUCTURE_UNKNOWN_COMPONENT","STRUCTURE_CYCLE","STRUCTURE_NOT_ALLOWED"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["components"],"properties":{"components":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/ComponentWrite"}}}}}}},"responses":{"200":{"description":"The structure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StructureResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.structure.create`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product with this id."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `STRUCTURE_UNKNOWN_COMPONENT` – Component product not found and not defined inline\n- `STRUCTURE_CYCLE` – The structure would contain the product itself\n- `STRUCTURE_NOT_ALLOWED` – Components on a `single` product\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/product/{id}/structure/component/{componentId}":{"put":{"tags":["Product"],"summary":"/api/v3/product/{id}/structure/component/{componentId}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate a component.","operationId":"updateComponent","x-telaris-namespace":"product","x-telaris-products":["Product Data API"],"x-telaris-scope":"product.structure.update","x-telaris-available":"2026-Q4","x-telaris-errors":["STRUCTURE_UNKNOWN_COMPONENT","STRUCTURE_CYCLE","STRUCTURE_NOT_ALLOWED"],"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/componentId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComponentUpdate"}}}},"responses":{"200":{"description":"The structure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StructureResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.structure.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product or component with this id."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `STRUCTURE_UNKNOWN_COMPONENT` – Component product not found and not defined inline\n- `STRUCTURE_CYCLE` – The structure would contain the product itself\n- `STRUCTURE_NOT_ALLOWED` – Components on a `single` product\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Product"],"summary":"/api/v3/product/{id}/structure/component/{componentId}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nRemove a component.","operationId":"deleteComponent","x-telaris-namespace":"product","x-telaris-products":["Product Data API"],"x-telaris-scope":"product.structure.delete","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/componentId"}],"responses":{"200":{"description":"The structure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StructureResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `product.structure.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product or component with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/manufacturer":{"post":{"tags":["Manufacturer"],"summary":"/api/v3/manufacturer","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate or update a manufacturer (upsert on name or externalRef).","operationId":"upsertManufacturer","x-telaris-namespace":"manufacturer","x-telaris-products":["Product Data API"],"x-telaris-scope":"manufacturer.create","x-telaris-available":"2026-Q4","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Manufacturer"}}}},"responses":{"200":{"description":"The manufacturer","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"manufacturer":{"$ref":"#/components/schemas/Manufacturer"},"created":{"type":"boolean"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `manufacturer.create`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/manufacturer/list":{"get":{"tags":["Manufacturer"],"summary":"/api/v3/manufacturer/list","description":"List manufacturers (brands).","operationId":"listManufacturers","x-telaris-namespace":"manufacturer","x-telaris-products":["Product Data API"],"x-telaris-scope":"manufacturer.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Manufacturers","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"manufacturers":{"type":"array","items":{"$ref":"#/components/schemas/Manufacturer"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `manufacturer.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/manufacturer/{id}":{"get":{"tags":["Manufacturer"],"summary":"/api/v3/manufacturer/{id}","description":"Get a manufacturer.","operationId":"getManufacturer","x-telaris-namespace":"manufacturer","x-telaris-products":["Product Data API"],"x-telaris-scope":"manufacturer.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The manufacturer","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"manufacturer":{"$ref":"#/components/schemas/Manufacturer"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `manufacturer.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no manufacturer with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Manufacturer"],"summary":"/api/v3/manufacturer/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate a manufacturer.","operationId":"updateManufacturer","x-telaris-namespace":"manufacturer","x-telaris-products":["Product Data API"],"x-telaris-scope":"manufacturer.update","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Manufacturer"}}}},"responses":{"200":{"description":"The manufacturer","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"manufacturer":{"$ref":"#/components/schemas/Manufacturer"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `manufacturer.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no manufacturer with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/price/customer":{"post":{"tags":["Price"],"summary":"/api/v3/price/customer","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate or update a customer price (upsert on product + customer).","operationId":"upsertCustomerPrice","x-telaris-namespace":"price","x-telaris-products":["Product Data API"],"x-telaris-scope":"price.create","x-telaris-available":"2026-Q4","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerPrice"}}}},"responses":{"200":{"description":"The customer price","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"customerPrice":{"$ref":"#/components/schemas/CustomerPrice"},"created":{"type":"boolean"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `price.create`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/price/customer/list":{"get":{"tags":["Price"],"summary":"/api/v3/price/customer/list","description":"List customer-specific net prices.","operationId":"listCustomerPrices","x-telaris-namespace":"price","x-telaris-products":["Product Data API","Webshop API"],"x-telaris-scope":"price.read","x-telaris-available":"2026-Q4","parameters":[{"name":"product","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"customer","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Customer prices","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"customerPrices":{"type":"array","items":{"$ref":"#/components/schemas/CustomerPrice"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `price.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/price/customer/{id}":{"delete":{"tags":["Price"],"summary":"/api/v3/price/customer/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nDelete a customer price.","operationId":"deleteCustomerPrice","x-telaris-namespace":"price","x-telaris-products":["Product Data API"],"x-telaris-scope":"price.delete","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `price.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no customer with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/price/matrix":{"post":{"tags":["Price"],"summary":"/api/v3/price/matrix","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate a discount matrix row.","operationId":"createDiscountRule","x-telaris-namespace":"price","x-telaris-products":["Product Data API"],"x-telaris-scope":"price.create","x-telaris-available":"2026-Q4","x-telaris-errors":["PRICE_INVALID_PERIOD","PRICE_RULE_OVERLAP"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscountRule"}}}},"responses":{"200":{"description":"The rule","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"rule":{"$ref":"#/components/schemas/DiscountRule"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"One of:\n- `VALIDATION` – invalid body or parameter; see `error.details.fields`\n- `PRICE_INVALID_PERIOD` – `validTo` before `validFrom`\n"},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `price.create`; or `NOT_LICENSED` – module not licensed."},"409":{"$ref":"#/components/responses/Conflict","description":"`PRICE_RULE_OVERLAP` – Matrix row with the same keys and overlapping period exists."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/price/matrix/list":{"get":{"tags":["Price"],"summary":"/api/v3/price/matrix/list","description":"List discount matrix rows.","operationId":"listDiscountRules","x-telaris-namespace":"price","x-telaris-products":["Product Data API","Webshop API"],"x-telaris-scope":"price.read","x-telaris-available":"2026-Q4","parameters":[{"name":"product","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"category","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"manufacturer","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"customer","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"customerDiscountGroup","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"orderDiscountGroup","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Rules","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/components/schemas/DiscountRule"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `price.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/price/matrix/{id}":{"put":{"tags":["Price"],"summary":"/api/v3/price/matrix/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate a discount matrix row.","operationId":"updateDiscountRule","x-telaris-namespace":"price","x-telaris-products":["Product Data API"],"x-telaris-scope":"price.update","x-telaris-available":"2026-Q4","x-telaris-errors":["PRICE_INVALID_PERIOD","PRICE_RULE_OVERLAP"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscountRule"}}}},"responses":{"200":{"description":"The rule","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"rule":{"$ref":"#/components/schemas/DiscountRule"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"One of:\n- `VALIDATION` – invalid body or parameter; see `error.details.fields`\n- `PRICE_INVALID_PERIOD` – `validTo` before `validFrom`\n"},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `price.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no matrix with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`PRICE_RULE_OVERLAP` – Matrix row with the same keys and overlapping period exists."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Price"],"summary":"/api/v3/price/matrix/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nDelete a discount matrix row.","operationId":"deleteDiscountRule","x-telaris-namespace":"price","x-telaris-products":["Product Data API"],"x-telaris-scope":"price.delete","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `price.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no matrix with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/price/product/{id}":{"get":{"tags":["Price"],"summary":"/api/v3/price/product/{id}","description":"Prices of a product.","operationId":"getProductPrices","x-telaris-namespace":"price","x-telaris-products":["Product Data API","Webshop API"],"x-telaris-scope":"price.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Prices","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"prices":{"$ref":"#/components/schemas/ProductPrices"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `price.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Price"],"summary":"/api/v3/price/product/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate list, campaign, cost and currency prices (partial).","operationId":"updateProductPrices","x-telaris-namespace":"price","x-telaris-products":["Product Data API"],"x-telaris-scope":"price.update","x-telaris-available":"2026-Q4","x-telaris-errors":["PRICE_INVALID_PERIOD"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductPrices"}}}},"responses":{"200":{"description":"Prices","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"prices":{"$ref":"#/components/schemas/ProductPrices"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"One of:\n- `VALIDATION` – invalid body or parameter; see `error.details.fields`\n- `PRICE_INVALID_PERIOD` – `validTo` before `validFrom`\n"},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `price.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/price/resolve":{"get":{"tags":["Price"],"summary":"/api/v3/price/resolve","description":"Resolve the price for a product, customer and quantity.\n\nResolution order: customer price → discount matrix (most specific match) → campaign price → list price. Without `customer`, the anonymous price.\n","operationId":"resolvePrice","x-telaris-namespace":"price","x-telaris-products":["Product Data API","Webshop API"],"x-telaris-scope":"price.read","x-telaris-available":"2026-Q4","parameters":[{"name":"product","in":"query","required":true,"schema":{"type":"string"},"description":"OID, SKU or product number"},{"name":"customer","in":"query","schema":{"type":"string"},"description":"OID or customer number"},{"name":"quantity","in":"query","schema":{"type":"number","default":1}},{"name":"date","in":"query","schema":{"type":"string","format":"date"},"description":"Date the discount matrix rows are resolved for (their `validFrom`/`validTo`); default today. Only discount-group (matrix) prices depend on it: customer, campaign and list prices are always the current ones. **Not in effect yet:** the parameter is accepted and validated, but every `date` gives today's result until the price engine supports a date."}],"responses":{"200":{"description":"Resolved price","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"price":{"$ref":"#/components/schemas/ResolvedPrice"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `price.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/file/{id}":{"get":{"tags":["File"],"summary":"/api/v3/file/{id}","description":"File metadata.","operationId":"getFile","x-telaris-namespace":"file","x-telaris-products":["Product Data API","Webshop API"],"x-telaris-scope":"file.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"},{"name":"revision","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"The file","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"file":{"$ref":"#/components/schemas/File"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `file.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no file with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["File"],"summary":"/api/v3/file/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate file metadata.","operationId":"updateFile","x-telaris-namespace":"file","x-telaris-products":["Product Data API"],"x-telaris-scope":"file.update","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"documentType":{"type":"string"},"visibility":{"$ref":"#/components/schemas/FileVisibility"},"isMain":{"type":"boolean"},"sortKey":{"type":"integer"},"revisionLabel":{"type":"string"},"approvalState":{"$ref":"#/components/schemas/ApprovalState"}}}}}},"responses":{"200":{"description":"The file","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"file":{"$ref":"#/components/schemas/File"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `file.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no file with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["File"],"summary":"/api/v3/file/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nSoft-delete a file.","operationId":"deleteFile","x-telaris-namespace":"file","x-telaris-products":["Product Data API"],"x-telaris-scope":"file.delete","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `file.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no file with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/file/{id}/content":{"get":{"tags":["File"],"summary":"/api/v3/file/{id}/content","description":"Download file content.","operationId":"getFileContent","x-telaris-namespace":"file","x-telaris-products":["Product Data API","Webshop API"],"x-telaris-scope":"file.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"},{"name":"revision","in":"query","schema":{"type":"integer"}},{"name":"size","in":"query","schema":{"type":"string","enum":["thumb","medium","original"],"default":"original"},"description":"Images only. `thumb` scales the image's longest side to 512 px and `medium` to 1024 px. A smaller image is sent unchanged (never scaled up). Documents ignore `size`."}],"responses":{"200":{"description":"The file content","content":{"*/*":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `file.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no file with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/customer":{"post":{"tags":["Customer"],"summary":"/api/v3/customer","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate or update a customer (upsert).\n\nMatching order: `id` → `customerNo` → `externalRef`. No match creates. Telaris does not match on\n`orgNo` or `email` at upsert; look up first and send `id` or `customerNo` when the customer exists.\nRequires `customer.update` in addition to `customer.create` when the call updates.\n\n\nAccounting integrations where the accounting system is the customer master use this upsert too (it replaces `POST /accounting/customer` from revision 3.2026.09): look up with `GET /customer/list?orgNo=` first and send `id` or `customerNo` when found.\n","operationId":"upsertCustomer","x-telaris-namespace":"customer","x-telaris-products":["Commercial Operations API","Accounting API","Webshop API"],"x-telaris-scope":"customer.create","x-telaris-available":"2026-Q4","x-telaris-errors":["CUSTOMER_DUPLICATE"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerUpsert"},"examples":{"company":{"value":{"externalRef":"crm-cust-88213","type":"company","name":"VIRKSOMHET AS","orgNo":"987 654 325 MVA","email":"post@virksomhet.no","phone":"+47 22 00 00 00","invoiceEmail":"faktura@virksomhet.no","mainAddress":{"line1":"Industriveien 1","zip":"4630","city":"Kristiansand","country":"NO"},"invoiceAddress":{"line1":"Postboks 12","zip":"4630","city":"Kristiansand","country":"NO"},"isEnabled":true}}}}}},"responses":{"200":{"description":"Customer created or updated; `created` says which","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `customer.create`; or `NOT_LICENSED` – module not licensed."},"409":{"$ref":"#/components/responses/Conflict","description":"`CUSTOMER_DUPLICATE` – `externalRef` exists on another customer than the one addressed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/customer/contact":{"post":{"tags":["Customer"],"summary":"/api/v3/customer/contact","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate or update a contact (upsert).\n\nMatching order `id` → `externalRef` → `customer` + `email`. A contact cannot be moved to another customer (409 `CONTACT_CUSTOMER_MISMATCH`).\n","operationId":"upsertContact","x-telaris-namespace":"customer","x-telaris-products":["Commercial Operations API","Webshop API"],"x-telaris-scope":"customer.contact.create","x-telaris-available":"2026-Q4","x-telaris-errors":["CONTACT_CUSTOMER_MISMATCH"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactUpsert"}}}},"responses":{"200":{"description":"Contact created or updated; `created` says which","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `customer.contact.create`; or `NOT_LICENSED` – module not licensed."},"409":{"$ref":"#/components/responses/Conflict","description":"`CONTACT_CUSTOMER_MISMATCH` – Contact belongs to another customer."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/customer/contact/list":{"get":{"tags":["Customer"],"summary":"/api/v3/customer/contact/list","description":"List contacts.","operationId":"listContacts","x-telaris-namespace":"customer","x-telaris-products":["Commercial Operations API","Product Data API","Accounting API","Webshop API"],"x-telaris-scope":"customer.contact.read","x-telaris-available":"2026-Q4","parameters":[{"name":"customer","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"customerNo","in":"query","schema":{"type":"integer"}},{"name":"email","in":"query","schema":{"type":"string"}},{"name":"externalRef","in":"query","schema":{"type":"string"}},{"$ref":"#/components/parameters/updatedSince"},{"name":"includeDisabled","in":"query","schema":{"type":"boolean","default":false}},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Contacts sorted by customer, then name","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"contacts":{"type":"array","items":{"$ref":"#/components/schemas/Contact"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `customer.contact.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/customer/contact/{id}":{"get":{"tags":["Customer"],"summary":"/api/v3/customer/contact/{id}","description":"Get a contact.","operationId":"getContact","x-telaris-namespace":"customer","x-telaris-products":["Commercial Operations API","Product Data API","Accounting API","Webshop API"],"x-telaris-scope":"customer.contact.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The contact","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `customer.contact.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no contact with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Customer"],"summary":"/api/v3/customer/contact/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate a contact (partial).","operationId":"updateContact","x-telaris-namespace":"customer","x-telaris-products":["Commercial Operations API"],"x-telaris-scope":"customer.contact.update","x-telaris-available":"2026-Q4","x-telaris-errors":["CONTACT_CUSTOMER_MISMATCH"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactUpdate"}}}},"responses":{"200":{"description":"Updated contact","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `customer.contact.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no contact with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`CONTACT_CUSTOMER_MISMATCH` – Contact belongs to another customer."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Customer"],"summary":"/api/v3/customer/contact/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nSoft-delete a contact.","operationId":"deleteContact","x-telaris-namespace":"customer","x-telaris-products":["Commercial Operations API"],"x-telaris-scope":"customer.contact.delete","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `customer.contact.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no contact with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/customer/list":{"get":{"tags":["Customer"],"summary":"/api/v3/customer/list","description":"Search and list customers.\n\nAll filters optional, combined with AND. Sorted by `customerNo`.\n","operationId":"listCustomers","x-telaris-namespace":"customer","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"customer.read","x-telaris-available":"2026-Q4","x-telaris-note":"A limited form (names only) is available before v3; the parameters and the full object come with v3 in Q4 2026.","parameters":[{"name":"orgNo","in":"query","schema":{"type":"string"},"description":"Organisation number; only digits are compared."},{"name":"email","in":"query","schema":{"type":"string"}},{"name":"customerNo","in":"query","schema":{"type":"integer"}},{"name":"externalRef","in":"query","schema":{"type":"string"},"description":"The consumer's own customer id."},{"name":"type","in":"query","schema":{"$ref":"#/components/schemas/CustomerType"}},{"name":"freetext","in":"query","schema":{"type":"string"}},{"name":"freetextMode","in":"query","schema":{"type":"string","enum":["name","zip","city","contacts"],"default":"name"}},{"name":"label","in":"query","schema":{"type":"string"},"description":"Only records with this label."},{"$ref":"#/components/parameters/updatedSince"},{"name":"includeDisabled","in":"query","schema":{"type":"boolean","default":false}},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Customers","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"customers":{"type":"array","items":{"$ref":"#/components/schemas/Customer"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `customer.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/customer/{id}":{"get":{"tags":["Customer"],"summary":"/api/v3/customer/{id}","description":"Get a customer.","operationId":"getCustomer","x-telaris-namespace":"customer","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"customer.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The customer (deleted customers are returned with `deleted: true`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `customer.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no customer with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Customer"],"summary":"/api/v3/customer/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate a customer (partial).\n\nOnly fields present in the body are changed; `null` clears a nullable field. `type` cannot be changed.\n","operationId":"updateCustomer","x-telaris-namespace":"customer","x-telaris-products":["Commercial Operations API","Accounting API","Webshop API"],"x-telaris-scope":"customer.update","x-telaris-available":"2026-Q4","x-telaris-errors":["CUSTOMER_DUPLICATE"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerUpdate"}}}},"responses":{"200":{"description":"Updated customer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `customer.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no customer with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`CUSTOMER_DUPLICATE` – `externalRef` exists on another customer than the one addressed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Customer"],"summary":"/api/v3/customer/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nSoft-delete a customer.\n\nRefused with 409 `CUSTOMER_IN_USE` when the customer has open orders or unpaid invoices; use `isEnabled: false` instead.\n","operationId":"deleteCustomer","x-telaris-namespace":"customer","x-telaris-products":["Commercial Operations API"],"x-telaris-scope":"customer.delete","x-telaris-available":"2026-Q4","x-telaris-errors":["CUSTOMER_IN_USE"],"parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `customer.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no customer with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`CUSTOMER_IN_USE` – Delete refused: open orders or unpaid invoices."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/order":{"post":{"tags":["Order"],"summary":"/api/v3/order","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate an order.\n\nNew view over Telaris' order intake with the v3 conventions. Idempotent on `sourceRef`: a repeat\nreturns 409 `ORDER_DUPLICATE` with the existing order's `id`, `orderNo` and `status` in `details`,\nwhich consumers treat as success. The customer must exist (422 `ORDER_UNKNOWN_CUSTOMER`); every\nproduct row must reference an existing product (422 `ORDER_UNKNOWN_PRODUCT`, whole order rejected).\nVAT is always taken from the product class. Rows are released on creation.\n","operationId":"createOrder","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API","Webshop API"],"x-telaris-scope":"order.create","x-telaris-available":"2026-Q4","x-telaris-errors":["ORDER_DUPLICATE","ORDER_UNKNOWN_CUSTOMER","ORDER_UNKNOWN_PRODUCT","ORDER_INVALID_STATUS"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderCreate"},"examples":{"crm":{"value":{"sourceRef":"crm-order-2026-001234","customer":{"id":"oid:…customer…"},"invoiceCustomer":{"customerNo":10480},"contact":{"email":"ola@virksomhet.no"},"orderDate":"2026-09-21","deliveryDate":"2026-10-01","ourReference":"Avtale B-112","customerReference":"Båtplass 2027","invoiceComment":"Faktureres årlig","currency":"NOK","status":{"base":"invoicing"},"deliveryAddress":{"name":"VIRKSOMHET AS","line1":"Brygge 4","zip":"4630","city":"Kristiansand","country":"NO"},"rows":[{"productNo":25130,"quantity":1,"price":12500.0,"discountPct":10,"description":"Båtplass B-112, sesong 2027"},{"product":{"id":"oid:…product…"},"quantity":1,"price":1500.0},{"kind":"text","description":"Leveres etter avtale"}]}}}}}},"responses":{"200":{"description":"Order created; full order with rows","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `order.create`; or `NOT_LICENSED` – module not licensed."},"409":{"$ref":"#/components/responses/Conflict","description":"`ORDER_DUPLICATE` – `sourceRef` exists; existing order in `details`."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `ORDER_UNKNOWN_CUSTOMER` – Customer not found on the instance\n- `ORDER_UNKNOWN_PRODUCT` – Product reference not found; `details.row` and reference\n- `ORDER_INVALID_STATUS` – Status value not accepted (unknown code, or base not allowed)\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/order/cost/list":{"get":{"tags":["Order"],"summary":"/api/v3/order/cost/list","description":"List cost per order.\n\nCost and revenue per order – material (stock lots issued), labour (approved hours × standard rate), purchases bought for the order and other cost – with margin. `dateFrom`/`dateTo` filter on the order date; `updatedSince` returns orders whose cost or revenue changed.\n","operationId":"listOrderCosts","x-telaris-namespace":"order","x-telaris-products":["Accounting API"],"x-telaris-scope":"order.cost.read","x-telaris-available":"2026-Q4","parameters":[{"name":"customer","in":"query","schema":{"type":"string"}},{"name":"object","in":"query","schema":{"type":"string"}},{"name":"dateFrom","in":"query","schema":{"type":"string","format":"date"}},{"name":"dateTo","in":"query","schema":{"type":"string","format":"date"}},{"name":"isComplete","in":"query","schema":{"type":"boolean"}},{"name":"includeLines","in":"query","schema":{"type":"boolean"},"description":"Include `lines` (default `false` on the list)."},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Order costs sorted by order number","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"orderCosts":{"type":"array","items":{"$ref":"#/components/schemas/OrderCost"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `order.cost.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/order/list":{"get":{"tags":["Order"],"summary":"/api/v3/order/list","description":"List orders (headers, without rows).\n\nFor reconciliation, lookup by number and catching missed webhooks. Deleted orders are excluded. Sorted by `orderNo` descending.\n","operationId":"listOrders","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"order.read","x-telaris-available":"2026-Q4","parameters":[{"name":"source","in":"query","schema":{"type":"string"},"description":"Integration source code, e.g. `crm`."},{"name":"sourceRef","in":"query","schema":{"type":"string"}},{"name":"orderNo","in":"query","schema":{"type":"integer"}},{"name":"customer","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"customerNo","in":"query","schema":{"type":"integer"}},{"name":"base","in":"query","schema":{"type":"string"},"description":"Comma-separated base statuses."},{"name":"status","in":"query","schema":{"type":"string"},"description":"Custom status code."},{"$ref":"#/components/parameters/updatedSince"},{"name":"orderDateFrom","in":"query","schema":{"type":"string","format":"date"}},{"name":"orderDateTo","in":"query","schema":{"type":"string","format":"date"}},{"name":"deliveryDateFrom","in":"query","schema":{"type":"string","format":"date"}},{"name":"deliveryDateTo","in":"query","schema":{"type":"string","format":"date"}},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Order headers","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"orders":{"type":"array","items":{"$ref":"#/components/schemas/OrderHeader"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `order.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/order/{id}":{"get":{"tags":["Order"],"summary":"/api/v3/order/{id}","description":"Get an order with rows, linked objects, status and invoice.","operationId":"getOrder","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"order.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"},{"name":"includeObjectFields","in":"query","schema":{"type":"boolean","default":false},"description":"Return each linked object in full (`Object`, as `GET /object/{id}`): with its custom `fields` and the object type's field definitions. Default false: `OrderObject`."}],"responses":{"200":{"description":"The order (a deleted order is returned with `deleted: true` and its last status)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `order.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no order with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Order"],"summary":"/api/v3/order/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate order header fields and status (partial).\n\nHeader fields can be changed while `status.base` is one of new, imported, open, offer, approval,\napproved, urgent, servicetask, invoicing, complaint, claim; otherwise 409 `ORDER_LOCKED`.\n`customer` and `currency` cannot be changed (409). Status transitions allowed via the API:\nto `open`, `approved`, `invoicing` or `cancelled` from any editable base status (see the specification, order status model);\n`invoiced`, `partlyinvoiced` and `closed` are set by Telaris only (409 `ORDER_STATUS_TRANSITION`).\n`cancelled` is refused when any row has been delivered or invoiced.\n\n\nA key holding only `order.fulfilment.update` (Warehouse & Fulfillment API) may change `deliveryDate`, `deliveryAddress`, `sendMethod`, `freightTerm` and `warehouse`; other fields give 403.\n","operationId":"updateOrder","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Webshop API"],"x-telaris-scope":"order.update","x-telaris-scope-alternatives":["order.fulfilment.update"],"x-telaris-available":"2026-Q4","x-telaris-errors":["ORDER_INVALID_STATUS","ORDER_STATUS_TRANSITION","ORDER_LOCKED"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderUpdate"}}}},"responses":{"200":{"description":"Updated order with rows","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `order.update` (or `order.fulfilment.update`); or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no order with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"One of:\n- `ORDER_STATUS_TRANSITION` – Transition not allowed from the current base status\n- `ORDER_LOCKED` – Order is invoiced/closed/cancelled or has deliveries\n"},"422":{"$ref":"#/components/responses/Unprocessable","description":"`ORDER_INVALID_STATUS` – Status value not accepted (unknown code, or base not allowed)."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Order"],"summary":"/api/v3/order/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nSoft-delete an order.\n\nOnly for orders with no picked, delivered or invoiced rows (otherwise 409 `ORDER_LOCKED`). Triggers `order.deleted`.\n","operationId":"deleteOrder","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API"],"x-telaris-scope":"order.delete","x-telaris-available":"2026-Q4","x-telaris-errors":["ORDER_LOCKED"],"parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `order.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no order with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`ORDER_LOCKED` – Order is invoiced/closed/cancelled or has deliveries."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/order/{id}/cost":{"get":{"tags":["Order"],"summary":"/api/v3/order/{id}/cost","description":"Get the cost of an order.\n\nEvery cost line of the order with its source (stock lot, hour entry, purchase order row, voucher), account and whether it is posted to the ledger.\n","operationId":"getOrderCost","x-telaris-namespace":"order","x-telaris-products":["Accounting API"],"x-telaris-scope":"order.cost.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Cost and revenue of the order, line by line","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"orderCost":{"$ref":"#/components/schemas/OrderCost"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `order.cost.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no order with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/order/{id}/row":{"post":{"tags":["Order"],"summary":"/api/v3/order/{id}/row","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nAdd rows to an order.","operationId":"addOrderRows","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API","Webshop API"],"x-telaris-scope":"order.update","x-telaris-available":"2026-Q4","x-telaris-errors":["ORDER_LOCKED","ORDER_UNKNOWN_PRODUCT"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["rows"],"properties":{"rows":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/OrderRowCreate"}}}}}}},"responses":{"200":{"description":"Full order with the appended rows and recalculated totals","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `order.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no order with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`ORDER_LOCKED` – Order is invoiced/closed/cancelled or has deliveries."},"422":{"$ref":"#/components/responses/Unprocessable","description":"`ORDER_UNKNOWN_PRODUCT` – Product reference not found; `details.row` and reference."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/order/{id}/row/list":{"get":{"tags":["Order"],"summary":"/api/v3/order/{id}/row/list","description":"List the rows of an order.\n\nFlat list ordered by `lineNo`, children after their parent (`parentRow`, `level`).\n","operationId":"listOrderRows","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"order.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Rows","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"rows":{"type":"array","items":{"$ref":"#/components/schemas/OrderRow"}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `order.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no order with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/order/{id}/row/{rowId}":{"put":{"tags":["Order"],"summary":"/api/v3/order/{id}/row/{rowId}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate a row (partial).\n\nLocked rows (invoiced, child rows, or on a locked order) give 409 `ORDER_ROW_LOCKED`. Quantity below `quantityDelivered` gives 422.\n","operationId":"updateOrderRow","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API","Webshop API"],"x-telaris-scope":"order.update","x-telaris-available":"2026-Q4","x-telaris-errors":["ORDER_ROW_LOCKED","ORDER_QUANTITY_BELOW_DELIVERED"],"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/rowId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderRowUpdate"}}}},"responses":{"200":{"description":"Updated row and order totals","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"row":{"$ref":"#/components/schemas/OrderRow"},"totals":{"$ref":"#/components/schemas/Totals"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `order.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no order or row with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`ORDER_ROW_LOCKED` – Row invoiced, child row, or the order is locked."},"422":{"$ref":"#/components/responses/Unprocessable","description":"`ORDER_QUANTITY_BELOW_DELIVERED` – Quantity reduced below delivered quantity."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Order"],"summary":"/api/v3/order/{id}/row/{rowId}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nDelete a row and its children.\n\nA row on a picking list (`isOnPickingList`) gives 409 `ORDER_ROW_PICKED`: add a row with negative quantity instead.\n","operationId":"deleteOrderRow","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API","Webshop API"],"x-telaris-scope":"order.update","x-telaris-available":"2026-Q4","x-telaris-errors":["ORDER_ROW_LOCKED","ORDER_ROW_PICKED"],"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/rowId"}],"responses":{"200":{"description":"Deleted; order totals","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"totals":{"$ref":"#/components/schemas/Totals"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `order.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no order or row with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`ORDER_ROW_LOCKED` – Row invoiced, child row, or the order is locked; or `ORDER_ROW_PICKED` – the row is on a picking list."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/object":{"post":{"tags":["Object"],"summary":"/api/v3/object","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate or update an object (upsert).\n\nMatching order `id` → `externalRef` → `name` within the project. No match creates; `objectType` and `name` are required then. Replaces v1 `tag.create` and `tag.update`; custom fields (v1 `tag.set.field`, `tag.set.fields`) are set with `fields`. A key with only `object.project.create` may create and update projects (an object type with `isProject`); other types give 403 `AUTH_SCOPE`.\n","operationId":"upsertObject","x-telaris-namespace":"object","x-telaris-products":["Commercial Operations API","Product Data API"],"x-telaris-scope":"object.create","x-telaris-scope-alternatives":["object.project.create"],"x-telaris-available":"2026-Q4","x-telaris-errors":["OBJECT_DUPLICATE","OBJECT_UNKNOWN_TYPE","OBJECT_PARENT_NOT_ALLOWED","OBJECT_INVALID_FIELD"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectWrite"}}}},"responses":{"200":{"description":"The object","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"object":{"$ref":"#/components/schemas/Object"},"created":{"type":"boolean"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `object.create` (or `object.project.create`); or `NOT_LICENSED` – module not licensed."},"409":{"$ref":"#/components/responses/Conflict","description":"`OBJECT_DUPLICATE` – An object with this name exists in the project; existing object in `details`."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `OBJECT_UNKNOWN_TYPE` – Object type not found\n- `OBJECT_PARENT_NOT_ALLOWED` – The object type is not allowed under this parent (the types' allowed parents and children)\n- `OBJECT_INVALID_FIELD` – Field not defined on the object type, or value not accepted\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/object/list":{"get":{"tags":["Object"],"summary":"/api/v3/object/list","description":"List objects (projects, systems, areas, …).\n\nTelaris calls objects *tags* in parts of its user interface and in the closed v1 API (`tag.create`, `tag.update`, `tag.delete`, `tag.set.fields`); in this API a *tag* is always an **object**. Projects are objects whose type `isProject` (`isProject=true`). Objects are referenced from orders (`project`), order rows (`object`), hours, invoices and project postings.\n","operationId":"listObjects","x-telaris-namespace":"object","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"object.read","x-telaris-available":"2026-Q4","parameters":[{"name":"objectType","in":"query","schema":{"type":"string"},"description":"Object type `code` or OID."},{"name":"isProject","in":"query","schema":{"type":"boolean"}},{"name":"project","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"parent","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"customer","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"name","in":"query","schema":{"type":"string"}},{"name":"externalRef","in":"query","schema":{"type":"string"}},{"name":"freetext","in":"query","schema":{"type":"string"}},{"name":"includeCompleted","in":"query","schema":{"type":"boolean","default":false}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Objects sorted by name","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"objects":{"type":"array","items":{"$ref":"#/components/schemas/Object"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `object.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/object/type/list":{"get":{"tags":["Object"],"summary":"/api/v3/object/type/list","description":"List object types.","operationId":"listObjectTypes","x-telaris-namespace":"object","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"object.read","x-telaris-available":"2026-Q4","parameters":[{"name":"isProject","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Object types (*tag types* in the Telaris user interface)","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"objectTypes":{"type":"array","items":{"$ref":"#/components/schemas/ObjectType"}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `object.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/object/{id}":{"get":{"tags":["Object"],"summary":"/api/v3/object/{id}","description":"Get an object.","operationId":"getObject","x-telaris-namespace":"object","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"object.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The object","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"object":{"$ref":"#/components/schemas/Object"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `object.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no object with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Object"],"summary":"/api/v3/object/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate an object (partial).\n\nOnly the fields sent are changed. Changing `objectType` or `parent` is checked against the types' allowed parents and children. A key with only `object.project.update` may update projects only.\n","operationId":"updateObject","x-telaris-namespace":"object","x-telaris-products":["Commercial Operations API","Product Data API"],"x-telaris-scope":"object.update","x-telaris-scope-alternatives":["object.project.update"],"x-telaris-available":"2026-Q4","x-telaris-errors":["OBJECT_DUPLICATE","OBJECT_UNKNOWN_TYPE","OBJECT_PARENT_NOT_ALLOWED","OBJECT_INVALID_FIELD"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectWrite"}}}},"responses":{"200":{"description":"The object","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"object":{"$ref":"#/components/schemas/Object"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `object.update` (or `object.project.update`); or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no object with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`OBJECT_DUPLICATE` – An object with this name exists in the project; existing object in `details`."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `OBJECT_UNKNOWN_TYPE` – Object type not found\n- `OBJECT_PARENT_NOT_ALLOWED` – The object type is not allowed under this parent (the types' allowed parents and children)\n- `OBJECT_INVALID_FIELD` – Field not defined on the object type, or value not accepted\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Object"],"summary":"/api/v3/object/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nDelete an object.\n\nSoft delete (v1 `tag.delete`). Refused with 409 `OBJECT_IN_USE` while the object has child objects, hours, order rows or invoices. A key with only `object.project.delete` may delete projects only.\n","operationId":"deleteObject","x-telaris-namespace":"object","x-telaris-products":["Commercial Operations API","Product Data API"],"x-telaris-scope":"object.delete","x-telaris-scope-alternatives":["object.project.delete"],"x-telaris-available":"2026-Q4","x-telaris-errors":["OBJECT_IN_USE"],"parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `object.delete` (or `object.project.delete`); or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no object with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`OBJECT_IN_USE` – Object has child objects, hours, order rows or invoices; cannot be deleted."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/hourtracking":{"post":{"tags":["Hourtracking"],"summary":"/api/v3/hourtracking","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nRegister hours.\n\nRegisters hours for an employee. Idempotent on `sourceRef` (409 with the existing entry on repeat). Replaces v1 `hour.create`.\n","operationId":"createHours","x-telaris-namespace":"hourtracking","x-telaris-products":["Commercial Operations API"],"x-telaris-scope":"hourtracking.create","x-telaris-available":"2026-Q4","x-telaris-errors":["HOURTRACKING_DUPLICATE","HOURTRACKING_UNKNOWN_EMPLOYEE","HOURTRACKING_UNKNOWN_ACTIVITY","HOURTRACKING_RESTRICTED","HOURTRACKING_DAY_LIMIT","PERIOD_CLOSED"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HourCreate"}}}},"responses":{"200":{"description":"The created entries (one per day with `toDate`)","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"hours":{"type":"array","items":{"$ref":"#/components/schemas/HourEntry"}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `hourtracking.create`; or `NOT_LICENSED` – module not licensed."},"409":{"$ref":"#/components/responses/Conflict","description":"`HOURTRACKING_DUPLICATE` – `sourceRef` exists; existing entry in `details`."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `HOURTRACKING_UNKNOWN_EMPLOYEE` – Employee not found or not active on the date\n- `HOURTRACKING_UNKNOWN_ACTIVITY` – Activity or hour type not found, closed, or not valid on the date\n- `HOURTRACKING_RESTRICTED` – Activity or hour type is restricted for this employee\n- `HOURTRACKING_DAY_LIMIT` – Hours exceed the employee's limit for the day\n- `PERIOD_CLOSED` – Date inside a closed period\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/hourtracking/activity/list":{"get":{"tags":["Hourtracking"],"summary":"/api/v3/hourtracking/activity/list","description":"List activities and their hour types.","operationId":"listActivities","x-telaris-namespace":"hourtracking","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"hourtracking.read","x-telaris-available":"2026-Q4","parameters":[{"name":"isAbsence","in":"query","schema":{"type":"boolean"}},{"name":"includeInactive","in":"query","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Activities (*common tasks*) with hour types (*options*)","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"activities":{"type":"array","items":{"$ref":"#/components/schemas/Activity"}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `hourtracking.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/hourtracking/approve":{"post":{"tags":["Hourtracking"],"summary":"/api/v3/hourtracking/approve","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nApprove hours.\n\nApproves the entries; approved hours go to invoicing and the payroll basis (`GET /finance/payroll/list`, which comes in Q1 2027). `revoke: true` withdraws the approval of entries that are not invoiced or exported.\n","operationId":"approveHours","x-telaris-namespace":"hourtracking","x-telaris-products":["Commercial Operations API"],"x-telaris-scope":"hourtracking.approve","x-telaris-available":"2026-Q4","x-telaris-errors":["HOURTRACKING_LOCKED","HOURTRACKING_UNKNOWN_ACTIVITY"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HourStatusChange"}}}},"responses":{"200":{"description":"Approved entries and the ones that failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HourStatusResult"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `hourtracking.approve`; or `NOT_LICENSED` – module not licensed."},"409":{"$ref":"#/components/responses/Conflict","description":"`HOURTRACKING_LOCKED` – Entry is signed, approved, invoiced or exported."},"422":{"$ref":"#/components/responses/Unprocessable","description":"`HOURTRACKING_UNKNOWN_ACTIVITY` – Activity or hour type not found, closed, or not valid on the date."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/hourtracking/employee/list":{"get":{"tags":["Hourtracking"],"summary":"/api/v3/hourtracking/employee/list","description":"List employees with cost rate.\n\nEmployees with department, role, active period and standard hour cost rate. Personal data: pseudonymised (no name, pseudonymous `employeeNo`) unless the key is set for full employee data, which requires a data processing agreement. Salary and supplements stay in the payroll system.\n","operationId":"listEmployees","x-telaris-namespace":"hourtracking","x-telaris-products":["Accounting API"],"x-telaris-scope":"hourtracking.employee.read","x-telaris-available":"2026-Q4","parameters":[{"name":"department","in":"query","schema":{"type":"string"}},{"name":"isActive","in":"query","schema":{"type":"boolean"}},{"name":"employeeNo","in":"query","schema":{"type":"string"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Employees sorted by employee number","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"employees":{"type":"array","items":{"$ref":"#/components/schemas/Employee"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `hourtracking.employee.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/hourtracking/employee/{id}":{"get":{"tags":["Hourtracking"],"summary":"/api/v3/hourtracking/employee/{id}","description":"Get an employee.","operationId":"getEmployee","x-telaris-namespace":"hourtracking","x-telaris-products":["Accounting API"],"x-telaris-scope":"hourtracking.employee.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The employee","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"employee":{"$ref":"#/components/schemas/Employee"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `hourtracking.employee.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no employee with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/hourtracking/list":{"get":{"tags":["Hourtracking"],"summary":"/api/v3/hourtracking/list","description":"List hours.","operationId":"listHours","x-telaris-namespace":"hourtracking","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"hourtracking.read","x-telaris-available":"2026-Q4","parameters":[{"name":"employee","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"employeeNo","in":"query","schema":{"type":"string"}},{"name":"dateFrom","in":"query","schema":{"type":"string","format":"date"}},{"name":"dateTo","in":"query","schema":{"type":"string","format":"date"}},{"name":"activity","in":"query","schema":{"type":"string"},"description":"Activity `code` or OID."},{"name":"object","in":"query","schema":{"$ref":"#/components/schemas/OID"},"description":"Hours on this object or on objects below it."},{"name":"customer","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"order","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"isSigned","in":"query","schema":{"type":"boolean"}},{"name":"isApproved","in":"query","schema":{"type":"boolean"}},{"name":"isInvoiced","in":"query","schema":{"type":"boolean"}},{"name":"sourceRef","in":"query","schema":{"type":"string"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Hours sorted by `date`, then employee","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"hours":{"type":"array","items":{"$ref":"#/components/schemas/HourEntry"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `hourtracking.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/hourtracking/sign":{"post":{"tags":["Hourtracking"],"summary":"/api/v3/hourtracking/sign","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nSign hours (submit for approval).\n\nMarks the entries as signed by the employee – *submitted* for approval. `revoke: true` withdraws the signature of entries that are not approved. Each entry succeeds or fails on its own.\n","operationId":"signHours","x-telaris-namespace":"hourtracking","x-telaris-products":["Commercial Operations API"],"x-telaris-scope":"hourtracking.sign","x-telaris-available":"2026-Q4","x-telaris-errors":["HOURTRACKING_LOCKED","HOURTRACKING_UNKNOWN_ACTIVITY"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HourStatusChange"}}}},"responses":{"200":{"description":"Signed entries and the ones that failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HourStatusResult"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `hourtracking.sign`; or `NOT_LICENSED` – module not licensed."},"409":{"$ref":"#/components/responses/Conflict","description":"`HOURTRACKING_LOCKED` – Entry is signed, approved, invoiced or exported."},"422":{"$ref":"#/components/responses/Unprocessable","description":"`HOURTRACKING_UNKNOWN_ACTIVITY` – Activity or hour type not found, closed, or not valid on the date."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/hourtracking/{id}":{"get":{"tags":["Hourtracking"],"summary":"/api/v3/hourtracking/{id}","description":"Get an hour entry.","operationId":"getHour","x-telaris-namespace":"hourtracking","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"hourtracking.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The hour entry","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"hour":{"$ref":"#/components/schemas/HourEntry"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `hourtracking.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no hourtracking with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Hourtracking"],"summary":"/api/v3/hourtracking/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate an hour entry (partial).\n\nRefused with 409 `HOURTRACKING_LOCKED` once the entry is signed, approved, invoiced or exported.\n","operationId":"updateHour","x-telaris-namespace":"hourtracking","x-telaris-products":["Commercial Operations API"],"x-telaris-scope":"hourtracking.update","x-telaris-available":"2026-Q4","x-telaris-errors":["HOURTRACKING_LOCKED","HOURTRACKING_UNKNOWN_ACTIVITY","HOURTRACKING_RESTRICTED","HOURTRACKING_DAY_LIMIT","PERIOD_CLOSED"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HourUpdate"}}}},"responses":{"200":{"description":"The hour entry","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"hour":{"$ref":"#/components/schemas/HourEntry"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `hourtracking.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no hourtracking with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`HOURTRACKING_LOCKED` – Entry is signed, approved, invoiced or exported."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `HOURTRACKING_UNKNOWN_ACTIVITY` – Activity or hour type not found, closed, or not valid on the date\n- `HOURTRACKING_RESTRICTED` – Activity or hour type is restricted for this employee\n- `HOURTRACKING_DAY_LIMIT` – Hours exceed the employee's limit for the day\n- `PERIOD_CLOSED` – Date inside a closed period\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Hourtracking"],"summary":"/api/v3/hourtracking/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nDelete an hour entry.\n\nRefused with 409 `HOURTRACKING_LOCKED` once the entry is signed, approved, invoiced or exported. Replaces v1 `hour.delete`.\n","operationId":"deleteHour","x-telaris-namespace":"hourtracking","x-telaris-products":["Commercial Operations API"],"x-telaris-scope":"hourtracking.delete","x-telaris-available":"2026-Q4","x-telaris-errors":["HOURTRACKING_LOCKED"],"parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `hourtracking.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no hourtracking with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`HOURTRACKING_LOCKED` – Entry is signed, approved, invoiced or exported."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/finance/invoice/list":{"get":{"tags":["Finance"],"summary":"/api/v3/finance/invoice/list","description":"List invoices and credit notes with rows, accounts and export state.","operationId":"listInvoices","x-telaris-namespace":"finance","x-telaris-products":["Commercial Operations API","Accounting API"],"x-telaris-scope":"finance.invoice.read","x-telaris-available":"2026-Q4","parameters":[{"name":"exportStatus","in":"query","schema":{"$ref":"#/components/schemas/ExportStatus"}},{"name":"type","in":"query","schema":{"type":"string","enum":["invoice","creditnote"]}},{"name":"invoiceDateFrom","in":"query","schema":{"type":"string","format":"date"}},{"name":"invoiceDateTo","in":"query","schema":{"type":"string","format":"date"}},{"name":"customer","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"order","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"orderNo","in":"query","schema":{"type":"integer"}},{"name":"customerNo","in":"query","schema":{"type":"integer"}},{"name":"invoiceNo","in":"query","schema":{"type":"integer"}},{"name":"status","in":"query","schema":{"$ref":"#/components/schemas/InvoiceStatus"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Invoices","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"invoices":{"type":"array","items":{"$ref":"#/components/schemas/Invoice"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.invoice.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/finance/invoice/{id}":{"get":{"tags":["Finance"],"summary":"/api/v3/finance/invoice/{id}","description":"Get an invoice with rows, accounts and export state.","operationId":"getInvoice","x-telaris-namespace":"finance","x-telaris-products":["Commercial Operations API","Accounting API"],"x-telaris-scope":"finance.invoice.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The invoice","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"invoice":{"$ref":"#/components/schemas/Invoice"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.invoice.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no invoice with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/finance/invoice/{id}/exported":{"post":{"tags":["Finance"],"summary":"/api/v3/finance/invoice/{id}/exported","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nAcknowledge export (or report failure).","operationId":"acknowledgeInvoiceExport","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.invoice.export","x-telaris-available":"2026-Q4","x-telaris-errors":["FINANCE_EXPORT_CONFLICT","FINANCE_MAPPING_MISSING"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportAck"}}}},"responses":{"200":{"description":"The invoice with updated export state","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"invoice":{"$ref":"#/components/schemas/Invoice"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.invoice.export`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no invoice with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`FINANCE_EXPORT_CONFLICT` – Document already acknowledged with another reference."},"422":{"$ref":"#/components/responses/Unprocessable","description":"`FINANCE_MAPPING_MISSING` – No account mapping for the product class or transaction type in the document."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/finance/invoice/{id}/pdf":{"get":{"tags":["Finance"],"summary":"/api/v3/finance/invoice/{id}/pdf","description":"Invoice PDF.","operationId":"getInvoicePdf","x-telaris-namespace":"finance","x-telaris-products":["Commercial Operations API","Accounting API"],"x-telaris-scope":"finance.invoice.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The PDF","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.invoice.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no invoice with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/finance/mapping":{"get":{"tags":["Finance"],"summary":"/api/v3/finance/mapping","description":"Account, VAT code and payment type mapping.","operationId":"getMapping","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.mapping.read","x-telaris-available":"2026-Q4","responses":{"200":{"description":"The mapping","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"mapping":{"$ref":"#/components/schemas/Mapping"}}}]}}}},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.mapping.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Finance"],"summary":"/api/v3/finance/mapping","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate the mapping (partial).","operationId":"updateMapping","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.mapping.update","x-telaris-available":"2026-Q4","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mapping"}}}},"responses":{"200":{"description":"The mapping","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"mapping":{"$ref":"#/components/schemas/Mapping"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.mapping.update`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/finance/payment":{"post":{"tags":["Finance"],"summary":"/api/v3/finance/payment","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nRegister payments on invoices (one or a batch of up to 500).","operationId":"createPayments","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.payment.create","x-telaris-available":"2026-Q4","x-telaris-errors":["FINANCE_PAYMENT_TYPE_UNMAPPED","PERIOD_CLOSED"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PaymentCreate"},{"type":"object","required":["payments"],"properties":{"payments":{"type":"array","minItems":1,"maxItems":500,"items":{"$ref":"#/components/schemas/PaymentCreate"}}}}]}}}},"responses":{"200":{"description":"The registered payments","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"payments":{"type":"array","items":{"$ref":"#/components/schemas/Payment"}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.payment.create`; or `NOT_LICENSED` – module not licensed."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `FINANCE_PAYMENT_TYPE_UNMAPPED` – No payment type mapping for this payment type and currency\n- `PERIOD_CLOSED` – Date inside a closed period\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/finance/payment/list":{"get":{"tags":["Finance"],"summary":"/api/v3/finance/payment/list","description":"Payments registered in Telaris and via the API.","operationId":"listPayments","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.payment.read","x-telaris-available":"2026-Q4","parameters":[{"name":"invoice","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"source","in":"query","schema":{"type":"string"},"description":"`telaris`, or the code of the integration that registered the payment."},{"name":"paidFrom","in":"query","schema":{"type":"string","format":"date"}},{"name":"paidTo","in":"query","schema":{"type":"string","format":"date"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Payments","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"payments":{"type":"array","items":{"$ref":"#/components/schemas/Payment"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.payment.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/finance/payroll/list":{"get":{"tags":["Finance"],"summary":"/api/v3/finance/payroll/list","description":"Payroll basis per employee and period.","operationId":"listPayrollBasis","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.payroll.read","x-telaris-available":"2027-Q1","parameters":[{"name":"period","in":"query","required":true,"schema":{"type":"string","examples":["2026-10"]}},{"name":"employee","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Payroll basis","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"payroll":{"type":"array","items":{"$ref":"#/components/schemas/PayrollBasis"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.payroll.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/finance/period":{"get":{"tags":["Finance"],"summary":"/api/v3/finance/period","description":"The closed period.","operationId":"getPeriod","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.period.read","x-telaris-available":"2026-Q4","responses":{"200":{"description":"The period","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"period":{"$ref":"#/components/schemas/Period"}}}]}}}},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.period.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Finance"],"summary":"/api/v3/finance/period","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nSet the closed period.","operationId":"setPeriod","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.period.update","x-telaris-available":"2026-Q4","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Period"}}}},"responses":{"200":{"description":"The period","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"period":{"$ref":"#/components/schemas/Period"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.period.update`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/finance/projectposting":{"post":{"tags":["Finance"],"summary":"/api/v3/finance/projectposting","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nPost a project posting.","operationId":"createProjectPosting","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.projectposting.create","x-telaris-available":"2026-Q4","x-telaris-errors":["FINANCE_VALIDATION","PERIOD_CLOSED"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectPosting"}}}},"responses":{"200":{"description":"The posting","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"posting":{"$ref":"#/components/schemas/ProjectPosting"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.projectposting.create`; or `NOT_LICENSED` – module not licensed."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `FINANCE_VALIDATION` – Comment required (rejection), or postings not balanced\n- `PERIOD_CLOSED` – Date inside a closed period\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/finance/projectposting/batch":{"post":{"tags":["Finance"],"summary":"/api/v3/finance/projectposting/batch","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nPost up to 1 000 project postings.","operationId":"createProjectPostingsBatch","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.projectposting.create","x-telaris-available":"2026-Q4","x-telaris-errors":["FINANCE_VALIDATION","PERIOD_CLOSED"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["postings"],"properties":{"postings":{"type":"array","minItems":1,"maxItems":1000,"items":{"$ref":"#/components/schemas/ProjectPosting"}}}}}}},"responses":{"200":{"description":"The postings","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"postings":{"type":"array","items":{"$ref":"#/components/schemas/ProjectPosting"}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.projectposting.create`; or `NOT_LICENSED` – module not licensed."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `FINANCE_VALIDATION` – Comment required (rejection), or postings not balanced\n- `PERIOD_CLOSED` – Date inside a closed period\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/finance/reference/{list}":{"get":{"tags":["Finance"],"summary":"/api/v3/finance/reference/{list}","description":"Reference lists (currencies).","operationId":"listReference","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.mapping.read","x-telaris-available":"2026-Q4","parameters":[{"name":"list","in":"path","required":true,"schema":{"type":"string","enum":["currency"]}}],"responses":{"200":{"description":"The list","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"isActive":{"type":"boolean"}}}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.mapping.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no reference with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/finance/voucher/list":{"get":{"tags":["Finance"],"summary":"/api/v3/finance/voucher/list","description":"List vouchers.","operationId":"listVouchers","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.voucher.read","x-telaris-available":"2026-Q4","parameters":[{"name":"exportStatus","in":"query","schema":{"$ref":"#/components/schemas/ExportStatus"}},{"name":"type","in":"query","schema":{"$ref":"#/components/schemas/VoucherType"}},{"name":"dateFrom","in":"query","schema":{"type":"string","format":"date"}},{"name":"dateTo","in":"query","schema":{"type":"string","format":"date"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Vouchers","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"vouchers":{"type":"array","items":{"$ref":"#/components/schemas/Voucher"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.voucher.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/finance/voucher/{id}":{"get":{"tags":["Finance"],"summary":"/api/v3/finance/voucher/{id}","description":"Get a voucher.","operationId":"getVoucher","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.voucher.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The voucher","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"voucher":{"$ref":"#/components/schemas/Voucher"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.voucher.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no voucher with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/finance/voucher/{id}/exported":{"post":{"tags":["Finance"],"summary":"/api/v3/finance/voucher/{id}/exported","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nAcknowledge voucher export.","operationId":"acknowledgeVoucherExport","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.voucher.export","x-telaris-available":"2026-Q4","x-telaris-errors":["FINANCE_EXPORT_CONFLICT","FINANCE_MAPPING_MISSING"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportAck"}}}},"responses":{"200":{"description":"The voucher","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"voucher":{"$ref":"#/components/schemas/Voucher"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `finance.voucher.export`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no voucher with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`FINANCE_EXPORT_CONFLICT` – Document already acknowledged with another reference."},"422":{"$ref":"#/components/responses/Unprocessable","description":"`FINANCE_MAPPING_MISSING` – No account mapping for the product class or transaction type in the document."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/supplier":{"post":{"tags":["Supplier"],"summary":"/api/v3/supplier","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate or update a supplier (upsert).\n\nMatching order `id` → `supplierNo` → `externalRef`. No match creates. Used by accounting integrations where the accounting system is the supplier master.\n","operationId":"upsertSupplier","x-telaris-namespace":"supplier","x-telaris-products":["Accounting API"],"x-telaris-scope":"supplier.create","x-telaris-available":"2026-Q4","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierUpsert"}}}},"responses":{"200":{"description":"The supplier","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"supplier":{"$ref":"#/components/schemas/Supplier"},"created":{"type":"boolean"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `supplier.create`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/supplier/list":{"get":{"tags":["Supplier"],"summary":"/api/v3/supplier/list","description":"List suppliers.","operationId":"listSuppliers","x-telaris-namespace":"supplier","x-telaris-products":["Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"supplier.read","x-telaris-available":"2026-Q4","parameters":[{"name":"supplierNo","in":"query","schema":{"type":"integer"}},{"name":"orgNo","in":"query","schema":{"type":"string"}},{"name":"externalRef","in":"query","schema":{"type":"string"}},{"name":"freetext","in":"query","schema":{"type":"string"}},{"name":"includeInactive","in":"query","schema":{"type":"boolean","default":false}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Suppliers sorted by `supplierNo`","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"suppliers":{"type":"array","items":{"$ref":"#/components/schemas/Supplier"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `supplier.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/supplier/{id}":{"get":{"tags":["Supplier"],"summary":"/api/v3/supplier/{id}","description":"Get a supplier.","operationId":"getSupplier","x-telaris-namespace":"supplier","x-telaris-products":["Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"supplier.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The supplier","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"supplier":{"$ref":"#/components/schemas/Supplier"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `supplier.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no supplier with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/warehouse":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate a warehouse.","operationId":"createWarehouse","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.create","x-telaris-available":"2027-Q1","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Warehouse"}}}},"responses":{"200":{"description":"The warehouse","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"warehouse":{"$ref":"#/components/schemas/Warehouse"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.create`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/counting":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/counting","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nStart a counting session.","operationId":"createCounting","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.stock.update","x-telaris-available":"2027-Q1","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"warehouse":{"$ref":"#/components/schemas/Ref"},"locations":{"type":"array","items":{"$ref":"#/components/schemas/Ref"}},"name":{"type":"string"}}}}}},"responses":{"200":{"description":"The session","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"counting":{"$ref":"#/components/schemas/Counting"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.stock.update`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/counting/{id}":{"get":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/counting/{id}","description":"Get a counting session.","operationId":"getCounting","x-telaris-namespace":"warehouse","x-telaris-products":["Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"warehouse.stock.read","x-telaris-available":"2027-Q1","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The session","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"counting":{"$ref":"#/components/schemas/Counting"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.stock.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no counting with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/warehouse/counting/{id}/complete":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/counting/{id}/complete","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nComplete the session and post the corrections.","operationId":"completeCounting","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.stock.update","x-telaris-available":"2027-Q1","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The completed session with corrections","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"counting":{"$ref":"#/components/schemas/Counting"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.stock.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no counting with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/counting/{id}/count":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/counting/{id}/count","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nRegister counted quantities.","operationId":"registerCounts","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.stock.update","x-telaris-available":"2027-Q1","parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["counts"],"properties":{"counts":{"type":"array","items":{"type":"object","properties":{"product":{"$ref":"#/components/schemas/ProductRef"},"location":{"$ref":"#/components/schemas/Ref"},"quantity":{"type":"number"},"batchNo":{"type":["string","null"]},"serialNos":{"type":"array","items":{"type":"string"}}}}}}}}}},"responses":{"200":{"description":"The session","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"counting":{"$ref":"#/components/schemas/Counting"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.stock.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no counting with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/list":{"get":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/list","description":"List warehouses (all of them, whatever they hold).","operationId":"listWarehouses","x-telaris-namespace":"warehouse","x-telaris-products":["Product Data API","Warehouse & Fulfillment API","Webshop API"],"x-telaris-scope":"warehouse.read","x-telaris-available":"2026-Q4","responses":{"200":{"description":"Warehouses","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"warehouses":{"type":"array","items":{"$ref":"#/components/schemas/Warehouse"}}}}]}}}},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/warehouse/location":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/location","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate locations (one or many).","operationId":"createLocations","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.create","x-telaris-available":"2026-Q4","x-telaris-errors":["WAREHOUSE_UNKNOWN"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"locations":{"type":"array","minItems":1,"maxItems":1000,"items":{"$ref":"#/components/schemas/Location"}}}}}}},"responses":{"200":{"description":"Created locations (per-row errors in `details`)","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"locations":{"type":"array","items":{"$ref":"#/components/schemas/Location"}},"details":{"type":"array","description":"Per-row errors; empty when all rows were created.","items":{"type":"object","properties":{"index":{"type":"integer"},"error":{"$ref":"#/components/schemas/Error"}}}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.create`; or `NOT_LICENSED` – module not licensed."},"422":{"$ref":"#/components/responses/Unprocessable","description":"`WAREHOUSE_UNKNOWN` – Warehouse not found."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/location/list":{"get":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/location/list","description":"List locations.","operationId":"listLocations","x-telaris-namespace":"warehouse","x-telaris-products":["Product Data API","Warehouse & Fulfillment API","Webshop API"],"x-telaris-scope":"warehouse.read","x-telaris-available":"2026-Q4","parameters":[{"name":"warehouse","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"name","in":"query","schema":{"type":"string"}},{"name":"includeInactive","in":"query","schema":{"type":"boolean","default":false}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Locations","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"locations":{"type":"array","items":{"$ref":"#/components/schemas/Location"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/warehouse/location/{id}":{"get":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/location/{id}","description":"Get a location.","operationId":"getLocation","x-telaris-namespace":"warehouse","x-telaris-products":["Product Data API","Warehouse & Fulfillment API","Webshop API"],"x-telaris-scope":"warehouse.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The location","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"location":{"$ref":"#/components/schemas/Location"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no location with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/location/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate a location.","operationId":"updateLocation","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.update","x-telaris-available":"2026-Q4","x-telaris-errors":["LOCATION_SINGLE_PRODUCT"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Location"}}}},"responses":{"200":{"description":"The location","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"location":{"$ref":"#/components/schemas/Location"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no location with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`LOCATION_SINGLE_PRODUCT` – Location holds another product."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/location/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nDelete an empty location.","operationId":"deleteLocation","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.delete","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no location with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/lot/list":{"get":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/lot/list","description":"List stock lots with cost.\n\nStock lots with their actual cost and – once issued – the order row, invoice row and object they were issued to. With `isIssued=true` and `issuedFrom`/`issuedTo` this is the list of parts issued to orders at the cost of the lot.\n","operationId":"listStockLots","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"warehouse.lot.read","x-telaris-available":"2026-Q4","parameters":[{"name":"product","in":"query","schema":{"type":"string"}},{"name":"warehouse","in":"query","schema":{"type":"string"}},{"name":"location","in":"query","schema":{"type":"string"}},{"name":"batchNo","in":"query","schema":{"type":"string"}},{"name":"serialNo","in":"query","schema":{"type":"string"}},{"name":"supplier","in":"query","schema":{"type":"string"}},{"name":"isIssued","in":"query","schema":{"type":"boolean"}},{"name":"issuedFrom","in":"query","schema":{"type":"string","format":"date"}},{"name":"issuedTo","in":"query","schema":{"type":"string","format":"date"}},{"name":"receivedFrom","in":"query","schema":{"type":"string","format":"date"}},{"name":"receivedTo","in":"query","schema":{"type":"string","format":"date"}},{"name":"order","in":"query","schema":{"type":"string"},"description":"Lots issued to this order (OID)."},{"name":"object","in":"query","schema":{"type":"string"},"description":"Lots issued to orders for this object (OID)."},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Stock lots sorted by received date","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"lots":{"type":"array","items":{"$ref":"#/components/schemas/StockLot"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.lot.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/warehouse/lot/{id}":{"get":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/lot/{id}","description":"Get a stock lot.","operationId":"getStockLot","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"warehouse.lot.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The stock lot","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"lot":{"$ref":"#/components/schemas/StockLot"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.lot.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no lot with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/warehouse/pickinglist":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/pickinglist","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate a picking list from orders or order rows.","operationId":"createPickingList","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.pickinglist.create","x-telaris-available":"2026-Q4","x-telaris-errors":["PICKING_ROW_TAKEN","WAREHOUSE_UNKNOWN"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"orders":{"type":"array","items":{"$ref":"#/components/schemas/OrderRef"}},"rows":{"type":"array","items":{"type":"object","properties":{"orderRow":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"}}},"quantity":{"type":"number"}}}},"warehouse":{"$ref":"#/components/schemas/Ref"}}}}}},"responses":{"200":{"description":"The picking list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PickingListResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.pickinglist.create`; or `NOT_LICENSED` – module not licensed."},"409":{"$ref":"#/components/responses/Conflict","description":"`PICKING_ROW_TAKEN` – Order row already on an open list."},"422":{"$ref":"#/components/responses/Unprocessable","description":"`WAREHOUSE_UNKNOWN` – Warehouse not found."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/pickinglist/list":{"get":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/pickinglist/list","description":"List picking lists.","operationId":"listPickingLists","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.pickinglist.read","x-telaris-available":"2026-Q4","parameters":[{"name":"status","in":"query","schema":{"type":"string","enum":["open","closed"]}},{"name":"warehouse","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"unassigned","in":"query","schema":{"type":"boolean"}},{"name":"assignedTo","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"order","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"externalRef","in":"query","schema":{"type":"string"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Picking lists (without rows)","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"pickingLists":{"type":"array","items":{"$ref":"#/components/schemas/PickingListHeader"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.pickinglist.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/warehouse/pickinglist/{id}":{"get":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/pickinglist/{id}","description":"Get a picking list with rows.","operationId":"getPickingList","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.pickinglist.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The picking list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PickingListResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.pickinglist.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no picking list with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/pickinglist/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nClaim, assign, accept or update delivery data.\n\nA list with an `externalRef` set by another key cannot be claimed (409 `PICKING_CLAIMED`).\n","operationId":"updatePickingList","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.pickinglist.update","x-telaris-available":"2026-Q4","x-telaris-errors":["PICKING_CLAIMED","PICKING_CLOSED"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"externalRef":{"type":["string","null"]},"assignedTo":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"accepted":{"type":"boolean"},"deliveryDate":{"type":"string","format":"date"},"deliveryAddress":{"$ref":"#/components/schemas/Address"},"sendMethod":{"type":"string"},"freightTerm":{"type":"string"}}}}}},"responses":{"200":{"description":"The picking list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PickingListResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.pickinglist.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no picking list with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"One of:\n- `PICKING_CLAIMED` – List claimed by another key\n- `PICKING_CLOSED` – Picking list is closed\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/pickinglist/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nDelete an open list with no picks.","operationId":"deletePickingList","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.pickinglist.delete","x-telaris-available":"2026-Q4","x-telaris-errors":["PICKING_CLOSED"],"parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.pickinglist.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no picking list with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`PICKING_CLOSED` – Picking list is closed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/pickinglist/{id}/complete":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/pickinglist/{id}/complete","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nClose the list.","operationId":"completePickingList","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.pickinglist.update","x-telaris-available":"2026-Q4","x-telaris-errors":["PICKING_CLOSED"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"shortPicks":{"type":"string","enum":["backorder","cancel","leave"],"default":"leave"}}}}}},"responses":{"200":{"description":"The closed list with `shortPicked[]`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PickingListResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.pickinglist.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no picking list with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`PICKING_CLOSED` – Picking list is closed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/pickinglist/{id}/pick":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/pickinglist/{id}/pick","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nRegister picks on several rows.","operationId":"pickRows","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.pickinglist.update","x-telaris-available":"2026-Q4","x-telaris-errors":["PICKING_CLOSED","PICKING_OVER_QUANTITY","STOCK_INSUFFICIENT","STOCK_SERIAL_UNKNOWN","LOCATION_UNKNOWN"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["picks"],"properties":{"picks":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Pick"},{"type":"object","required":["rowId"],"properties":{"rowId":{"$ref":"#/components/schemas/OID"}}}]}}}}}}},"responses":{"200":{"description":"The picking list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PickingListResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.pickinglist.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no picking list with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`PICKING_CLOSED` – Picking list is closed."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `PICKING_OVER_QUANTITY` – `quantityPicked` above `quantity`\n- `STOCK_INSUFFICIENT` – Correction, move or pick exceeds the quantity at the location\n- `STOCK_SERIAL_UNKNOWN` – Serial number not in stock at the location\n- `LOCATION_UNKNOWN` – Location not found in the warehouse\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/pickinglist/{id}/row/{rowId}/pick":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/pickinglist/{id}/row/{rowId}/pick","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nRegister a pick on a row.","operationId":"pickRow","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.pickinglist.update","x-telaris-available":"2026-Q4","x-telaris-errors":["PICKING_CLOSED","PICKING_OVER_QUANTITY","STOCK_INSUFFICIENT","STOCK_SERIAL_UNKNOWN","LOCATION_UNKNOWN"],"parameters":[{"$ref":"#/components/parameters/id"},{"name":"rowId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/OID"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pick"}}}},"responses":{"200":{"description":"The row and list status","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"row":{"$ref":"#/components/schemas/PickingRow"},"status":{"type":"string"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.pickinglist.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no picking list or row with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`PICKING_CLOSED` – Picking list is closed."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `PICKING_OVER_QUANTITY` – `quantityPicked` above `quantity`\n- `STOCK_INSUFFICIENT` – Correction, move or pick exceeds the quantity at the location\n- `STOCK_SERIAL_UNKNOWN` – Serial number not in stock at the location\n- `LOCATION_UNKNOWN` – Location not found in the warehouse\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/reservation":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/reservation","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nReserve stock.","operationId":"createReservation","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.stock.update","x-telaris-available":"2027-Q1","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Reservation"}}}},"responses":{"200":{"description":"The reservation","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"reservation":{"$ref":"#/components/schemas/Reservation"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.stock.update`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/reservation/list":{"get":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/reservation/list","description":"List reservations.","operationId":"listReservations","x-telaris-namespace":"warehouse","x-telaris-products":["Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"warehouse.stock.read","x-telaris-available":"2027-Q1","parameters":[{"name":"product","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"order","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Reservations","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"reservations":{"type":"array","items":{"$ref":"#/components/schemas/Reservation"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.stock.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/warehouse/reservation/{id}":{"delete":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/reservation/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nRelease a reservation.","operationId":"deleteReservation","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.stock.update","x-telaris-available":"2027-Q1","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Released","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.stock.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no reservation with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/stock/batch":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/stock/batch","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nSeveral corrections and moves in one transaction (up to 500).","operationId":"createStockBatch","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.stock.update","x-telaris-available":"2026-Q4","x-telaris-errors":["STOCK_INSUFFICIENT","STOCK_ALLOCATED","STOCK_TRACKING_REQUIRED","STOCK_SERIAL_UNKNOWN","LOCATION_UNKNOWN","LOCATION_SINGLE_PRODUCT","PERIOD_CLOSED"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["operations"],"properties":{"operations":{"type":"array","minItems":1,"maxItems":500,"items":{"oneOf":[{"$ref":"#/components/schemas/StockBatchCorrection"},{"$ref":"#/components/schemas/StockBatchMove"}],"discriminator":{"propertyName":"type","mapping":{"correction":"#/components/schemas/StockBatchCorrection","move":"#/components/schemas/StockBatchMove"}}}}}}}}},"responses":{"200":{"description":"The operations in order","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"operations":{"type":"array","items":{"$ref":"#/components/schemas/StockOperation"}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.stock.update`; or `NOT_LICENSED` – module not licensed."},"409":{"$ref":"#/components/responses/Conflict","description":"One of:\n- `STOCK_ALLOCATED` – Move of allocated stock without `allowAllocated`\n- `LOCATION_SINGLE_PRODUCT` – Location holds another product\n"},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `STOCK_INSUFFICIENT` – Correction, move or pick exceeds the quantity at the location\n- `STOCK_TRACKING_REQUIRED` – Batch, serial or expiry required by the product\n- `STOCK_SERIAL_UNKNOWN` – Serial number not in stock at the location\n- `LOCATION_UNKNOWN` – Location not found in the warehouse\n- `PERIOD_CLOSED` – Date inside a closed period\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/stock/correction":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/stock/correction","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nAdjust the quantity of a product at a location.\n\n`quantity` is the change (negative = down). Idempotent on `reference` per key.\n","operationId":"createStockCorrection","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.stock.update","x-telaris-available":"2026-Q4","x-telaris-errors":["STOCK_INSUFFICIENT","STOCK_TRACKING_REQUIRED","LOCATION_UNKNOWN","PERIOD_CLOSED"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StockCorrection"}}}},"responses":{"200":{"description":"The operation","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"operation":{"$ref":"#/components/schemas/StockOperation"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.stock.update`; or `NOT_LICENSED` – module not licensed."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `STOCK_INSUFFICIENT` – Correction, move or pick exceeds the quantity at the location\n- `STOCK_TRACKING_REQUIRED` – Batch, serial or expiry required by the product\n- `LOCATION_UNKNOWN` – Location not found in the warehouse\n- `PERIOD_CLOSED` – Date inside a closed period\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/stock/list":{"get":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/stock/list","description":"Stock rows per product, warehouse and location.","operationId":"listStock","x-telaris-namespace":"warehouse","x-telaris-products":["Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"warehouse.stock.read","x-telaris-available":"2026-Q4","parameters":[{"name":"product","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"sku","in":"query","schema":{"type":"string"}},{"name":"warehouse","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"location","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"batchNo","in":"query","schema":{"type":"string"}},{"name":"serialNo","in":"query","schema":{"type":"string"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Stock rows","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"stock":{"type":"array","items":{"$ref":"#/components/schemas/StockRow"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.stock.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/warehouse/stock/move":{"post":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/stock/move","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nMove quantity between locations.","operationId":"createStockMove","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.stock.update","x-telaris-available":"2026-Q4","x-telaris-errors":["STOCK_INSUFFICIENT","STOCK_ALLOCATED","STOCK_SERIAL_UNKNOWN","LOCATION_UNKNOWN","LOCATION_SINGLE_PRODUCT","PERIOD_CLOSED"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StockMove"}}}},"responses":{"200":{"description":"The operation","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"operation":{"$ref":"#/components/schemas/StockOperation"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.stock.update`; or `NOT_LICENSED` – module not licensed."},"409":{"$ref":"#/components/responses/Conflict","description":"One of:\n- `STOCK_ALLOCATED` – Move of allocated stock without `allowAllocated`\n- `LOCATION_SINGLE_PRODUCT` – Location holds another product\n"},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `STOCK_INSUFFICIENT` – Correction, move or pick exceeds the quantity at the location\n- `STOCK_SERIAL_UNKNOWN` – Serial number not in stock at the location\n- `LOCATION_UNKNOWN` – Location not found in the warehouse\n- `PERIOD_CLOSED` – Date inside a closed period\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/warehouse/stock/operation/list":{"get":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/stock/operation/list","description":"Stock ledger (operations).","operationId":"listStockOperations","x-telaris-namespace":"warehouse","x-telaris-products":["Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"warehouse.stock.read","x-telaris-available":"2026-Q4","parameters":[{"name":"product","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"warehouse","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"type","in":"query","schema":{"$ref":"#/components/schemas/StockOperationType"}},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"}},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Operations","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"operations":{"type":"array","items":{"$ref":"#/components/schemas/StockOperation"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.stock.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/warehouse/{id}":{"get":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/{id}","description":"Get a warehouse.","operationId":"getWarehouse","x-telaris-namespace":"warehouse","x-telaris-products":["Product Data API","Warehouse & Fulfillment API","Webshop API"],"x-telaris-scope":"warehouse.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The warehouse","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"warehouse":{"$ref":"#/components/schemas/Warehouse"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no warehouse with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Warehouse"],"summary":"/api/v3/warehouse/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate a warehouse.","operationId":"updateWarehouse","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.update","x-telaris-available":"2027-Q1","parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Warehouse"}}}},"responses":{"200":{"description":"The warehouse","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"warehouse":{"$ref":"#/components/schemas/Warehouse"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `warehouse.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no warehouse with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/logistics/goodsreceipt":{"post":{"tags":["Logistics"],"summary":"/api/v3/logistics/goodsreceipt","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate a receipt against a purchase order (or unplanned).","operationId":"createGoodsReceipt","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"logistics.goodsreceipt.create","x-telaris-available":"2026-Q4","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"purchaseOrder":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"purchaseOrderNo":{"type":"integer"}}},"warehouse":{"$ref":"#/components/schemas/Ref"},"reference":{"type":"string"},"expectedDate":{"type":"string","format":"date"},"externalRef":{"type":"string"},"rows":{"type":"array","items":{"type":"object","properties":{"purchaseOrderRow":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"}}},"product":{"$ref":"#/components/schemas/ProductRef"},"quantityExpected":{"type":"number"}}}}}}}}},"responses":{"200":{"description":"The receipt","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoodsReceiptResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.goodsreceipt.create`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/logistics/goodsreceipt/list":{"get":{"tags":["Logistics"],"summary":"/api/v3/logistics/goodsreceipt/list","description":"List goods receipts.","operationId":"listGoodsReceipts","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"logistics.goodsreceipt.read","x-telaris-available":"2026-Q4","parameters":[{"name":"state","in":"query","schema":{"$ref":"#/components/schemas/ReceiptState"}},{"name":"warehouse","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"purchaseOrder","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Receipts","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"goodsReceipts":{"type":"array","items":{"$ref":"#/components/schemas/GoodsReceipt"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.goodsreceipt.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/logistics/goodsreceipt/{id}":{"get":{"tags":["Logistics"],"summary":"/api/v3/logistics/goodsreceipt/{id}","description":"Get a goods receipt.","operationId":"getGoodsReceipt","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"logistics.goodsreceipt.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The receipt","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoodsReceiptResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.goodsreceipt.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no goods receipt with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/logistics/goodsreceipt/{id}/finalize":{"post":{"tags":["Logistics"],"summary":"/api/v3/logistics/goodsreceipt/{id}/finalize","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nPut received quantities into stock and update the purchase order.","operationId":"finalizeGoodsReceipt","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"logistics.goodsreceipt.update","x-telaris-available":"2026-Q4","x-telaris-errors":["RECEIPT_STATE","PERIOD_CLOSED"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"closeShort":{"type":"boolean","default":false}}}}}},"responses":{"200":{"description":"The finalized receipt","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoodsReceiptResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.goodsreceipt.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no goods receipt with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`RECEIPT_STATE` – Receive/finalize not allowed in the current state."},"422":{"$ref":"#/components/responses/Unprocessable","description":"`PERIOD_CLOSED` – Date inside a closed period."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/logistics/goodsreceipt/{id}/receive":{"post":{"tags":["Logistics"],"summary":"/api/v3/logistics/goodsreceipt/{id}/receive","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nRegister received quantities (repeatable).","operationId":"receiveGoods","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"logistics.goodsreceipt.update","x-telaris-available":"2026-Q4","x-telaris-errors":["RECEIPT_STATE","RECEIPT_OVER_QUANTITY","STOCK_TRACKING_REQUIRED","LOCATION_UNKNOWN"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["rows"],"properties":{"rows":{"type":"array","items":{"type":"object","required":["id","quantityReceived"],"properties":{"id":{"$ref":"#/components/schemas/OID"},"quantityReceived":{"type":"number"},"location":{"$ref":"#/components/schemas/Ref"},"batchNo":{"type":["string","null"]},"serialNos":{"type":"array","items":{"type":"string"}},"expiryDate":{"type":["string","null"],"format":"date"}}}},"allowOver":{"type":"boolean","default":false}}}}}},"responses":{"200":{"description":"The receipt","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoodsReceiptResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.goodsreceipt.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no goods receipt with this id."},"409":{"$ref":"#/components/responses/Conflict","description":"`RECEIPT_STATE` – Receive/finalize not allowed in the current state."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `RECEIPT_OVER_QUANTITY` – Received above expected without `allowOver: true`\n- `STOCK_TRACKING_REQUIRED` – Batch, serial or expiry required by the product\n- `LOCATION_UNKNOWN` – Location not found in the warehouse\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/logistics/purchaseorder":{"post":{"tags":["Logistics"],"summary":"/api/v3/logistics/purchaseorder","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate a purchase order.","operationId":"createPurchaseOrder","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"logistics.purchaseorder.create","x-telaris-available":"2027-Q1","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrder"}}}},"responses":{"200":{"description":"The purchase order","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"purchaseOrder":{"$ref":"#/components/schemas/PurchaseOrder"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.purchaseorder.create`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/logistics/purchaseorder/list":{"get":{"tags":["Logistics"],"summary":"/api/v3/logistics/purchaseorder/list","description":"List purchase orders.","operationId":"listPurchaseOrders","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"logistics.purchaseorder.read","x-telaris-available":"2026-Q4","parameters":[{"name":"state","in":"query","schema":{"$ref":"#/components/schemas/PurchaseOrderState"}},{"name":"supplier","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"warehouse","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Purchase orders","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"purchaseOrders":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrder"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.purchaseorder.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/logistics/purchaseorder/row/list":{"get":{"tags":["Logistics"],"summary":"/api/v3/logistics/purchaseorder/row/list","description":"List purchase order rows (line level).\n\nThe line-level purchasing export: every purchase order row with product, quantities, prices, discount, freight and other cost, landed value, warehouse, dates and the order row it was bought for. `dateFrom`/`dateTo` filter on the order date.\n","operationId":"listPurchaseOrderRows","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"logistics.purchaseorder.read","x-telaris-available":"2026-Q4","parameters":[{"name":"dateFrom","in":"query","schema":{"type":"string","format":"date"}},{"name":"dateTo","in":"query","schema":{"type":"string","format":"date"}},{"name":"supplier","in":"query","schema":{"type":"string"}},{"name":"order","in":"query","schema":{"type":"string"},"description":"Rows bought for this sales/work order (OID)."},{"name":"object","in":"query","schema":{"type":"string"},"description":"Rows bought for this object (OID)."},{"name":"product","in":"query","schema":{"type":"string"}},{"name":"warehouse","in":"query","schema":{"type":"string"}},{"name":"state","in":"query","schema":{"type":"string"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Purchase order rows with their header, sorted by order date and purchase order number","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"rows":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderLine"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.purchaseorder.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/logistics/purchaseorder/{id}":{"get":{"tags":["Logistics"],"summary":"/api/v3/logistics/purchaseorder/{id}","description":"Get a purchase order.","operationId":"getPurchaseOrder","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"logistics.purchaseorder.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The purchase order","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"purchaseOrder":{"$ref":"#/components/schemas/PurchaseOrder"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.purchaseorder.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no purchase order with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Logistics"],"summary":"/api/v3/logistics/purchaseorder/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate a purchase order.","operationId":"updatePurchaseOrder","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"logistics.purchaseorder.update","x-telaris-available":"2027-Q1","parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrder"}}}},"responses":{"200":{"description":"The purchase order","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"purchaseOrder":{"$ref":"#/components/schemas/PurchaseOrder"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.purchaseorder.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no purchase order with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/logistics/shipment":{"post":{"tags":["Logistics"],"summary":"/api/v3/logistics/shipment","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nRegister an outbound shipment (marks order rows delivered).","operationId":"createShipment","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"logistics.shipment.create","x-telaris-available":"2027-Q1","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shipment"}}}},"responses":{"200":{"description":"The shipment","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"shipment":{"$ref":"#/components/schemas/Shipment"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.shipment.create`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/logistics/shipment/list":{"get":{"tags":["Logistics"],"summary":"/api/v3/logistics/shipment/list","description":"List outbound shipments.","operationId":"listShipments","x-telaris-namespace":"logistics","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Webshop API"],"x-telaris-scope":"logistics.shipment.read","x-telaris-available":"2027-Q1","parameters":[{"name":"order","in":"query","schema":{"$ref":"#/components/schemas/OID"}},{"name":"status","in":"query","schema":{"$ref":"#/components/schemas/ShipmentStatus"}},{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Shipments","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"shipments":{"type":"array","items":{"$ref":"#/components/schemas/Shipment"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.shipment.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/logistics/shipment/{id}":{"get":{"tags":["Logistics"],"summary":"/api/v3/logistics/shipment/{id}","description":"Get a shipment.","operationId":"getShipment","x-telaris-namespace":"logistics","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Webshop API"],"x-telaris-scope":"logistics.shipment.read","x-telaris-available":"2027-Q1","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The shipment","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"shipment":{"$ref":"#/components/schemas/Shipment"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.shipment.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no shipment with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Logistics"],"summary":"/api/v3/logistics/shipment/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate tracking and status.","operationId":"updateShipment","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"logistics.shipment.update","x-telaris-available":"2027-Q1","parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shipment"}}}},"responses":{"200":{"description":"The shipment","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"shipment":{"$ref":"#/components/schemas/Shipment"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `logistics.shipment.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no shipment with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/webshop/attribute/list":{"get":{"tags":["Webshop"],"summary":"/api/v3/webshop/attribute/list","description":"Attribute definitions (global attributes).","operationId":"listShopAttributes","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-scope":"webshop.read","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBSHOP_CHANNEL_MISSING"],"responses":{"200":{"description":"Attributes","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"attributes":{"type":"array","items":{"$ref":"#/components/schemas/AttributeDefinition"}}}}]}}}},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webshop.read`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBSHOP_CHANNEL_MISSING` – Key is not bound to a channel\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/webshop/brand/list":{"get":{"tags":["Webshop"],"summary":"/api/v3/webshop/brand/list","description":"Brands (manufacturers).","operationId":"listShopBrands","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-scope":"webshop.read","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBSHOP_CHANNEL_MISSING"],"responses":{"200":{"description":"Brands","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"brands":{"type":"array","items":{"$ref":"#/components/schemas/Ref"}}}}]}}}},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webshop.read`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBSHOP_CHANNEL_MISSING` – Key is not bound to a channel\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/webshop/category/list":{"get":{"tags":["Webshop"],"summary":"/api/v3/webshop/category/list","description":"Category tree under the channel's top category.","operationId":"listShopCategories","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-scope":"webshop.read","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBSHOP_CHANNEL_MISSING"],"parameters":[{"$ref":"#/components/parameters/updatedSince"}],"responses":{"200":{"description":"Categories","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"categories":{"type":"array","items":{"$ref":"#/components/schemas/ShopCategory"}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webshop.read`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBSHOP_CHANNEL_MISSING` – Key is not bound to a channel\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/webshop/channel":{"get":{"tags":["Webshop"],"summary":"/api/v3/webshop/channel","description":"The channel configuration of the key.","operationId":"getChannel","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-scope":"webshop.read","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBSHOP_CHANNEL_MISSING"],"responses":{"200":{"description":"The channel","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"channel":{"$ref":"#/components/schemas/Channel"}}}]}}}},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webshop.read`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBSHOP_CHANNEL_MISSING` – Key is not bound to a channel\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]},"put":{"tags":["Webshop"],"summary":"/api/v3/webshop/channel","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate the channel configuration (partial).","operationId":"updateChannel","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-scope":"webshop.update","x-telaris-available":"2027-Q1","x-telaris-errors":["WEBSHOP_CHANNEL_MISSING"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Channel"}}}},"responses":{"200":{"description":"The channel","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"channel":{"$ref":"#/components/schemas/Channel"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webshop.update`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBSHOP_CHANNEL_MISSING` – Key is not bound to a channel\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/webshop/customer/lookup":{"get":{"tags":["Webshop"],"summary":"/api/v3/webshop/customer/lookup","description":"Find the Telaris customer for a shop login.","operationId":"lookupCustomer","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-scope":"webshop.read","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBSHOP_CHANNEL_MISSING"],"parameters":[{"name":"orgNo","in":"query","schema":{"type":"string"}},{"name":"email","in":"query","schema":{"type":"string"}},{"name":"shopCustomerRef","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Zero, one or several matches","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"customers":{"type":"array","items":{"$ref":"#/components/schemas/CustomerRef"}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webshop.read`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBSHOP_CHANNEL_MISSING` – Key is not bound to a channel\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/webshop/media/{fileId}/{filename}":{"get":{"tags":["Webshop"],"summary":"/api/v3/webshop/media/{fileId}/{filename}","description":"Public media (no key required).","operationId":"getPublicMedia","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-available":"2026-Q4","security":[],"parameters":[{"name":"fileId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/OID"}},{"name":"filename","in":"path","required":true,"schema":{"type":"string"}},{"name":"size","in":"query","schema":{"type":"string","enum":["thumb","medium","original"],"default":"original"}}],"responses":{"200":{"description":"The file","content":{"*/*":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no media with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/webshop/order":{"post":{"tags":["Webshop"],"summary":"/api/v3/webshop/order","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nShop order intake.\n\nCreates the customer when needed (matched on `shopCustomerRef`, then `orgNo` or `email`), the order with product rows, freight and fee rows, and records the payment. Idempotent on `sourceRef` (409 with the existing order on repeat).\n","operationId":"createShopOrder","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-scope":"webshop.create","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBSHOP_CHANNEL_MISSING","WEBSHOP_UNKNOWN_SKU","WEBSHOP_CUSTOMER_AMBIGUOUS","WEBSHOP_VAT_MISMATCH","WEBSHOP_PAYMENT_INVALID","ORDER_DUPLICATE"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShopOrderCreate"}}}},"responses":{"200":{"description":"The Telaris order","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"order":{"$ref":"#/components/schemas/OrderRef"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"One of:\n- `VALIDATION` – invalid body or parameter; see `error.details.fields`\n- `WEBSHOP_PAYMENT_INVALID` – Payment block inconsistent (paid without amount, unknown status)\n"},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webshop.create`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBSHOP_CHANNEL_MISSING` – Key is not bound to a channel\n"},"409":{"$ref":"#/components/responses/Conflict","description":"`ORDER_DUPLICATE` – `sourceRef` exists; existing order in `details`."},"422":{"$ref":"#/components/responses/Unprocessable","description":"One of:\n- `WEBSHOP_UNKNOWN_SKU` – Row SKU not found and no fallback product\n- `WEBSHOP_CUSTOMER_AMBIGUOUS` – Several customers match `orgNo`/`email`; order held for manual matching (created with a task in Telaris) unless the channel is set to reject\n- `WEBSHOP_VAT_MISMATCH` – Shop VAT rate on a row differs from the product class rate by more than rounding (reported, order still created when the channel allows)\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/webshop/price/resolve":{"post":{"tags":["Webshop"],"summary":"/api/v3/webshop/price/resolve","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nResolve customer-specific prices for a cart or page.","operationId":"resolvePricesBatch","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-scope":"webshop.read","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBSHOP_CHANNEL_MISSING"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["items"],"properties":{"customer":{"$ref":"#/components/schemas/CustomerRef"},"date":{"type":"string","format":"date"},"items":{"type":"array","minItems":1,"maxItems":200,"items":{"type":"object","properties":{"sku":{"type":"string"},"productNo":{"type":"integer"},"id":{"$ref":"#/components/schemas/OID"},"quantity":{"type":"number","default":1}}}}}}}}},"responses":{"200":{"description":"Resolved prices","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"customer":{"oneOf":[{"$ref":"#/components/schemas/CustomerRef"},{"type":"null"}]},"items":{"type":"array","items":{"$ref":"#/components/schemas/ResolvedPrice"}}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webshop.read`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBSHOP_CHANNEL_MISSING` – Key is not bound to a channel\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/webshop/pricestock":{"get":{"tags":["Webshop"],"summary":"/api/v3/webshop/pricestock","description":"Price and stock for all published products and variants.","operationId":"listPriceStock","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-scope":"webshop.read","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBSHOP_CHANNEL_MISSING"],"parameters":[{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"name":"pageSize","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000,"default":1000}}],"responses":{"200":{"description":"Price and stock rows","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"sku":{"type":"string"},"price":{"$ref":"#/components/schemas/ShopPrice"},"stock":{"$ref":"#/components/schemas/ShopStock"},"status":{"$ref":"#/components/schemas/PublishStatus"}}}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webshop.read`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBSHOP_CHANNEL_MISSING` – Key is not bound to a channel\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/webshop/product/changes":{"get":{"tags":["Webshop"],"summary":"/api/v3/webshop/product/changes","description":"Compact change feed.","operationId":"listProductChanges","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-scope":"webshop.read","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBSHOP_CHANNEL_MISSING"],"parameters":[{"$ref":"#/components/parameters/updatedSince"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Changes","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"changes":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"sku":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"changeKind":{"type":"string","enum":["product","price","stock","files","structure","archived"]}}}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webshop.read`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBSHOP_CHANNEL_MISSING` – Key is not bound to a channel\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/webshop/product/list":{"get":{"tags":["Webshop"],"summary":"/api/v3/webshop/product/list","description":"List published products.\n\nProducts under the channel's top category. Products that left the top category or became hidden are returned with `status: archived` when they match `updatedSince`.\n","operationId":"listPublishedProducts","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-scope":"webshop.read","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBSHOP_CHANNEL_MISSING"],"parameters":[{"$ref":"#/components/parameters/updatedSince"},{"name":"status","in":"query","schema":{"$ref":"#/components/schemas/PublishStatus"}},{"name":"category","in":"query","schema":{"type":"string"},"description":"OID or code; includes descendants"},{"name":"sku","in":"query","schema":{"type":"string"}},{"name":"productNo","in":"query","schema":{"type":"integer"}},{"name":"shopType","in":"query","schema":{"$ref":"#/components/schemas/ShopType"}},{"name":"includeVariants","in":"query","schema":{"type":"boolean","default":true}},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Published products","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/PublishedProduct"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webshop.read`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBSHOP_CHANNEL_MISSING` – Key is not bound to a channel\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/webshop/product/{id}":{"get":{"tags":["Webshop"],"summary":"/api/v3/webshop/product/{id}","description":"One published product.","operationId":"getPublishedProduct","x-telaris-namespace":"webshop","x-telaris-products":["Webshop API"],"x-telaris-scope":"webshop.read","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBSHOP_CHANNEL_MISSING"],"parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The product","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"product":{"$ref":"#/components/schemas/PublishedProduct"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webshop.read`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBSHOP_CHANNEL_MISSING` – Key is not bound to a channel\n"},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no product with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/webhook":{"post":{"tags":["Webhook"],"summary":"/api/v3/webhook","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nCreate a subscription.","operationId":"createWebhook","x-telaris-namespace":"webhook","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"webhook.create","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBHOOK_EVENT_NOT_ALLOWED","WEBHOOK_URL_INVALID"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscription"}}}},"responses":{"200":{"description":"The subscription","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"webhook":{"$ref":"#/components/schemas/WebhookSubscription"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"One of:\n- `VALIDATION` – invalid body or parameter; see `error.details.fields`\n- `WEBHOOK_URL_INVALID` – URL not HTTPS, or unreachable on test\n"},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webhook.create`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBHOOK_EVENT_NOT_ALLOWED` – Event on a resource the key cannot read\n"},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/webhook/event/list":{"get":{"tags":["Webhook"],"summary":"/api/v3/webhook/event/list","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nThe event catalog available to this key.","operationId":"listWebhookEvents","x-telaris-namespace":"webhook","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"webhook.read","x-telaris-available":"2026-Q4","responses":{"200":{"description":"Events","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"events":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEventType"}}}}]}}}},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `webhook.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/webhook/list":{"get":{"tags":["Webhook"],"summary":"/api/v3/webhook/list","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nList the key's subscriptions.","operationId":"listWebhooks","x-telaris-namespace":"webhook","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"webhook.read","x-telaris-available":"2026-Q4","responses":{"200":{"description":"Subscriptions","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"webhooks":{"type":"array","items":{"$ref":"#/components/schemas/WebhookSubscription"}}}}]}}}},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `webhook.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/webhook/{id}":{"get":{"tags":["Webhook"],"summary":"/api/v3/webhook/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nGet a subscription.","operationId":"getWebhook","x-telaris-namespace":"webhook","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"webhook.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The subscription","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"webhook":{"$ref":"#/components/schemas/WebhookSubscription"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `webhook.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no webhook with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"put":{"tags":["Webhook"],"summary":"/api/v3/webhook/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nUpdate a subscription (partial).","operationId":"updateWebhook","x-telaris-namespace":"webhook","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"webhook.update","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBHOOK_EVENT_NOT_ALLOWED","WEBHOOK_URL_INVALID"],"parameters":[{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSubscription"}}}},"responses":{"200":{"description":"The subscription","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"webhook":{"$ref":"#/components/schemas/WebhookSubscription"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"One of:\n- `VALIDATION` – invalid body or parameter; see `error.details.fields`\n- `WEBHOOK_URL_INVALID` – URL not HTTPS, or unreachable on test\n"},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `webhook.update`\n- `NOT_LICENSED` – module not licensed on this instance\n- `WEBHOOK_EVENT_NOT_ALLOWED` – Event on a resource the key cannot read\n"},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no webhook with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]},"delete":{"tags":["Webhook"],"summary":"/api/v3/webhook/{id}","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nDelete a subscription.","operationId":"deleteWebhook","x-telaris-namespace":"webhook","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"webhook.delete","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `webhook.delete`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no webhook with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/webhook/{id}/delivery/list":{"get":{"tags":["Webhook"],"summary":"/api/v3/webhook/{id}/delivery/list","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nDelivery log (last 30 days).","operationId":"listWebhookDeliveries","x-telaris-namespace":"webhook","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"webhook.read","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"},{"name":"status","in":"query","schema":{"type":"string","enum":["delivered","retrying","failed"]}},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/cursor"},{"$ref":"#/components/parameters/pageSize"}],"responses":{"200":{"description":"Deliveries","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"deliveries":{"type":"array","items":{"$ref":"#/components/schemas/WebhookDelivery"}},"page":{"$ref":"#/components/schemas/Page"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `webhook.read`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no webhook with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/webhook/{id}/delivery/{eventId}/replay":{"post":{"tags":["Webhook"],"summary":"/api/v3/webhook/{id}/delivery/{eventId}/replay","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nDeliver an event again.","operationId":"replayWebhookDelivery","x-telaris-namespace":"webhook","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"webhook.update","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"},{"name":"eventId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Replayed","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – invalid body or parameter; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `webhook.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no webhook or delivery with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/webhook/{id}/test":{"post":{"tags":["Webhook"],"summary":"/api/v3/webhook/{id}/test","description":"**Coming soon.** This endpoint is part of the API v3 design and does not work yet.\n\nSend a synthetic `ping` event and return the receiver's response.","operationId":"testWebhook","x-telaris-namespace":"webhook","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"webhook.update","x-telaris-available":"2026-Q4","x-telaris-errors":["WEBHOOK_URL_INVALID"],"parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Receiver response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"responseCode":{"type":"integer"},"durationMs":{"type":"integer"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"One of:\n- `VALIDATION` – invalid body or parameter; see `error.details.fields`\n- `WEBHOOK_URL_INVALID` – URL not HTTPS, or unreachable on test\n"},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `webhook.update`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no webhook with this id."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"COMING","color":"#996203"}]}},"/api/v3/report/list":{"get":{"tags":["Report"],"summary":"/api/v3/report/list","description":"List reports enabled for the API.\n\nCustom reports on the instance that are enabled for the API and that the key's API user may run, with their parameters, annotated columns, default output and whether they run in the background.\n","operationId":"listReports","x-telaris-namespace":"report","x-telaris-products":["Accounting API"],"x-telaris-scope":"report.read","x-telaris-available":"2026-Q4","responses":{"200":{"description":"Reports with parameters and columns","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"reports":{"type":"array","items":{"$ref":"#/components/schemas/ReportDefinition"}}}}]}}}},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `report.read`; or `NOT_LICENSED` – module not licensed."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/report/{id}/create":{"post":{"tags":["Report"],"summary":"/api/v3/report/{id}/create","description":"Run a report.\n\nRuns a custom report with the given parameters. `{id}` is the report's OID, `code` or `uuid`.\n\n- **Report without background run:** the response is the report output itself, in the report's output format or the one chosen with `output` (for `json`: an array of row objects keyed by column name). It is not wrapped in the envelope. The run has a time limit (`REPORT_TIMEOUT`).\n- **Report with background run (`isBackground`):** the run is queued and the response is **202** with the job (`job`) and `Location: /api/v3/report/job/{jobId}`. Poll the job until `status` is `completed`, then download `job.file.href`.\n\nReplaces v1 `report.execute`.\n","operationId":"createReport","x-telaris-namespace":"report","x-telaris-products":["Accounting API"],"x-telaris-scope":"report.execute","x-telaris-available":"2026-Q4","x-telaris-errors":["REPORT_NOT_ENABLED","REPORT_TIMEOUT"],"parameters":[{"$ref":"#/components/parameters/id"},{"name":"output","in":"query","required":false,"description":"Output format instead of the report's own (`output` in `/report/list`).","schema":{"$ref":"#/components/schemas/ReportOutput"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportCreate"}}}},"responses":{"200":{"description":"The report output (no background run). `Content-Type` follows the output format; `Content-Disposition` carries the file name.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true}}},"text/csv":{"schema":{"type":"string"}},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schema":{"type":"string","format":"binary"}},"application/vnd.apache.parquet":{"schema":{"type":"string","format":"binary"}},"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"202":{"description":"Queued as a background job (`isBackground`). `Location` is the job's polling path.","headers":{"Location":{"description":"`/api/v3/report/job/{jobId}`","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"job":{"$ref":"#/components/schemas/ReportJob"}}}]}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"`VALIDATION` – unknown or missing parameter, unknown `output`; see `error.details.fields`."},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"One of:\n- `AUTH_SCOPE` – key lacks `report.execute`\n- `NOT_LICENSED` – module not licensed on this instance\n- `REPORT_NOT_ENABLED` – the report is not enabled for the API, or the key's API user may not run it\n"},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no report with this id, code or uuid."},"422":{"$ref":"#/components/responses/Unprocessable","description":"`REPORT_TIMEOUT` – the report ran longer than the limit; narrow the parameters."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/report/job/{id}":{"get":{"tags":["Report"],"summary":"/api/v3/report/job/{id}","description":"Poll a background report job.\n\nStatus and progress of a job started by `POST /report/{id}/create`, with the file it produces (name, size, download link) also while it runs. Only jobs started with the same key are visible.\n","operationId":"getReportJob","x-telaris-namespace":"report","x-telaris-products":["Accounting API"],"x-telaris-scope":"report.execute","x-telaris-available":"2026-Q4","parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The job","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"job":{"$ref":"#/components/schemas/ReportJob"}}}]}}}},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `report.execute`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no job with this id for this key."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"/api/v3/report/job/{id}/result":{"get":{"tags":["Report"],"summary":"/api/v3/report/job/{id}/result","description":"Download a background job's result.\n\nThe file the job produced, in the output format it was created with (`job.output`). Available as long as the file is kept on the instance.\n","operationId":"getReportJobResult","x-telaris-namespace":"report","x-telaris-products":["Accounting API"],"x-telaris-scope":"report.execute","x-telaris-available":"2026-Q4","x-telaris-errors":["REPORT_NOT_READY"],"parameters":[{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"The file. `Content-Type` follows the output format; `Content-Disposition` carries the file name.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true}}},"text/csv":{"schema":{"type":"string"}},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schema":{"type":"string","format":"binary"}},"application/vnd.apache.parquet":{"schema":{"type":"string","format":"binary"}},"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"401":{"$ref":"#/components/responses/Unauthorized","description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key."},"403":{"$ref":"#/components/responses/Forbidden","description":"`AUTH_SCOPE` – key lacks `report.execute`; or `NOT_LICENSED` – module not licensed."},"404":{"$ref":"#/components/responses/NotFound","description":"`NOT_FOUND` – no job with this id for this key, or its file is no longer kept."},"409":{"$ref":"#/components/responses/Conflict","description":"`REPORT_NOT_READY` – the job has not completed; poll `/report/job/{id}`."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"`RATE_LIMITED` – retry after `Retry-After` seconds."},"default":{"$ref":"#/components/responses/Error","description":"`INTERNAL` – server error; quote `error.traceId` to support."}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}}},"webhooks":{"order.created":{"post":{"tags":["Order"],"summary":"order.created","description":"Order created (any source).\n\nDelivered to subscriptions whose key holds `order.read`.\n","operationId":"webhookOrderCreated","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"order.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderEvent"}}}},"responses":{"200":{"description":"Acknowledged within 5 seconds; process asynchronously"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"order.deleted":{"post":{"tags":["Order"],"summary":"order.deleted","description":"Order soft-deleted.\n\nDelivered to subscriptions whose key holds `order.read`.\n","operationId":"webhookOrderDeleted","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"order.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"order.status_changed":{"post":{"tags":["Order"],"summary":"order.status_changed","description":"Order status changed.\n\nDelivered to subscriptions whose key holds `order.read`.\n","operationId":"webhookOrderStatusChanged","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"order.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"order.updated":{"post":{"tags":["Order"],"summary":"order.updated","description":"Order or its rows saved without a status change.\n\nDelivered to subscriptions whose key holds `order.read`.\n","operationId":"webhookOrderUpdated","x-telaris-namespace":"order","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"order.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"customer.updated":{"post":{"tags":["Customer"],"summary":"customer.updated","description":"Customer created, updated or deleted (`event` says which).\n\nDelivered to subscriptions whose key holds `customer.read`.\n","operationId":"webhookCustomerUpdated","x-telaris-namespace":"customer","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"customer.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"contact.updated":{"post":{"tags":["Customer"],"summary":"contact.updated","description":"Contact created, updated or deleted.\n\nDelivered to subscriptions whose key holds `customer.contact.read`.\n","operationId":"webhookContactUpdated","x-telaris-namespace":"customer","x-telaris-products":["Commercial Operations API","Product Data API","Accounting API","Webshop API"],"x-telaris-scope":"customer.contact.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"invoice.created":{"post":{"tags":["Finance"],"summary":"invoice.created","description":"Invoice or credit note issued, paid or credited (`event` says which).\n\nDelivered to subscriptions whose key holds `finance.invoice.read`.\n","operationId":"webhookInvoiceCreated","x-telaris-namespace":"finance","x-telaris-products":["Commercial Operations API","Accounting API"],"x-telaris-scope":"finance.invoice.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"voucher.created":{"post":{"tags":["Finance"],"summary":"voucher.created","description":"Voucher generated.\n\nDelivered to subscriptions whose key holds `finance.voucher.read`.\n","operationId":"webhookVoucherCreated","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.voucher.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoucherEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"payment.created":{"post":{"tags":["Finance"],"summary":"payment.created","description":"Payment registered in Telaris.\n\nDelivered to subscriptions whose key holds `finance.payment.read`.\n","operationId":"webhookPaymentCreated","x-telaris-namespace":"finance","x-telaris-products":["Accounting API"],"x-telaris-scope":"finance.payment.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"product.updated":{"post":{"tags":["Product"],"summary":"product.updated","description":"Product created, updated or deleted (`event` says which).\n\nDelivered to subscriptions whose key holds `product.read`.\n","operationId":"webhookProductUpdated","x-telaris-namespace":"product","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"product.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"structure.updated":{"post":{"tags":["Product"],"summary":"structure.updated","description":"Structure changed.\n\nDelivered to subscriptions whose key holds `product.structure.read`.\n","operationId":"webhookStructureUpdated","x-telaris-namespace":"product","x-telaris-products":["Product Data API","Webshop API"],"x-telaris-scope":"product.structure.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"price.updated":{"post":{"tags":["Price"],"summary":"price.updated","description":"A price or discount rule changed.\n\nDelivered to subscriptions whose key holds `price.read`.\n","operationId":"webhookPriceUpdated","x-telaris-namespace":"price","x-telaris-products":["Product Data API","Webshop API"],"x-telaris-scope":"price.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"file.updated":{"post":{"tags":["File"],"summary":"file.updated","description":"File created, updated or deleted.\n\nDelivered to subscriptions whose key holds `file.read`.\n","operationId":"webhookFileUpdated","x-telaris-namespace":"file","x-telaris-products":["Product Data API","Webshop API"],"x-telaris-scope":"file.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"stock.updated":{"post":{"tags":["Warehouse"],"summary":"stock.updated","description":"Stock changed.\n\nDelivered to subscriptions whose key holds `warehouse.stock.read`.\n","operationId":"webhookStockUpdated","x-telaris-namespace":"warehouse","x-telaris-products":["Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-scope":"warehouse.stock.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StockEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"pickinglist.created":{"post":{"tags":["Warehouse"],"summary":"pickinglist.created","description":"Picking list created (also assigned, updated, completed, deleted).\n\nDelivered to subscriptions whose key holds `warehouse.pickinglist.read`.\n","operationId":"webhookPickingListCreated","x-telaris-namespace":"warehouse","x-telaris-products":["Warehouse & Fulfillment API"],"x-telaris-scope":"warehouse.pickinglist.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PickingListEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"goodsreceipt.finalized":{"post":{"tags":["Logistics"],"summary":"goodsreceipt.finalized","description":"Goods receipt created, received or finalized.\n\nDelivered to subscriptions whose key holds `logistics.goodsreceipt.read`.\n","operationId":"webhookGoodsReceiptFinalized","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"logistics.goodsreceipt.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoodsReceiptEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"shipment.shipped":{"post":{"tags":["Logistics"],"summary":"shipment.shipped","description":"Shipment created, shipped or updated.\n\nDelivered to subscriptions whose key holds `logistics.shipment.read`.\n","operationId":"webhookShipmentShipped","x-telaris-namespace":"logistics","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Webshop API"],"x-telaris-scope":"logistics.shipment.read","x-telaris-available":"2027-Q1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipmentEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"purchaseorder.updated":{"post":{"tags":["Logistics"],"summary":"purchaseorder.updated","description":"Purchase order created, updated or deleted.\n\nDelivered to subscriptions whose key holds `logistics.purchaseorder.read`.\n","operationId":"webhookPurchaseOrderUpdated","x-telaris-namespace":"logistics","x-telaris-products":["Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"logistics.purchaseorder.read","x-telaris-available":"2027-Q1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"webhook.deactivated":{"post":{"tags":["Webhook"],"summary":"webhook.deactivated","description":"Subscription deactivated after 7 days of failures.","operationId":"webhookDeactivated","x-telaris-namespace":"webhook","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"webhook.ping":{"post":{"tags":["Webhook"],"summary":"webhook.ping","description":"Synthetic test event (`POST /webhook/{id}/test`).","operationId":"webhookPing","x-telaris-namespace":"webhook","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API","Webshop API"],"x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"object.updated":{"post":{"tags":["Object"],"summary":"object.updated","description":"Object created, updated or deleted (`event` says which).\n\nDelivered to subscriptions whose key holds `object.read`.\n","operationId":"webhookObjectUpdated","x-telaris-namespace":"object","x-telaris-products":["Commercial Operations API","Product Data API","Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"object.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}},"hour.approved":{"post":{"tags":["Hourtracking"],"summary":"hour.approved","description":"Hours approved (also `hour.created`, `hour.updated`, `hour.deleted`, `hour.signed`).\n\nDelivered to subscriptions whose key holds `hourtracking.read`.\n","operationId":"webhookHourApproved","x-telaris-namespace":"hourtracking","x-telaris-products":["Commercial Operations API","Warehouse & Fulfillment API","Accounting API"],"x-telaris-scope":"hourtracking.read","x-telaris-available":"2026-Q4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HourEvent"}}}},"responses":{"200":{"description":"Acknowledged"}},"x-badges":[{"name":"PREVIEW","color":"#056125"}]}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"The private key (`pk_prod_…`) obtained from api.telaris.no. From Q1 2027 also OAuth 2.0 access tokens."}},"parameters":{"id":{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/OID"}},"rowId":{"name":"rowId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/OID"}},"updatedSince":{"name":"updatedSince","in":"query","schema":{"type":"string","format":"date-time"},"description":"Return records with `updatedAt >= updatedSince` (ISO 8601 with offset), including records that became inactive. With this parameter the list is sorted by `updatedAt`, then `id`, ascending. Use `page.nextUpdatedSince` from the previous run."},"page":{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},"cursor":{"name":"cursor","in":"query","schema":{"type":"string","pattern":"^[0-9a-f]{32}$"},"description":"Continue a run: `page.cursor` from page 1, with `page` set to the page wanted. The result is fixed when page 1 is read; a row saved meanwhile cannot shift another row out of the run. Lives 15 minutes after its last read and ends after its last page; an unknown or expired cursor gives 400 `VALIDATION` – start again from page 1."},"pageSize":{"name":"pageSize","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000,"default":200}},"componentId":{"name":"componentId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/OID"}},"fields":{"name":"fields","in":"query","schema":{"type":"string","default":"summary"},"description":"`summary`, `full` or a comma-separated list of top-level fields."}},"responses":{"BadRequest":{"description":"`VALIDATION` – malformed body or parameter; `error.details.fields` lists them.","headers":{"X-Telaris-Trace-Id":{"description":"Same as `error.traceId`.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"result":false,"message":"Invalid request","error":{"code":"VALIDATION","category":"validation","message":"Invalid request","traceId":"7f3c9a2e","details":{"fields":[{"field":"rows[0].quantity","reason":"must be a number"}]}}}}}},"Unauthorized":{"description":"`AUTH_INVALID_KEY` – missing, malformed or revoked key.","headers":{"X-Telaris-Trace-Id":{"description":"Same as `error.traceId`.","schema":{"type":"string"}},"WWW-Authenticate":{"schema":{"type":"string"},"example":"Bearer"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"result":false,"message":"Invalid API key","error":{"code":"AUTH_INVALID_KEY","category":"authentication","message":"Invalid API key","traceId":"7f3c9a2e"}}}}},"Forbidden":{"description":"`AUTH_SCOPE` – the key lacks the scope for this operation (`x-telaris-scope`); `NOT_LICENSED` – the module is not licensed on this instance.","headers":{"X-Telaris-Trace-Id":{"description":"Same as `error.traceId`.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"result":false,"message":"Missing scope order.update","error":{"code":"AUTH_SCOPE","category":"authorization","message":"Missing scope order.update","traceId":"7f3c9a2e"}}}}},"NotFound":{"description":"`NOT_FOUND` – no object with this id (or number) on this instance, or no such path.","headers":{"X-Telaris-Trace-Id":{"description":"Same as `error.traceId`.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"result":false,"message":"Not found","error":{"code":"NOT_FOUND","category":"not_found","message":"Not found","traceId":"7f3c9a2e"}}}}},"Conflict":{"description":"Conflict with the current state; the operation lists its codes. `error.details` carries the existing record where relevant.","headers":{"X-Telaris-Trace-Id":{"description":"Same as `error.traceId`.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"result":false,"message":"sourceRef already exists","error":{"code":"ORDER_DUPLICATE","category":"conflict","message":"sourceRef already exists","traceId":"7f3c9a2e","details":{"order":{"id":"oid:…order…","orderNo":"10234"}}}}}}},"Unprocessable":{"description":"A business rule rejects the request; the operation lists its codes. `error.details` points to the offending row or reference.","headers":{"X-Telaris-Trace-Id":{"description":"Same as `error.traceId`.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"result":false,"message":"Unknown product on row 2","error":{"code":"ORDER_UNKNOWN_PRODUCT","category":"business_rule","message":"Unknown product on row 2","traceId":"7f3c9a2e","details":{"row":2,"reference":{"sku":"ART-99999"}}}}}}},"TooManyRequests":{"description":"`RATE_LIMITED` – retry after `Retry-After` seconds.","headers":{"X-Telaris-Trace-Id":{"description":"Same as `error.traceId`.","schema":{"type":"string"}},"Retry-After":{"schema":{"type":"integer"},"example":12}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"result":false,"message":"Rate limit exceeded","error":{"code":"RATE_LIMITED","category":"rate_limit","message":"Rate limit exceeded","traceId":"7f3c9a2e"}}}}},"Error":{"description":"Server error (5xx, `INTERNAL`). Quote `error.traceId` to Telaris support.","headers":{"X-Telaris-Trace-Id":{"description":"Same as `error.traceId`.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"result":false,"message":"Internal error","error":{"code":"INTERNAL","category":"internal","message":"Internal error","traceId":"7f3c9a2e"}}}}}},"schemas":{"ProductType":{"type":"string","enum":["single","selection","expansion","collection","production"],"description":"The product's composition (*product handling* on the product card)."},"ErrorCode":{"type":"string","description":"Stable machine-readable error code. HTTP status, category and meaning per code are in `x-enumDescriptions`; the codes an operation can return beyond the common ones are in its `x-telaris-errors`.","enum":["AUTH_INVALID_KEY","AUTH_SCOPE","VALIDATION","NOT_FOUND","METHOD_NOT_ALLOWED","NOT_LICENSED","RATE_LIMITED","INTERNAL","CUSTOMER_DUPLICATE","CUSTOMER_IN_USE","CONTACT_CUSTOMER_MISMATCH","ORDER_DUPLICATE","ORDER_UNKNOWN_CUSTOMER","ORDER_UNKNOWN_PRODUCT","ORDER_INVALID_STATUS","ORDER_STATUS_TRANSITION","ORDER_LOCKED","ORDER_ROW_LOCKED","ORDER_ROW_PICKED","ORDER_QUANTITY_BELOW_DELIVERED","PRODUCT_DUPLICATE","PRODUCT_IN_USE","PRODUCT_UNKNOWN_CLASS","PRODUCT_UNKNOWN_CATEGORY","PRODUCT_UNKNOWN_MANUFACTURER","PRODUCT_UNKNOWN_SUPPLIER","PRODUCT_INVALID_ATTRIBUTE","STRUCTURE_UNKNOWN_COMPONENT","STRUCTURE_CYCLE","STRUCTURE_NOT_ALLOWED","FIELD_IN_USE","CATEGORY_IN_USE","PRICE_INVALID_PERIOD","PRICE_RULE_OVERLAP","FILE_TOO_LARGE","FILE_TYPE_NOT_ALLOWED","STOCK_INSUFFICIENT","STOCK_ALLOCATED","STOCK_TRACKING_REQUIRED","STOCK_SERIAL_UNKNOWN","LOCATION_UNKNOWN","WAREHOUSE_UNKNOWN","LOCATION_SINGLE_PRODUCT","PICKING_CLAIMED","PICKING_ROW_TAKEN","PICKING_CLOSED","PICKING_OVER_QUANTITY","RECEIPT_STATE","RECEIPT_OVER_QUANTITY","FINANCE_MAPPING_MISSING","FINANCE_PAYMENT_TYPE_UNMAPPED","FINANCE_EXPORT_CONFLICT","FINANCE_VALIDATION","FINANCE_STATE","PERIOD_CLOSED","WEBSHOP_CHANNEL_MISSING","WEBSHOP_UNKNOWN_SKU","WEBSHOP_CUSTOMER_AMBIGUOUS","WEBSHOP_VAT_MISMATCH","WEBSHOP_PAYMENT_INVALID","WEBHOOK_EVENT_NOT_ALLOWED","WEBHOOK_URL_INVALID","REPORT_NOT_ENABLED","REPORT_TIMEOUT","REPORT_NOT_READY","OBJECT_DUPLICATE","OBJECT_UNKNOWN_TYPE","OBJECT_PARENT_NOT_ALLOWED","OBJECT_INVALID_FIELD","OBJECT_IN_USE","HOURTRACKING_UNKNOWN_EMPLOYEE","HOURTRACKING_UNKNOWN_ACTIVITY","HOURTRACKING_RESTRICTED","HOURTRACKING_DAY_LIMIT","HOURTRACKING_LOCKED","HOURTRACKING_DUPLICATE"],"x-enumDescriptions":{"AUTH_INVALID_KEY":"401 authentication – Missing, malformed or revoked key (`WWW-Authenticate: Bearer`)","AUTH_SCOPE":"403 authorization – Key lacks the scope for this operation","VALIDATION":"400 validation – Malformed body or parameter; `details.fields` lists them","NOT_FOUND":"404 not_found – No object with this OID (or number) on this instance, or no such path","METHOD_NOT_ALLOWED":"405 validation – The path exists, but not with this HTTP method; the `Allow` header lists the methods it takes","NOT_LICENSED":"403 not_licensed – The module behind the operation is not licensed on the instance","RATE_LIMITED":"429 rate_limit – Retry after `Retry-After` seconds","INTERNAL":"500 internal – Telaris error; quote the trace id","CUSTOMER_DUPLICATE":"409 conflict – `externalRef` exists on another customer than the one addressed","CUSTOMER_IN_USE":"409 conflict – Delete refused: open orders or unpaid invoices","CONTACT_CUSTOMER_MISMATCH":"409 conflict – Contact belongs to another customer","ORDER_DUPLICATE":"409 conflict – `sourceRef` exists; existing order in `details`","ORDER_UNKNOWN_CUSTOMER":"422 business_rule – Customer not found on the instance","ORDER_UNKNOWN_PRODUCT":"422 business_rule – Product reference not found; `details.row` and reference","ORDER_INVALID_STATUS":"422 business_rule – Status value not accepted (unknown code, or base not allowed)","ORDER_STATUS_TRANSITION":"409 conflict – Transition not allowed from the current base status","ORDER_LOCKED":"409 conflict – Order is invoiced/closed/cancelled or has deliveries","ORDER_ROW_LOCKED":"409 conflict – Row invoiced, child row, or the order is locked","ORDER_ROW_PICKED":"409 conflict – `DELETE` on a row that is on a picking list","ORDER_QUANTITY_BELOW_DELIVERED":"422 business_rule – Quantity reduced below delivered quantity","PRODUCT_DUPLICATE":"409 conflict – `sku`, `productNo` or `externalRef` exists on another product than the one addressed","PRODUCT_IN_USE":"409 conflict – Delete or type change refused: open orders, picking, or used as a component","PRODUCT_UNKNOWN_CLASS":"422 business_rule – Product class not found","PRODUCT_UNKNOWN_CATEGORY":"422 business_rule – Category not found","PRODUCT_UNKNOWN_MANUFACTURER":"422 business_rule – Manufacturer not found","PRODUCT_UNKNOWN_SUPPLIER":"422 business_rule – Supplier not found","PRODUCT_INVALID_ATTRIBUTE":"422 business_rule – Field not on the product's class, or value not among `options`","STRUCTURE_UNKNOWN_COMPONENT":"422 business_rule – Component product not found and not defined inline","STRUCTURE_CYCLE":"422 business_rule – The structure would contain the product itself","STRUCTURE_NOT_ALLOWED":"422 business_rule – Components on a `single` product","FIELD_IN_USE":"409 conflict – Attribute definition in use on products; cannot be removed","CATEGORY_IN_USE":"409 conflict – Category has products or subcategories; cannot be deleted","PRICE_INVALID_PERIOD":"400 validation – `validTo` before `validFrom`","PRICE_RULE_OVERLAP":"409 conflict – Matrix row with the same keys and overlapping period exists","FILE_TOO_LARGE":"400 validation – File exceeds the size limit","FILE_TYPE_NOT_ALLOWED":"400 validation – File type not allowed","STOCK_INSUFFICIENT":"422 business_rule – Correction, move or pick exceeds the quantity at the location","STOCK_ALLOCATED":"409 conflict – Move of allocated stock without `allowAllocated`","STOCK_TRACKING_REQUIRED":"422 business_rule – Batch, serial or expiry required by the product","STOCK_SERIAL_UNKNOWN":"422 business_rule – Serial number not in stock at the location","LOCATION_UNKNOWN":"422 business_rule – Location not found in the warehouse","WAREHOUSE_UNKNOWN":"422 business_rule – Warehouse not found","LOCATION_SINGLE_PRODUCT":"409 conflict – Location holds another product","PICKING_CLAIMED":"409 conflict – List claimed by another key","PICKING_ROW_TAKEN":"409 conflict – Order row already on an open list","PICKING_CLOSED":"409 conflict – Picking list is closed","PICKING_OVER_QUANTITY":"422 business_rule – `quantityPicked` above `quantity`","RECEIPT_STATE":"409 conflict – Receive/finalize not allowed in the current state","RECEIPT_OVER_QUANTITY":"422 business_rule – Received above expected without `allowOver: true`","FINANCE_MAPPING_MISSING":"422 business_rule – No account mapping for the product class or transaction type in the document","FINANCE_PAYMENT_TYPE_UNMAPPED":"422 business_rule – No payment type mapping for this payment type and currency","FINANCE_EXPORT_CONFLICT":"409 conflict – Document already acknowledged with another reference","FINANCE_VALIDATION":"422 business_rule – Comment required (rejection), or postings not balanced","FINANCE_STATE":"409 conflict – Operation not allowed in the document's state (e.g. withdraw an approved supplier invoice)","PERIOD_CLOSED":"422 business_rule – Date inside a closed period","WEBSHOP_CHANNEL_MISSING":"403 authorization – Key is not bound to a channel","WEBSHOP_UNKNOWN_SKU":"422 business_rule – Row SKU not found and no fallback product","WEBSHOP_CUSTOMER_AMBIGUOUS":"422 business_rule – Several customers match `orgNo`/`email`; order held for manual matching (created with a task in Telaris) unless the channel is set to reject","WEBSHOP_VAT_MISMATCH":"422 business_rule – Shop VAT rate on a row differs from the product class rate by more than rounding (reported, order still created when the channel allows)","WEBSHOP_PAYMENT_INVALID":"400 validation – Payment block inconsistent (paid without amount, unknown status)","WEBHOOK_EVENT_NOT_ALLOWED":"403 authorization – Event on a resource the key cannot read","WEBHOOK_URL_INVALID":"400 validation – URL not HTTPS, or unreachable on test","REPORT_NOT_ENABLED":"403 authorization – The report is not enabled for the API","REPORT_TIMEOUT":"422 business_rule – The report ran longer than the limit; narrow the parameters","REPORT_NOT_READY":"409 conflict – The background report job has not completed; poll it until `status` is `completed`","OBJECT_DUPLICATE":"409 conflict – An object with this name exists in the project; existing object in `details`","OBJECT_UNKNOWN_TYPE":"422 business_rule – Object type not found","OBJECT_PARENT_NOT_ALLOWED":"422 business_rule – The object type is not allowed under this parent (the types' allowed parents and children)","OBJECT_INVALID_FIELD":"422 business_rule – Field not defined on the object type, or value not accepted","OBJECT_IN_USE":"409 conflict – Object has child objects, hours, order rows or invoices; cannot be deleted","HOURTRACKING_UNKNOWN_EMPLOYEE":"422 business_rule – Employee not found or not active on the date","HOURTRACKING_UNKNOWN_ACTIVITY":"422 business_rule – Activity or hour type not found, closed, or not valid on the date","HOURTRACKING_RESTRICTED":"422 business_rule – Activity or hour type is restricted for this employee","HOURTRACKING_DAY_LIMIT":"422 business_rule – Hours exceed the employee's limit for the day","HOURTRACKING_LOCKED":"409 conflict – Entry is signed, approved, invoiced or exported","HOURTRACKING_DUPLICATE":"409 conflict – `sourceRef` exists; existing entry in `details`"}},"OID":{"type":"string","description":"Telaris object id – opaque, unique across instances and object types, stable for the life of the object.","examples":["oid:…order…"]},"Envelope":{"type":"object","required":["result","message"],"properties":{"result":{"type":"boolean"},"message":{"type":"string","examples":["OK"]}}},"Error":{"type":"object","required":["code","category","message","traceId"],"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"category":{"type":"string","enum":["authentication","authorization","validation","not_found","conflict","business_rule","rate_limit","not_licensed","provider_error","internal"]},"message":{"type":"string"},"traceId":{"type":"string","description":"Matches the `X-Telaris-Trace-Id` response header."},"hint":{"type":"string","description":"Optional English advice on how to correct the request (which header, parameter or scope to check). For people, not for parsing; the wording may change between releases without notice."},"details":{"type":"object","additionalProperties":true,"description":"Optional structured context (offending fields, existing record on 409, row index on 422, per-row errors on bulk calls)."}}},"ErrorResponse":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/Error"}}}]},"Page":{"type":"object","required":["page","pageSize","total","nextUpdatedSince"],"properties":{"page":{"type":"integer"},"pageSize":{"type":"integer"},"total":{"type":"integer"},"nextUpdatedSince":{"type":"string","format":"date-time","description":"Pass as `updatedSince` in the next sync run. Take it from the first page of a run; the server includes the overlap it needs, so consumers subtract nothing."},"cursor":{"type":["string","null"],"description":"Always present. Set when the request sent `page` and the run has more pages (and fewer than 1 000 000 rows): pass it as `cursor` on every further page of this run. Null without `page` (a request without it is paged by offset), on the last page, for results that fit on one page, and for results of 1 000 000 rows or more."}}},"Ref":{"type":"object","description":"Reference to another object. On input, `id` (OID) or the documented human-readable key (`code`, `name`).","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":["string","null"],"description":"Null when the referenced object has no code."},"name":{"type":"string"},"externalRef":{"type":["string","null"],"description":"The calling integration's own reference, where the referenced object has one."}}},"ObjectRef":{"type":"object","description":"Reference to a Telaris object (a project, system, area, checklist or other object of an object type). Parts of the Telaris user interface call objects *tags*.","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":"string","description":"The object's number/name, e.g. `P-2026-014`."},"description":{"type":["string","null"]},"objectType":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"isProject":{"type":"boolean"}}}}},"ProductRef":{"type":"object","description":"Reference to a product. On input, `id`, `productNo` or `sku`.","properties":{"id":{"$ref":"#/components/schemas/OID"},"productNo":{"type":"integer"},"sku":{"type":"string"},"name":{"type":"string"},"type":{"$ref":"#/components/schemas/ProductType"},"supplierSku":{"type":["string","null"],"description":"Supplier's product number (purchasing contexts)."}}},"CustomerRef":{"type":"object","description":"Reference to a customer. On input, `id` or `customerNo`.","properties":{"id":{"$ref":"#/components/schemas/OID"},"customerNo":{"type":"integer"},"name":{"type":"string"},"orgNo":{"type":["string","null"],"description":"Returned in finance contexts."},"externalRef":{"type":["string","null"],"description":"The calling integration's reference for the customer."}}},"ContactRef":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"email":{"type":"string","description":"Accepted on input as an alternative to `id`."},"name":{"type":"string"}}},"OrderRef":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"orderNo":{"type":"integer"},"sourceRef":{"type":["string","null"]},"customer":{"$ref":"#/components/schemas/CustomerRef"},"status":{"type":"object","properties":{"base":{"type":"string"}}}}},"Address":{"type":"object","properties":{"name":{"type":["string","null"],"description":"Recipient name (delivery addresses)."},"line1":{"type":["string","null"]},"line2":{"type":["string","null"]},"zip":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"],"description":"ISO 3166-1 alpha-2","examples":["NO"]}}},"EventEnvelope":{"type":"object","required":["event","eventId","occurredAt"],"properties":{"event":{"type":"string","examples":["order.status_changed"]},"eventId":{"type":"string","format":"uuid","description":"Deduplication key."},"occurredAt":{"type":"string","format":"date-time"},"subscription":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"}}}}},"ProductSummary":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":"string"},"isActive":{"type":"boolean"},"productClass":{"$ref":"#/components/schemas/Ref"},"price":{"type":["number","null"],"description":"Price excl. VAT after the product's own rebates, as Telaris uses it."},"listPrice":{"type":["number","null"],"description":"The stored price excl. VAT, without the product's own rebates."},"lastPurchasePrice":{"type":["number","null"]},"vatPct":{"type":"number"},"sku":{"type":"string","examples":["ART-00051"]},"productNo":{"type":"integer","examples":[25130]},"unit":{"type":["string","null"],"examples":["stk"]},"barcodes":{"type":"array","items":{"type":"string"}},"isStockItem":{"type":"boolean","description":"Stock handling enabled (`flags.isStockItem` in the full product)."},"category":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"description":{"type":["string","null"]},"updatedAt":{"type":"string","format":"date-time"}},"description":"Summary projection of the product (`fields=summary`), fields in product-card order."},"ProductStatus":{"type":"string","enum":["setup","active","activeIfStocked","notForSale","inactive","discontinued"],"description":"`setup` being set up; `active`; `activeIfStocked` sellable while stock is available; `notForSale` active but not sellable; `inactive`; `discontinued`."},"ProductField":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":"string"},"type":{"type":"string","enum":["text","number","area","select","multi","color","product","hidden","readonly"]},"options":{"type":["array","null"],"items":{"type":"string"}},"hideInWebshop":{"type":"boolean"},"sortKey":{"type":"integer"}}},"ProductClass":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"name":{"type":"string"},"vatPct":{"type":"number","readOnly":true},"isDefault":{"type":"boolean"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/ProductField"}}}},"Category":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"name":{"type":"string"},"parent":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"description":{"type":["string","null"]},"publicDescription":{"type":["string","null"]},"image":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"sortKey":{"type":"integer"},"isDefault":{"type":"boolean"},"hideOnWeb":{"type":"boolean"},"children":{"type":"array","items":{"$ref":"#/components/schemas/Category"},"description":"Only with `tree=true`"},"updatedAt":{"type":"string","format":"date-time"}}},"CategoryWrite":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"parent":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"description":{"type":["string","null"]},"publicDescription":{"type":["string","null"]},"sortKey":{"type":"integer"},"hideOnWeb":{"type":"boolean"}}},"AttributeValue":{"type":"object","properties":{"field":{"$ref":"#/components/schemas/Ref"},"value":{"description":"Scalar or array for `multi`"}}},"ProductBase":{"type":"object","description":"Writable product fields, in the order of the product card.","properties":{"name":{"type":"string"},"status":{"$ref":"#/components/schemas/ProductStatus"},"productClass":{"$ref":"#/components/schemas/Ref"},"shortName":{"type":["string","null"]},"labels":{"type":"array","items":{"type":"string"},"description":"Labels (*etiketter*) on the product."},"type":{"$ref":"#/components/schemas/ProductType"},"packageQuantity":{"type":["number","null"]},"replacedBy":{"oneOf":[{"$ref":"#/components/schemas/ProductRef"},{"type":"null"}]},"price":{"type":["number","null"],"description":"Retail (list) price excluding VAT."},"campaignPrice":{"oneOf":[{"$ref":"#/components/schemas/CampaignPrice"},{"type":"null"}]},"costPrice":{"type":["number","null"]},"sku":{"type":"string"},"productNo":{"type":"integer"},"extraSku":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"unit":{"type":["string","null"]},"barcodes":{"type":"array","items":{"type":"string"}},"description":{"type":["string","null"]},"shortDescription":{"type":["string","null"]},"orderRowDescription":{"type":["string","null"]},"internalDescription":{"type":["string","null"]},"purchaseRowDescription":{"type":["string","null"]},"attributes":{"type":"array","items":{"$ref":"#/components/schemas/AttributeValue"}},"manufacturer":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"objectType":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"description":"The object type (Telaris: *tag type*) used when objects are created from this product, e.g. for production or installed base."},"category":{"$ref":"#/components/schemas/Ref","description":"Primary category."},"categories":{"type":"array","items":{"$ref":"#/components/schemas/Ref"},"description":"More categories (as on the product card), in sort order. Excludes the primary category."},"discounts":{"type":"array","items":{"$ref":"#/components/schemas/Ref"},"description":"Discount categories – the categories through which discount-matrix rules apply to the product."},"catalogs":{"type":"array","items":{"$ref":"#/components/schemas/Ref"},"description":"Catalog links – the catalogs the product is published in. A product can be published in many catalogs."},"dimensions":{"type":"object","description":"Millimetres and grams","properties":{"height":{"type":["number","null"]},"width":{"type":["number","null"]},"depth":{"type":["number","null"]},"weight":{"type":["number","null"]}}},"flags":{"type":"object","properties":{"purchasable":{"type":"boolean"},"invoiceable":{"type":"boolean"},"isStockItem":{"type":"boolean","description":"Stock handling enabled."},"isFocus":{"type":"boolean","description":"Focus product."},"requireSerialNo":{"type":"boolean"},"requireBatchNo":{"type":"boolean"},"requireExpiryDate":{"type":"boolean"}}},"hideOnWeb":{"type":"boolean"},"purchase":{"type":"object","properties":{"defaultSupplier":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":"string"},"supplierSku":{"type":["string","null"]}}},{"type":"null"}]},"preferredSupplier":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"buyQuantity":{"type":["number","null"]},"minQuantity":{"type":["number","null"]},"maxQuantity":{"type":["number","null"]}}}}},"Product":{"type":"object","description":"The full product, fields in the order of the Telaris product card.","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":"string"},"status":{"$ref":"#/components/schemas/ProductStatus"},"isActive":{"type":"boolean","readOnly":true,"description":"Derived: `active`, or `activeIfStocked` with available stock."},"discontinuedAt":{"type":["string","null"],"format":"date-time","readOnly":true,"description":"When the product was discontinued."},"productClass":{"$ref":"#/components/schemas/Ref"},"shortName":{"type":["string","null"]},"labels":{"type":"array","items":{"type":"string"},"description":"Labels (*etiketter*) on the product."},"type":{"$ref":"#/components/schemas/ProductType"},"structure":{"type":"object","readOnly":true,"description":"Summary; the tree is `GET /product/{id}/structure`.","properties":{"componentCount":{"type":"integer"}}},"packageQuantity":{"type":["number","null"]},"replacedBy":{"oneOf":[{"$ref":"#/components/schemas/ProductRef"},{"type":"null"}]},"vatPct":{"type":"number","readOnly":true,"description":"From the product class."},"price":{"type":["number","null"],"description":"Retail price excluding VAT, after the product's own rebates (as Telaris uses it)."},"listPrice":{"type":["number","null"],"readOnly":true,"description":"The stored retail price excluding VAT, without the product's own rebates."},"campaignPrice":{"oneOf":[{"$ref":"#/components/schemas/CampaignPrice"},{"type":"null"}]},"costPrice":{"type":["number","null"]},"lastPurchasePrice":{"type":["number","null"],"readOnly":true},"sku":{"type":"string"},"productNo":{"type":"integer"},"extraSku":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"unit":{"type":["string","null"]},"barcodes":{"type":"array","items":{"type":"string"}},"stock":{"$ref":"#/components/schemas/ProductStock"},"description":{"type":["string","null"]},"shortDescription":{"type":["string","null"]},"orderRowDescription":{"type":["string","null"]},"internalDescription":{"type":["string","null"]},"purchaseRowDescription":{"type":["string","null"]},"attributes":{"type":"array","items":{"$ref":"#/components/schemas/AttributeValue"}},"manufacturer":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"objectType":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"description":"The object type (Telaris: *tag type*) used when objects are created from this product, e.g. for production or installed base."},"category":{"$ref":"#/components/schemas/Ref","description":"Primary category."},"categories":{"type":"array","items":{"$ref":"#/components/schemas/Ref"},"description":"More categories (as on the product card), in sort order. Excludes the primary category."},"discounts":{"type":"array","items":{"$ref":"#/components/schemas/Ref"},"description":"Discount categories – the categories through which discount-matrix rules apply to the product."},"catalogs":{"type":"array","items":{"$ref":"#/components/schemas/Ref"},"description":"Catalog links – the catalogs the product is published in. A product can be published in many catalogs."},"dimensions":{"type":"object","description":"Millimetres and grams","properties":{"height":{"type":["number","null"]},"width":{"type":["number","null"]},"depth":{"type":["number","null"]},"weight":{"type":["number","null"]}}},"flags":{"type":"object","properties":{"purchasable":{"type":"boolean"},"invoiceable":{"type":"boolean"},"isStockItem":{"type":"boolean","description":"Stock handling enabled."},"isFocus":{"type":"boolean","description":"Focus product."},"requireSerialNo":{"type":"boolean"},"requireBatchNo":{"type":"boolean"},"requireExpiryDate":{"type":"boolean"}}},"hideOnWeb":{"type":"boolean"},"purchase":{"type":"object","properties":{"defaultSupplier":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":"string"},"supplierSku":{"type":["string","null"]}}},{"type":"null"}]},"preferredSupplier":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"buyQuantity":{"type":["number","null"]},"minQuantity":{"type":["number","null"]},"maxQuantity":{"type":["number","null"]}}},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImageRef"},"readOnly":true},"documentCount":{"type":"integer","readOnly":true},"deleted":{"type":"boolean","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}},"ImageRef":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"isMain":{"type":"boolean"},"url":{"type":"string","format":"uri","description":"The image, on the instance host."},"thumbUrl":{"type":["string","null"],"format":"uri","description":"A thumbnail (512 px, aspect ratio kept), when Telaris has one."}}},"ProductUpsert":{"allOf":[{"$ref":"#/components/schemas/ProductBase"},{"type":"object","required":["name"],"properties":{"id":{"$ref":"#/components/schemas/OID"},"components":{"type":"array","items":{"$ref":"#/components/schemas/ComponentWrite"}}},"description":"On create also `productClass`, `category` and `productNo` or `sku`."}]},"ProductUpdate":{"allOf":[{"$ref":"#/components/schemas/ProductBase"}],"description":"Partial. `type` changes only without structure and open orders."},"ProductResponse":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"product":{"$ref":"#/components/schemas/Product"},"created":{"type":"boolean"}}}]},"Component":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"position":{"type":["string","null"]},"product":{"$ref":"#/components/schemas/ProductRef"},"quantity":{"type":"number"},"unit":{"type":["string","null"]},"customPrice":{"type":["number","null"]},"minDiscountPct":{"type":"number"},"description":{"type":["string","null"]},"isDefault":{"type":"boolean"},"components":{"type":"array","items":{"$ref":"#/components/schemas/Component"}}}},"ComponentWrite":{"type":"object","required":["product","quantity"],"properties":{"id":{"$ref":"#/components/schemas/OID"},"position":{"type":"string"},"product":{"description":"Reference to an existing product (`id`, `productNo`, `sku`) or an inline product to create (with `name`, `productClass`, `category`). A body with `name` and `productClass` is an inline create; otherwise it is a reference.","anyOf":[{"$ref":"#/components/schemas/ProductRef"},{"$ref":"#/components/schemas/ProductUpsert"}]},"quantity":{"type":"number"},"customPrice":{"type":["number","null"]},"minDiscountPct":{"type":"number"},"description":{"type":"string"},"isDefault":{"type":"boolean"},"components":{"type":"array","items":{"$ref":"#/components/schemas/ComponentWrite"},"description":"Only for inline-created products"}}},"ComponentUpdate":{"type":"object","properties":{"position":{"type":"string"},"quantity":{"type":"number"},"customPrice":{"type":["number","null"]},"minDiscountPct":{"type":"number"},"description":{"type":["string","null"]},"isDefault":{"type":"boolean"}}},"StructureResponse":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"structure":{"type":"object","properties":{"product":{"$ref":"#/components/schemas/ProductRef"},"components":{"type":"array","items":{"$ref":"#/components/schemas/Component"}},"depth":{"type":"integer"},"updatedAt":{"type":"string","format":"date-time"}}}}}]},"ProductEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"product":{"$ref":"#/components/schemas/ProductRef"},"status":{"$ref":"#/components/schemas/PublishStatus","description":"Publish state; only on deliveries to Webshop API subscriptions."}}}]},"ProductStock":{"type":"object","readOnly":true,"description":"The seven stock figures on the product card, summed over all warehouses. Per warehouse and location: `GET /warehouse/stock/list`.","properties":{"available":{"type":"number","description":"Available Stock – free to sell."},"reserved":{"type":"number","description":"Reserved Stock – reserved for a purpose or customer."},"physical":{"type":"number","description":"Physical Stock – physically in the warehouses."},"allocatedInOrders":{"type":"number","description":"Allocated in Orders – stock allocated to order rows."},"unallocatedInOrders":{"type":"number","description":"Unallocated in Orders – ordered by customers but not yet covered by stock."},"inboundToWarehouse":{"type":"number","description":"Inbound to Warehouse – on purchase orders for stock."},"inboundToOrders":{"type":"number","description":"Inbound to Orders – on purchase orders bound to customer orders."},"updatedAt":{"type":"string","format":"date-time"}}},"Manufacturer":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":"string"},"externalRef":{"type":["string","null"]},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}},"CampaignPrice":{"type":"object","properties":{"price":{"type":"number"},"validFrom":{"type":["string","null"],"format":"date"},"validTo":{"type":["string","null"],"format":"date"}}},"ProductPrices":{"type":"object","properties":{"price":{"type":["number","null"],"description":"The price after the product's own rebates, as Telaris uses it."},"listPrice":{"type":["number","null"],"readOnly":true,"description":"The stored price, without the product's own rebates."},"campaignPrice":{"oneOf":[{"$ref":"#/components/schemas/CampaignPrice"},{"type":"null"}]},"costPrice":{"type":["number","null"]},"lastPurchasePrice":{"type":["number","null"],"readOnly":true},"maxDiscountPct":{"type":["number","null"]},"currencyPrices":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"string"},"price":{"type":["number","null"]}}}}}},"CustomerPrice":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"product":{"$ref":"#/components/schemas/ProductRef"},"customer":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"customerNo":{"type":"integer"},"name":{"type":"string"}}},"price":{"type":"number"},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}},"DiscountRule":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"applies":{"type":"object","description":"Any of product, category, manufacturer may be set; the row applies when all set ones match.","properties":{"product":{"oneOf":[{"$ref":"#/components/schemas/ProductRef"},{"type":"null"}]},"category":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"manufacturer":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]}}},"for":{"type":"object","description":"Any of customer, customerDiscountGroups, orderDiscountGroup may be set; the row applies when all set ones match (for the groups, when the customer's group is one of them).","properties":{"customer":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"customerDiscountGroups":{"type":"array","items":{"$ref":"#/components/schemas/Ref"},"description":"The customer discount groups the row applies to; empty when it applies to every group."},"orderDiscountGroup":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]}}},"discountPct":{"type":"number"},"extraDiscountPct":{"type":"number"},"minQuantity":{"type":"number"},"validFrom":{"type":["string","null"],"format":"date"},"validTo":{"type":["string","null"],"format":"date"},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}},"ResolvedPrice":{"type":"object","properties":{"product":{"$ref":"#/components/schemas/ProductRef"},"customer":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"quantity":{"type":"number"},"listPrice":{"type":"number"},"campaignPrice":{"type":["number","null"]},"customerPrice":{"type":["number","null"]},"discountPct":{"type":"number"},"extraDiscountPct":{"type":"number"},"netPrice":{"type":"number"},"netPriceIncVat":{"type":"number"},"vatPct":{"type":"number"},"currency":{"type":"string"},"source":{"type":"string","enum":["customerPrice","matrix","campaign","list"]}}},"FileKind":{"type":"string","enum":["image","document"]},"FileVisibility":{"type":"string","enum":["internal","public"]},"ApprovalState":{"type":"string","enum":["approved","declined","hold"],"description":"Telaris' approval state; null when the file has none."},"File":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"product":{"$ref":"#/components/schemas/ProductRef"},"kind":{"$ref":"#/components/schemas/FileKind"},"filename":{"type":"string"},"contentType":{"type":"string"},"size":{"type":"integer"},"documentType":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"revision":{"type":"integer"},"revisionLabel":{"type":["string","null"]},"approvalState":{"oneOf":[{"$ref":"#/components/schemas/ApprovalState"},{"type":"null"}]},"visibility":{"$ref":"#/components/schemas/FileVisibility"},"isMain":{"type":"boolean"},"sortKey":{"type":"integer"},"url":{"type":"string","format":"uri"},"updatedAt":{"type":"string","format":"date-time"}}},"FileEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"file":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"kind":{"$ref":"#/components/schemas/FileKind"}}},"product":{"$ref":"#/components/schemas/ProductRef"}}}]},"CustomerType":{"type":"string","enum":["company","consumer"]},"CustomerBase":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/CustomerType"},"name":{"type":["string","null"],"description":"Company name (type company)."},"orgNo":{"type":["string","null"],"description":"Digits in responses; normalised on input."},"firstname":{"type":["string","null"]},"lastname":{"type":["string","null"]},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"mobile":{"type":["string","null"]},"invoiceEmail":{"type":["string","null"]},"mainAddress":{"$ref":"#/components/schemas/Address"},"invoiceAddress":{"oneOf":[{"$ref":"#/components/schemas/Address"},{"type":"null"}]},"deliveryAddress":{"oneOf":[{"$ref":"#/components/schemas/Address"},{"type":"null"}]},"paymentDays":{"type":["integer","null"],"description":"Available Q4 2026"},"discountGroup":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"description":"Available Q4 2026"},"keyAccount":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"description":"Available Q4 2026"},"labels":{"type":"array","items":{"type":"string"},"description":"Labels (*etiketter*) on the object. Available Q4 2026 – write replaces the labels owned by the key's integration."},"isEnabled":{"type":"boolean"}}},"Customer":{"allOf":[{"$ref":"#/components/schemas/CustomerBase"},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"externalRef":{"type":["string","null"],"description":"The calling key's own customer id; null when the key has set none."},"customerNo":{"type":"integer"},"creditworthy":{"type":"boolean","readOnly":true},"deleted":{"type":"boolean","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"CustomerUpsert":{"allOf":[{"$ref":"#/components/schemas/CustomerBase"},{"type":"object","required":["externalRef","type"],"properties":{"id":{"$ref":"#/components/schemas/OID"},"externalRef":{"type":"string","description":"The consumer's own customer id; idempotency key."},"customerNo":{"type":"integer"}},"description":"Required: `externalRef`, `type`, `name` (company) or `firstname` + `lastname` (consumer),\nand at least one of `email`/`orgNo`. Matching `id` → `customerNo` → `externalRef`.\n"}]},"CustomerUpdate":{"allOf":[{"$ref":"#/components/schemas/CustomerBase"},{"type":"object","properties":{"externalRef":{"type":"string","description":"The consumer's own customer id."}}}],"description":"Partial. `type` cannot be changed."},"CustomerResponse":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"customer":{"$ref":"#/components/schemas/Customer"},"created":{"type":"boolean","description":"On upsert – `true` when the call created the customer."}}}]},"ContactBase":{"type":"object","properties":{"firstname":{"type":["string","null"]},"lastname":{"type":["string","null"]},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"mobile":{"type":["string","null"]},"jobTitle":{"type":["string","null"]},"department":{"type":["string","null"]},"comment":{"type":["string","null"]},"isDefault":{"type":"boolean"},"isEnabled":{"type":"boolean"}}},"Contact":{"allOf":[{"$ref":"#/components/schemas/ContactBase"},{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"customer":{"oneOf":[{"$ref":"#/components/schemas/CustomerRef"},{"type":"null"}],"description":"Null for a contact without a customer."},"externalRef":{"type":["string","null"],"description":"The calling key's own contact id; null when the key has set none."},"name":{"type":"string","readOnly":true},"deleted":{"type":"boolean","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"ContactUpsert":{"allOf":[{"$ref":"#/components/schemas/ContactBase"},{"type":"object","required":["customer","externalRef"],"properties":{"id":{"$ref":"#/components/schemas/OID"},"customer":{"$ref":"#/components/schemas/CustomerRef"},"externalRef":{"type":"string","description":"The consumer's own contact id; idempotency key."}},"description":"Required `customer` (`id` or `customerNo`), `externalRef`, a name, and `email` or `mobile`. Matching `id` → `externalRef` → `customer` + `email`."}]},"ContactUpdate":{"allOf":[{"$ref":"#/components/schemas/ContactBase"},{"type":"object","properties":{"externalRef":{"type":"string","description":"The consumer's own contact id."}}}],"description":"Partial. `customer` cannot be changed."},"ContactResponse":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"contact":{"$ref":"#/components/schemas/Contact"},"created":{"type":"boolean"}}}]},"CustomerEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"customer":{"$ref":"#/components/schemas/CustomerRef"}}}]},"ContactEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"contact":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"customer":{"$ref":"#/components/schemas/CustomerRef"}}}}}]},"Totals":{"type":"object","properties":{"netTotal":{"type":"number"},"vatTotal":{"type":"number"},"grossTotal":{"type":"number"}}},"BaseStatus":{"type":"string","enum":["new","imported","open","offer","approved","approval","urgent","servicetask","invoicing","partlyinvoiced","invoiced","closed","cancelled","complaint","claim","recurring","basket","web","template","cashregister","custom"]},"OrderStatus":{"type":"object","description":"One status object, identical in responses, request bodies and webhooks.","properties":{"id":{"oneOf":[{"$ref":"#/components/schemas/OID"},{"type":"null"}],"description":"Custom status on the instance; null when the order has only a base status."},"code":{"type":["string","null"],"description":"Code of the custom status."},"name":{"type":["string","null"],"readOnly":true},"base":{"$ref":"#/components/schemas/BaseStatus"}}},"OrderStatusInput":{"type":"object","description":"Exactly one of `id`, `code`, `base`. On create only `open`, `approved`, `invoicing` are accepted as `base` (`offer` from Q4 2026).","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"base":{"$ref":"#/components/schemas/BaseStatus"}},"minProperties":1,"maxProperties":1},"InvoiceSummary":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"invoiceNo":{"type":"integer"},"invoicedAt":{"type":"string","format":"date"},"dueDate":{"type":"string","format":"date"},"paidAt":{"type":["string","null"],"format":"date"},"creditedAt":{"type":["string","null"],"format":"date"}}},"OrderHeader":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"orderNo":{"type":"integer"},"sourceRef":{"type":["string","null"]},"source":{"type":["string","null"],"description":"Integration source code (from the key)."},"name":{"type":["string","null"]},"status":{"$ref":"#/components/schemas/OrderStatus"},"deleted":{"type":"boolean"},"customer":{"oneOf":[{"$ref":"#/components/schemas/CustomerRef"},{"type":"null"}],"description":"Null for an order without a customer."},"invoiceCustomer":{"oneOf":[{"$ref":"#/components/schemas/CustomerRef"},{"type":"null"}]},"contact":{"oneOf":[{"$ref":"#/components/schemas/ContactRef"},{"type":"null"}]},"orderDate":{"type":"string","format":"date"},"deliveryDate":{"type":["string","null"],"format":"date"},"ourReference":{"type":["string","null"],"description":"Name of the user set as our reference on the order."},"customerReference":{"type":["string","null"]},"invoiceComment":{"type":["string","null"]},"description":{"type":["string","null"],"description":"Available Q4 2026"},"currency":{"type":"string","examples":["NOK"]},"paymentDays":{"type":["integer","null"],"description":"Available Q4 2026"},"warehouse":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"description":"Available Q4 2026"},"project":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The project (an object). Available Q4 2026."},"department":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"description":"Available Q4 2026"},"responsible":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"description":"Available Q4 2026"},"deliveryAddress":{"oneOf":[{"$ref":"#/components/schemas/Address"},{"type":"null"}]},"sendMethod":{"type":["string","null"],"description":"Send method. Available Q4 2026."},"freightTerm":{"type":["string","null"],"description":"Freight term (e.g. `DAP`). Available Q4 2026."},"netTotal":{"type":"number"},"vatTotal":{"type":"number"},"grossTotal":{"type":"number"},"invoice":{"oneOf":[{"$ref":"#/components/schemas/InvoiceSummary"},{"type":"null"}],"description":"Latest invoice; null until invoiced."},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"Order":{"allOf":[{"$ref":"#/components/schemas/OrderHeader"},{"type":"object","properties":{"rows":{"type":"array","items":{"$ref":"#/components/schemas/OrderRow"}},"objects":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/OrderObject"},{"$ref":"#/components/schemas/Object"}]},"description":"Objects linked to the order on the order card: `OrderObject` (without custom fields), or the full `Object` as `GET /object/{id}` with `includeObjectFields=true`. Not the `project` or a row's `object`. Objects outside the key's PCS project are left out."},"fulfilment":{"$ref":"#/components/schemas/OrderFulfilment"}}}]},"OrderResponse":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"order":{"$ref":"#/components/schemas/Order"}}}]},"OrderCreate":{"type":"object","required":["sourceRef","customer","rows"],"properties":{"sourceRef":{"type":"string","description":"The consumer's order id; idempotency key."},"customer":{"$ref":"#/components/schemas/CustomerRef"},"invoiceCustomer":{"$ref":"#/components/schemas/CustomerRef"},"contact":{"$ref":"#/components/schemas/ContactRef"},"orderDate":{"type":"string","format":"date","description":"Default today."},"deliveryDate":{"type":"string","format":"date","description":"Default orderDate."},"ourReference":{"type":"string"},"customerReference":{"type":"string"},"invoiceComment":{"type":"string"},"description":{"type":"string","description":"Available Q4 2026"},"currency":{"type":"string","description":"Default the instance currency."},"status":{"$ref":"#/components/schemas/OrderStatusInput"},"deliveryAddress":{"$ref":"#/components/schemas/Address"},"paymentDays":{"type":"integer","description":"Available Q4 2026"},"warehouse":{"$ref":"#/components/schemas/Ref","description":"Available Q4 2026"},"project":{"$ref":"#/components/schemas/ObjectRef","description":"The project (object). Available Q4 2026."},"department":{"$ref":"#/components/schemas/Ref","description":"Available Q4 2026"},"responsible":{"$ref":"#/components/schemas/Ref","description":"Available Q4 2026"},"rows":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/OrderRowCreate"}}}},"OrderUpdate":{"type":"object","description":"Partial header update. `customer` and `currency` cannot be changed.","properties":{"deliveryDate":{"type":["string","null"],"format":"date"},"ourReference":{"type":["string","null"]},"customerReference":{"type":["string","null"]},"invoiceComment":{"type":["string","null"]},"description":{"type":["string","null"]},"contact":{"oneOf":[{"$ref":"#/components/schemas/ContactRef"},{"type":"null"}]},"invoiceCustomer":{"oneOf":[{"$ref":"#/components/schemas/CustomerRef"},{"type":"null"}]},"deliveryAddress":{"oneOf":[{"$ref":"#/components/schemas/Address"},{"type":"null"}]},"sendMethod":{"type":["string","null"]},"freightTerm":{"type":["string","null"]},"paymentDays":{"type":["integer","null"]},"warehouse":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"project":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The project (an object)."},"department":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"responsible":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/OrderStatusInput"}}},"OrderRowKind":{"type":"string","enum":["product","text","section"]},"OrderRowCreate":{"type":"object","description":"A product row identifies its product by `productNo`, `sku` or `product.id` (lookup in that order). A `text` row carries only `description`.","properties":{"kind":{"$ref":"#/components/schemas/OrderRowKind","default":"product"},"productNo":{"type":"integer"},"sku":{"type":"string"},"product":{"$ref":"#/components/schemas/ProductRef"},"object":{"$ref":"#/components/schemas/ObjectRef","description":"Available Q4 2026."},"quantity":{"type":"number"},"price":{"type":"number","description":"Unit price excl. VAT; product price for the customer when omitted."},"discountPct":{"type":"number"},"description":{"type":"string","description":"Row text; product name when omitted."},"deliveryDate":{"type":"string","format":"date"},"reference":{"type":"string"}}},"OrderRowUpdate":{"type":"object","description":"Partial. The product of a row cannot be changed.","properties":{"quantity":{"type":"number"},"price":{"type":"number"},"discountPct":{"type":"number"},"description":{"type":"string"},"deliveryDate":{"type":["string","null"],"format":"date"},"reference":{"type":["string","null"]},"object":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The object the row belongs to, e.g. a system or area in a project. Available Q4 2026."}}},"OrderObject":{"type":"object","description":"An object linked to an order (`Order.objects`): the `Object` (10.1) without its custom `fields`, and with `objectType` as in `ObjectRef` (no field definitions). `includeObjectFields=true` returns the full `Object` instead.","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":"string","description":"Object number/name."},"description":{"type":["string","null"]},"comment":{"type":["string","null"],"description":"Multi-line comment."},"objectType":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"isProject":{"type":"boolean"}}},{"type":"null"}],"description":"Null when the object's type is missing."},"status":{"type":"object","properties":{"code":{"type":["string","null"]},"name":{"type":["string","null"]},"reason":{"type":["string","null"]}}},"parent":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]},"project":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The project the object belongs to."},"customer":{"oneOf":[{"$ref":"#/components/schemas/CustomerRef"},{"type":"null"}]},"contact":{"oneOf":[{"$ref":"#/components/schemas/ContactRef"},{"type":"null"}]},"product":{"oneOf":[{"$ref":"#/components/schemas/ProductRef"},{"type":"null"}]},"responsible":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"department":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"location":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"externalRef":{"type":["string","null"]},"clientTag":{"type":["string","null"],"description":"The customer's own tag/number for the object."},"subsystem":{"type":["string","null"]},"subSupplierTag":{"type":["string","null"]},"documentRevision":{"$ref":"#/components/schemas/ObjectDocumentRevision"},"installation":{"$ref":"#/components/schemas/ObjectInstallation"},"periodStart":{"type":["string","null"],"format":"date"},"periodEnd":{"type":["string","null"],"format":"date"},"completedPct":{"type":["number","null"]},"isCompleted":{"type":"boolean"},"updatedAt":{"type":"string","format":"date-time"}}},"OrderRow":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer"},"parentRow":{"oneOf":[{"$ref":"#/components/schemas/OID"},{"type":"null"}]},"level":{"type":"integer","description":"0 = top-level (writable); ≥ 1 = child of an expanded structure (read-only)."},"kind":{"$ref":"#/components/schemas/OrderRowKind"},"product":{"oneOf":[{"$ref":"#/components/schemas/ProductRef"},{"type":"null"}]},"object":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The object the row belongs to, e.g. a system or area in a project. Available Q4 2026."},"description":{"type":["string","null"],"description":"Row text; same field on read and write."},"quantity":{"type":"number"},"unit":{"type":["string","null"]},"price":{"type":"number"},"discountPct":{"type":"number"},"vatPct":{"type":"number","readOnly":true},"netAmount":{"type":"number"},"vatAmount":{"type":"number"},"grossAmount":{"type":"number"},"deliveryDate":{"type":["string","null"],"format":"date"},"reference":{"type":["string","null"]},"quantityDelivered":{"type":"number","description":"Available Q4 2026"},"quantityInvoiced":{"type":"number","description":"Available Q4 2026"},"isLocked":{"type":"boolean","description":"The row is invoiced (a row is invoiced in full). Available Q4 2026."},"isOnPickingList":{"type":"boolean","description":"The row is on a picking list; `DELETE` gives 409 `ORDER_ROW_PICKED`."},"updatedAt":{"type":"string","format":"date-time"}}},"OrderEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"status":{"$ref":"#/components/schemas/OrderStatus"},"order":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"orderNo":{"type":"integer"},"source":{"type":["string","null"]},"sourceRef":{"type":["string","null"]},"updatedAt":{"type":"string","format":"date-time"}}}}}],"examples":[{"event":"order.status_changed","eventId":"9f1c2b7e-0000-4000-8000-000000000000","occurredAt":"2026-10-01T06:00:12+02:00","status":{"id":"oid:…orderstatus…","code":"FAKTURERT","name":"Fakturert","base":"invoiced"},"order":{"id":"oid:…order…","orderNo":311911,"source":"crm","sourceRef":"crm-order-2026-001234","updatedAt":"2026-10-01T06:00:12+02:00"}}]},"OrderCostLine":{"type":"object","properties":{"kind":{"type":"string","enum":["material","labour","purchase","other"],"description":"`material` – stock issued (from lots); `labour` – hours × standard rate; `purchase` – purchase order rows bought for the order and not stocked; `other` – other cost postings."},"orderRow":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer"},"order":{"$ref":"#/components/schemas/OrderRef"}}},{"type":"null"}],"description":"The sales/work order row, with its order."},"object":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]},"date":{"type":"string","format":"date"},"description":{"type":["string","null"]},"product":{"oneOf":[{"$ref":"#/components/schemas/ProductRef"},{"type":"null"}]},"employee":{"oneOf":[{"$ref":"#/components/schemas/EmployeeRef"},{"type":"null"}]},"quantity":{"type":"number"},"unitCost":{"type":"number"},"amount":{"type":"number","description":"Cost in local currency."},"account":{"type":["string","null"],"description":"Cost account where the cost is posted."},"isPosted":{"type":"boolean","description":"The cost is posted to the ledger (cost-of-goods postings on)."},"source":{"type":"object","properties":{"type":{"type":"string","enum":["stockLot","hour","purchaseOrderRow","voucher"]},"id":{"$ref":"#/components/schemas/OID"}}}}},"OrderCost":{"type":"object","description":"Cost and revenue of one order, line by line.","properties":{"order":{"$ref":"#/components/schemas/OrderRef"},"customer":{"$ref":"#/components/schemas/CustomerRef"},"object":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]},"currency":{"type":"string"},"revenue":{"type":"number","description":"Net revenue of the order (invoiced, else ordered), local currency."},"cost":{"type":"object","properties":{"material":{"type":"number"},"labour":{"type":"number"},"purchase":{"type":"number"},"other":{"type":"number"},"total":{"type":"number"}}},"margin":{"type":"number"},"marginPct":{"type":["number","null"]},"isComplete":{"type":"boolean","description":"All rows invoiced and no open cost (stock to issue, unapproved hours)."},"lines":{"type":"array","items":{"$ref":"#/components/schemas/OrderCostLine"}},"updatedAt":{"type":"string","format":"date-time"}}},"OrderFulfilment":{"type":"object","readOnly":true,"description":"Fulfilment view; returned to keys holding `warehouse.pickinglist.read` or `webshop.read`.","properties":{"pickingLists":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"pickingListNo":{"type":"integer"},"status":{"type":"string"},"externalRef":{"type":["string","null"]}}}},"rows":{"type":"array","items":{"type":"object","properties":{"orderRow":{"$ref":"#/components/schemas/Ref"},"quantity":{"type":"number"},"quantityPicked":{"type":"number"},"quantityDelivered":{"type":"number"},"quantityBackordered":{"type":"number"}}}},"shipments":{"type":"array","items":{"$ref":"#/components/schemas/Ref"}},"deliveryStatus":{"type":"string","enum":["notstarted","picking","picked","partlydelivered","delivered"]}}},"ObjectType":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"name":{"type":"string"},"isProject":{"type":"boolean","description":"Objects of this type are projects."},"allowedParents":{"type":"array","items":{"$ref":"#/components/schemas/Ref"}},"allowedChildren":{"type":"array","items":{"$ref":"#/components/schemas/Ref"}},"fields":{"type":"array","items":{"$ref":"#/components/schemas/ObjectTypeField"},"description":"Custom fields of the type (*tag type fields*)."}}},"Object":{"type":"object","description":"A Telaris object: a project, system, area, checklist or any other object of an object type. Telaris calls objects *tags* in parts of its user interface and in the closed v1 API (`tag.create`, `tag.update`, `tag.delete`, `tag.set.fields`); in this API a *tag* is always an **object**.","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":"string","description":"Object number/name."},"description":{"type":["string","null"]},"comment":{"type":["string","null"],"description":"Multi-line comment."},"objectType":{"oneOf":[{"$ref":"#/components/schemas/ObjectType"},{"type":"null"}],"description":"Null when the object's type is missing."},"status":{"type":"object","properties":{"code":{"type":["string","null"]},"name":{"type":["string","null"]},"reason":{"type":["string","null"]}}},"parent":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]},"project":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The project the object belongs to."},"customer":{"oneOf":[{"$ref":"#/components/schemas/CustomerRef"},{"type":"null"}]},"contact":{"oneOf":[{"$ref":"#/components/schemas/ContactRef"},{"type":"null"}]},"product":{"oneOf":[{"$ref":"#/components/schemas/ProductRef"},{"type":"null"}]},"responsible":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"department":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"location":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"externalRef":{"type":["string","null"]},"clientTag":{"type":["string","null"],"description":"The customer's own tag/number for the object."},"subsystem":{"type":["string","null"]},"subSupplierTag":{"type":["string","null"]},"documentRevision":{"$ref":"#/components/schemas/ObjectDocumentRevision"},"installation":{"$ref":"#/components/schemas/ObjectInstallation"},"periodStart":{"type":["string","null"],"format":"date"},"periodEnd":{"type":["string","null"],"format":"date"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/ObjectFieldValue"}},"completedPct":{"type":["number","null"]},"isCompleted":{"type":"boolean"},"updatedAt":{"type":"string","format":"date-time"}}},"ObjectEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"object":{"$ref":"#/components/schemas/ObjectRef"}}}]},"ObjectTypeField":{"type":"object","description":"A custom field defined by an object type (*tag type field*).","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","enum":["text","number","date","boolean","list","reference"]},"options":{"type":"array","items":{"type":"string"},"description":"Allowed values for `list`."}}},"ObjectFieldValue":{"type":"object","description":"Value of a custom field. On input, the field by `code` or `id`.","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"name":{"type":"string","readOnly":true},"value":{"type":["string","number","boolean","array","null"],"items":{"type":"string"},"description":"A scalar, or a list of strings for a field that holds several values (`list` fields with multiple choice)."}}},"ObjectDocumentRevision":{"type":"object","properties":{"revision":{"type":["string","null"],"examples":["01A"]},"description":{"type":["string","null"]},"suffix":{"type":["string","null"],"examples":["IFC"]}}},"ObjectInstallation":{"type":"object","description":"Where the object is installed (address, GPS position, date).","properties":{"address":{"type":["string","null"]},"zip":{"type":["string","null"]},"city":{"type":["string","null"]},"gps":{"type":["string","null"],"description":"`lat,long`","examples":["58.1467,7.9956"]},"date":{"type":["string","null"],"format":"date"}}},"ObjectWrite":{"type":"object","description":"Fields for creating or updating an object. Telaris calls objects *tags* in parts of its user interface and in the closed v1 API (`tag.create`, `tag.update`, `tag.delete`, `tag.set.fields`); in this API a *tag* is always an **object**.","properties":{"id":{"$ref":"#/components/schemas/OID","description":"Upsert only: the object to update."},"objectType":{"allOf":[{"$ref":"#/components/schemas/Ref"}],"description":"Object type by `id` or `code`. Required on create."},"name":{"type":"string","description":"Object number/name, unique within the project. Required on create."},"description":{"type":["string","null"]},"comment":{"type":["string","null"],"description":"Multi-line comment."},"status":{"type":"object","properties":{"code":{"type":"string"},"reason":{"type":["string","null"]}}},"parent":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]},"project":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]},"customer":{"oneOf":[{"$ref":"#/components/schemas/CustomerRef"},{"type":"null"}]},"contact":{"oneOf":[{"$ref":"#/components/schemas/ContactRef"},{"type":"null"}]},"product":{"oneOf":[{"$ref":"#/components/schemas/ProductRef"},{"type":"null"}]},"responsible":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"department":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"location":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"externalRef":{"type":["string","null"]},"clientTag":{"type":["string","null"],"description":"The customer's own tag/number for the object."},"subsystem":{"type":["string","null"]},"subSupplierTag":{"type":["string","null"]},"documentRevision":{"$ref":"#/components/schemas/ObjectDocumentRevision"},"installation":{"$ref":"#/components/schemas/ObjectInstallation"},"periodStart":{"type":["string","null"],"format":"date"},"periodEnd":{"type":["string","null"],"format":"date"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/ObjectFieldValue"},"description":"Custom fields of the object type; only the fields sent are changed."}}},"EmployeeRef":{"type":"object","description":"Reference to an employee. On input, `id` or `employeeNo`.","properties":{"id":{"$ref":"#/components/schemas/OID"},"employeeNo":{"type":"string","examples":["1042"]},"name":{"type":"string","readOnly":true}}},"HourType":{"type":"object","description":"A type of hours under an activity (overtime, travel, standby …) – *option* in the Telaris user interface.","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"name":{"type":"string"},"isDefault":{"type":"boolean","description":"The activity's default hour type."},"isActive":{"type":"boolean"},"validFrom":{"type":["string","null"],"format":"date","description":"Not in use yet: always null."},"validTo":{"type":["string","null"],"format":"date","description":"Not in use yet: always null."},"exportCodes":{"$ref":"#/components/schemas/ExportCodes"},"exportWithActivity":{"type":"boolean","description":"The hour type also exports the activity's export codes."}}},"Activity":{"type":"object","description":"What hours are registered on – *common task* in the Telaris user interface.","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"name":{"type":"string"},"isInvoiceable":{"type":"boolean","description":"Hours on the activity are invoiceable by default."},"isInternal":{"type":"boolean"},"isAbsence":{"type":"boolean","description":"Time off, vacation or sick leave."},"isActive":{"type":"boolean"},"parent":{"oneOf":[{"$ref":"#/components/schemas/ActivityRef"},{"type":"null"}],"description":"The parent activity. The list holds the whole tree, so it can be rebuilt."},"isClockable":{"type":"boolean","description":"Hours can be registered on the activity; parent activities can be clockable too."},"validFrom":{"type":["string","null"],"format":"date","description":"Not in use yet: always null."},"validTo":{"type":["string","null"],"format":"date","description":"Not in use yet: always null."},"hourTypes":{"type":"array","items":{"$ref":"#/components/schemas/HourType"}},"exportCodes":{"$ref":"#/components/schemas/ExportCodes"}}},"ActivityRef":{"type":"object","description":"Reference to an activity. On input, `id` or `code`.","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"name":{"type":"string","readOnly":true}}},"ExportCodes":{"type":"object","description":"Salary export codes (wage types): export code 1 and 2 for salaried and for hourly paid employees. Which apply to an hour entry depends on the employee's pay type.","properties":{"code1":{"type":["string","null"]},"code2":{"type":["string","null"]},"hourlyPaidCode1":{"type":["string","null"]},"hourlyPaidCode2":{"type":["string","null"]}}},"HourEntry":{"type":"object","description":"Hours registered by one employee on one day.","properties":{"id":{"$ref":"#/components/schemas/OID"},"employee":{"$ref":"#/components/schemas/EmployeeRef"},"date":{"type":"string","format":"date"},"startTime":{"type":["string","null"],"pattern":"^[0-2][0-9]:[0-5][0-9]$","description":"Local start time (`HH:MM`) for clocked hours; `null` for a day registration."},"hours":{"type":"number","examples":[7.5]},"activity":{"oneOf":[{"$ref":"#/components/schemas/ActivityRef"},{"type":"null"}],"description":"Null for an entry without an activity."},"hourType":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"description":"Hour type by `id` or `code`; `null` = the activity's default hours."},"object":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The object (project, system, area …) the hours are for."},"customer":{"oneOf":[{"$ref":"#/components/schemas/CustomerRef"},{"type":"null"}]},"orderRow":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer","readOnly":true},"order":{"$ref":"#/components/schemas/OrderRef"}}},{"type":"null"}],"description":"The order row the hours are registered against."},"description":{"type":["string","null"]},"invoiceText":{"type":["string","null"],"description":"Text on the invoice; `description` when empty."},"isInvoiceable":{"type":"boolean"},"sourceRef":{"type":["string","null"],"description":"The integration's own reference; idempotency key on create."},"signedAt":{"type":["string","null"],"format":"date-time","readOnly":true},"signedBy":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"readOnly":true},"approvedAt":{"type":["string","null"],"format":"date-time","readOnly":true},"approvedBy":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"readOnly":true},"invoice":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"readOnly":true},"isExported":{"type":"boolean","readOnly":true,"description":"Exported to payroll or accounting."},"isLocked":{"type":"boolean","readOnly":true,"description":"Signed, approved, invoiced or exported: no update or delete."},"exportCodes":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"The salary export codes (wage types) that apply to the entry for its employee, in export order."},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}},"HourCreate":{"allOf":[{"$ref":"#/components/schemas/HourEntry"},{"type":"object","required":["employee","date"],"properties":{"toDate":{"type":"string","format":"date","writeOnly":true,"description":"Register one entry per working day from `date` to `toDate` (absence, vacation)."}}}],"description":"`activity` is required unless `orderRow` is given. `hours` omitted → the employee's planned hours for the day from the work plan."},"HourUpdate":{"allOf":[{"$ref":"#/components/schemas/HourEntry"}],"description":"Partial update; `employee` cannot be changed."},"HourStatusChange":{"type":"object","required":["ids"],"properties":{"ids":{"type":"array","items":{"$ref":"#/components/schemas/OID"},"minItems":1,"maxItems":500},"revoke":{"type":"boolean","default":false,"description":"`true` withdraws the signature or approval."}}},"HourStatusResult":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"hours":{"type":"array","items":{"$ref":"#/components/schemas/HourEntry"}},"failed":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"error":{"$ref":"#/components/schemas/Error"}}}}}}]},"HourEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"hour":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"employee":{"$ref":"#/components/schemas/EmployeeRef"},"date":{"type":"string","format":"date"},"hours":{"type":"number"},"updatedAt":{"type":"string","format":"date-time"}}}}}],"examples":[{"event":"hour.approved","eventId":"3d7a1c55-0000-4000-8000-000000000000","occurredAt":"2026-11-06T15:02:10+01:00","hour":{"id":"oid:…hour…","employee":{"id":"oid:…employee…","employeeNo":"1042","name":"Ola Nordmann"},"date":"2026-11-04","hours":7.5,"updatedAt":"2026-11-06T15:02:10+01:00"}}]},"Employee":{"type":"object","description":"An employee for cost purposes. Personal data: the employee number is pseudonymised and the name left out unless the key is set for full employee data (requires a data processing agreement).","properties":{"id":{"$ref":"#/components/schemas/OID"},"employeeNo":{"type":"string","description":"Employee number, or a stable pseudonym (`emp-…`) for pseudonymised keys.","examples":["emp-7f3c9a"]},"name":{"type":["string","null"],"description":"Only for keys with full employee data."},"department":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"role":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"description":"Role/position."},"isActive":{"type":"boolean"},"startDate":{"type":["string","null"],"format":"date"},"endDate":{"type":["string","null"],"format":"date"},"isHourlyPaid":{"type":"boolean"},"costRate":{"type":"object","description":"Standard hour cost rate used for internal cost (not salary).","properties":{"amount":{"type":"number"},"currency":{"type":"string"}}},"isPseudonymised":{"type":"boolean"},"updatedAt":{"type":"string","format":"date-time"}}},"InvoiceStatus":{"type":"string","enum":["open","paid","partlypaid","credited","writtenoff"]},"ExportStatus":{"type":"string","enum":["pending","exported","failed","skipped"]},"VoucherType":{"type":"string","enum":["cashregister","prepayment","payment","stockvalue","costofgoods","correction","other"]},"PaymentType":{"type":"string","enum":["bank","card","cash","factoring","giftcard","creditnote","internal","writeoff","fee","other"]},"AccountingEntity":{"type":"object","description":"Customer, supplier, employee, department or product in the accounting view.","properties":{"id":{"$ref":"#/components/schemas/OID"},"entity":{"type":"string","enum":["customer","supplier","employee","department","product"]},"number":{"type":["string","null"],"description":"customerNo, supplierNo, employeeNo, department code or productNo"},"externalRef":{"type":["string","null"]},"externalNo":{"type":["string","null"]},"name":{"type":"string"},"orgNo":{"type":["string","null"]},"email":{"type":["string","null"]},"address":{"type":"object","properties":{"line1":{"type":["string","null"]},"line2":{"type":["string","null"]},"zip":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]}}},"invoiceAddress":{"type":"object","properties":{"line1":{"type":["string","null"]},"line2":{"type":["string","null"]},"zip":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]}}},"currency":{"type":["string","null"]},"paymentDays":{"type":["integer","null"]},"isActive":{"type":"boolean"},"department":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"salesAccount":{"type":["string","null"],"description":"Products only"},"vatPct":{"type":["number","null"],"description":"Products only"},"employment":{"type":"object","properties":{"from":{"type":["string","null"],"format":"date"},"to":{"type":["string","null"],"format":"date"}},"description":"Employees only"},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}},"InvoiceRow":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer"},"product":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"productNo":{"type":"integer"},"sku":{"type":"string"}}},{"type":"null"}]},"description":{"type":"string"},"quantity":{"type":"number"},"unitPrice":{"type":"number"},"discountPct":{"type":"number"},"netAmount":{"type":"number"},"vatPct":{"type":"number"},"vatAmount":{"type":"number"},"grossAmount":{"type":"number"},"account":{"type":["string","null"]},"department":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"project":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The project (an object)."}}},"ExportState":{"type":"object","properties":{"exportedAt":{"type":["string","null"],"format":"date-time"},"externalRef":{"type":["string","null"],"description":"The accounting system's voucher id, as Telaris' accounting integration recorded it (not a key's own externalRef)."},"voucherNo":{"type":["string","null"]},"message":{"type":["string","null"]}}},"ExportAck":{"type":"object","properties":{"externalRef":{"type":"string"},"voucherNo":{"type":"string"},"exportedAt":{"type":"string","format":"date-time"},"failed":{"type":"boolean","default":false},"message":{"type":"string"}}},"Invoice":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"invoiceNo":{"type":"integer"},"type":{"type":"string","enum":["invoice","creditnote"]},"creditNoteFor":{"oneOf":[{"$ref":"#/components/schemas/OID"},{"type":"null"}]},"creditedBy":{"oneOf":[{"$ref":"#/components/schemas/OID"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/InvoiceStatus"},"exportStatus":{"$ref":"#/components/schemas/ExportStatus"},"customer":{"$ref":"#/components/schemas/CustomerRef"},"order":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"orderNo":{"type":"integer"},"sourceRef":{"type":["string","null"]}}},{"type":"null"}]},"project":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The project (an object)."},"departments":{"type":"array","items":{"$ref":"#/components/schemas/Ref"},"description":"The invoice's departments (from its rows)."},"invoiceDate":{"type":"string","format":"date"},"dueDate":{"type":"string","format":"date"},"currency":{"type":"string"},"currencyRate":{"type":"number"},"netTotal":{"type":"number"},"vatTotal":{"type":"number"},"grossTotal":{"type":"number"},"rounding":{"type":"number"},"kid":{"type":["string","null"]},"ourReference":{"type":["string","null"]},"customerReference":{"type":["string","null"]},"paymentTerms":{"type":"object","properties":{"days":{"type":"integer"}}},"rows":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceRow"}},"pdf":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"size":{"type":"integer"}}},"export":{"$ref":"#/components/schemas/ExportState"},"paidAmount":{"type":"number"},"paidAt":{"type":["string","null"],"format":"date"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"description":"Invoice or credit note. One resource for all products: Commercial Operations reads it, Accounting also exports and acknowledges it."},"Voucher":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"voucherNo":{"type":"string"},"type":{"$ref":"#/components/schemas/VoucherType"},"exportStatus":{"$ref":"#/components/schemas/ExportStatus"},"date":{"type":"string","format":"date"},"period":{"type":"string"},"description":{"type":"string"},"currency":{"type":"string"},"department":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"project":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The project (an object)."},"postings":{"type":"array","items":{"type":"object","properties":{"lineNo":{"type":"integer"},"account":{"type":"string"},"debit":{"type":"number"},"credit":{"type":"number"},"vatCode":{"type":["string","null"]},"vatAmount":{"type":["number","null"]},"description":{"type":["string","null"]}}}},"export":{"$ref":"#/components/schemas/ExportState"},"updatedAt":{"type":"string","format":"date-time"}}},"PaymentCreate":{"type":"object","required":["invoice","amount","paidAt","type","externalRef"],"properties":{"invoice":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"invoiceNo":{"type":"integer"}}},"amount":{"type":"number"},"currency":{"type":"string"},"paidAt":{"type":"string","format":"date"},"type":{"$ref":"#/components/schemas/PaymentType"},"reference":{"type":["string","null"]},"externalRef":{"type":"string","description":"Idempotency key"},"bookedAt":{"type":["string","null"],"format":"date"},"account":{"type":["string","null"]}}},"Payment":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"invoice":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"invoiceNo":{"type":"integer"}}},{"type":"null"}]},"amount":{"type":"number"},"currency":{"type":"string"},"paidAt":{"type":["string","null"],"format":"date"},"bookedAt":{"type":["string","null"],"format":"date"},"type":{"$ref":"#/components/schemas/PaymentType"},"method":{"type":"string","description":"The Telaris payment method, e.g. `vipps`, `klarna`, `netsocr`."},"reference":{"type":["string","null"],"description":"The payer's reference (KID, bank reference)."},"voucherNo":{"type":["string","null"],"description":"Telaris' document number for the payment."},"account":{"type":["string","null"]},"externalRef":{"type":["string","null"]},"source":{"type":"string","description":"`telaris`, or the code of the integration that registered the payment."},"createdAt":{"type":"string","format":"date-time"}}},"ProjectPosting":{"type":"object","required":["project","date","kind","amount","externalRef"],"properties":{"id":{"$ref":"#/components/schemas/OID"},"project":{"$ref":"#/components/schemas/ObjectRef","description":"The project (object). On input `id` or `name` (the project number)."},"date":{"type":"string","format":"date"},"account":{"type":["string","null"]},"kind":{"type":"string","enum":["revenue","cost","goodscost","hours","other"]},"amount":{"type":"number"},"vatAmount":{"type":"number"},"currency":{"type":"string"},"description":{"type":["string","null"]},"voucherNo":{"type":["string","null"]},"externalRef":{"type":"string","description":"Idempotency key"}}},"Period":{"type":"object","properties":{"closedThrough":{"type":["string","null"],"format":"date","description":"Null when no period has been closed."},"updatedAt":{"type":["string","null"],"format":"date-time","readOnly":true,"description":"Null – Telaris does not record when the period was closed."}}},"PayrollBasis":{"type":"object","properties":{"employee":{"$ref":"#/components/schemas/AccountingEntity"},"period":{"type":"string"},"mode":{"type":"string","enum":["payroll","projecthours"]},"transactions":{"type":"array","items":{"type":"object","properties":{"salaryType":{"type":["string","null"]},"date":{"type":"string","format":"date"},"hours":{"type":"number"},"project":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The project (an object)."},"department":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"task":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"approvedBy":{"$ref":"#/components/schemas/Ref"},"approvedAt":{"type":"string","format":"date-time"},"externalRef":{"type":"string"}}}}}},"Mapping":{"type":"object","properties":{"salesAccounts":{"type":"array","items":{"type":"object","properties":{"productClass":{"$ref":"#/components/schemas/Ref"},"account":{"type":"string"},"vatCode":{"type":"string"}}}},"transactionAccounts":{"type":"array","items":{"type":"object","properties":{"transactionType":{"type":"string"},"account":{"type":"string"}}}},"paymentTypes":{"type":"array","items":{"type":"object","properties":{"telarisType":{"type":"string"},"account":{"type":"string"},"externalPaymentType":{"type":"string"}}}},"departments":{"type":"object","properties":{"enabled":{"type":"boolean"}}},"projects":{"type":"object","properties":{"enabled":{"type":"boolean"},"onRows":{"type":"boolean"}}},"vatCodes":{"type":"array","items":{"type":"object","properties":{"vatPct":{"type":"number"},"vatCode":{"type":"string"}}}}}},"VoucherEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"voucher":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"voucherNo":{"type":"string"},"type":{"$ref":"#/components/schemas/VoucherType"}}}}}]},"PaymentEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"payment":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"amount":{"type":"number"},"type":{"$ref":"#/components/schemas/PaymentType"}}},"invoice":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"invoiceNo":{"type":"integer"}}}}}]},"InvoiceEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"invoice":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"invoiceNo":{"type":"integer"},"type":{"type":"string","enum":["invoice","creditnote"]},"status":{"$ref":"#/components/schemas/InvoiceStatus"},"exportStatus":{"$ref":"#/components/schemas/ExportStatus"}}},"order":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"orderNo":{"type":"integer"},"sourceRef":{"type":["string","null"]}}}}}]},"ApprovalStatus":{"type":"string","enum":["pending","approved","rejected","withdrawn"]},"SupplierInvoice":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"externalRef":{"type":"string","description":"The accounting system's id; idempotency key"},"supplier":{"$ref":"#/components/schemas/Ref","description":"The supplier. On input `id`, `externalRef` or `name` + `orgNo`."},"invoiceNo":{"type":"string"},"invoiceDate":{"type":"string","format":"date"},"dueDate":{"type":"string","format":"date"},"currency":{"type":"string"},"netTotal":{"type":"number"},"vatTotal":{"type":"number"},"grossTotal":{"type":"number"},"kid":{"type":["string","null"]},"purchaseOrder":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"purchaseOrderNo":{"type":"integer"}}},{"type":"null"}]},"rows":{"type":"array","items":{"type":"object","properties":{"lineNo":{"type":"integer"},"description":{"type":"string"},"quantity":{"type":"number"},"unitPrice":{"type":"number"},"netAmount":{"type":"number"},"vatPct":{"type":"number"},"account":{"type":["string","null"]},"purchaseOrderRow":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"}}},{"type":"null"}]}}},"description":"Planned: Telaris holds supplier invoices at header level today (with the document and the link to purchase orders); `rows` is returned empty until supplier invoice lines are captured."},"pdf":{"type":"object","properties":{"url":{"type":"string","format":"uri"}}},"approval":{"type":"object","readOnly":true,"properties":{"status":{"$ref":"#/components/schemas/ApprovalStatus"},"approvers":{"type":"array","items":{"$ref":"#/components/schemas/Ref"}},"decidedAt":{"type":["string","null"],"format":"date-time"},"decidedBy":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"comment":{"type":["string","null"]}}},"match":{"type":"object","readOnly":true,"properties":{"purchaseOrder":{"type":"string","enum":["matched","deviation","none"]},"goodsReceipt":{"type":"string","enum":["matched","deviation","none"]},"priceDeviationPct":{"type":"number"},"quantityDeviation":{"type":"number"}}},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}},"SupplierInvoiceEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"supplierInvoice":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"externalRef":{"type":"string"},"approval":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/ApprovalStatus"},"comment":{"type":["string","null"]}}}}}}}]},"Supplier":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"supplierNo":{"type":"integer"},"externalRef":{"type":["string","null"]},"name":{"type":"string"},"orgNo":{"type":["string","null"]},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"address":{"$ref":"#/components/schemas/Address"},"invoiceAddress":{"$ref":"#/components/schemas/Address"},"currency":{"type":["string","null"]},"paymentDays":{"type":["integer","null"]},"isActive":{"type":"boolean"},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}},"SupplierUpsert":{"allOf":[{"$ref":"#/components/schemas/Supplier"},{"type":"object","required":["name","externalRef"]}],"description":"Matching order `id` → `supplierNo` → `externalRef`. No match creates."},"StockEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"product":{"$ref":"#/components/schemas/ProductRef"},"warehouse":{"$ref":"#/components/schemas/Ref"},"available":{"type":"number"}}}]},"StockOperationType":{"type":"string","enum":["correction","move","receipt","pick","delivery"]},"Warehouse":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"name":{"type":"string"},"hasProducts":{"type":"boolean","description":"The warehouse holds products (stock)."},"hasObjects":{"type":"boolean","description":"The warehouse holds objects."},"isDefault":{"type":"boolean"},"address":{"$ref":"#/components/schemas/Address"},"defaultLocation":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}},"Location":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"warehouse":{"$ref":"#/components/schemas/Ref"},"name":{"type":"string"},"tier":{"type":["string","null"]},"isTemporary":{"type":"boolean"},"isSingleProduct":{"type":"boolean"},"isActive":{"type":"boolean"},"lastCountedAt":{"type":["string","null"],"format":"date"},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}},"StockRow":{"type":"object","properties":{"product":{"$ref":"#/components/schemas/ProductRef"},"warehouse":{"$ref":"#/components/schemas/Ref"},"location":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"quantity":{"type":"number"},"allocated":{"type":"number"},"available":{"type":"number"},"value":{"type":["number","null"]},"batchNo":{"type":["string","null"]},"serialNo":{"type":["string","null"]},"expiryDate":{"type":["string","null"],"format":"date"},"updatedAt":{"type":"string","format":"date-time"}}},"StockOperation":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"type":{"$ref":"#/components/schemas/StockOperationType"},"product":{"$ref":"#/components/schemas/ProductRef"},"warehouse":{"$ref":"#/components/schemas/Ref"},"location":{"$ref":"#/components/schemas/Ref"},"toLocation":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"quantity":{"type":"number"},"batchNo":{"type":["string","null"]},"serialNo":{"type":["string","null"]},"expiryDate":{"type":["string","null"],"format":"date"},"reason":{"type":["string","null"]},"description":{"type":["string","null"]},"reference":{"type":["string","null"]},"source":{"type":["string","null"]},"performedBy":{"$ref":"#/components/schemas/Ref"},"performedAt":{"type":"string","format":"date-time"},"unitCost":{"type":["number","null"],"description":"Unit cost of the stock moved (the lot's cost; average cost for count increases). Only for keys with `warehouse.lot.read`, else `null`."},"value":{"type":["number","null"],"description":"Value of the operation (local currency). Only for keys with `warehouse.lot.read`, else `null`."},"lot":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"orderRow":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer"},"order":{"$ref":"#/components/schemas/OrderRef"}}},{"type":"null"}],"description":"The sales/work order row, with its order."}}},"StockCorrection":{"type":"object","required":["product","location","quantity","reason"],"properties":{"type":{"type":"string","const":"correction"},"product":{"$ref":"#/components/schemas/ProductRef"},"location":{"$ref":"#/components/schemas/Ref"},"quantity":{"type":"number","description":"The change; negative = down"},"reason":{"type":"string","enum":["count","damaged","lost","found","return","other"]},"description":{"type":"string"},"reference":{"type":"string"},"batchNo":{"type":["string","null"]},"serialNo":{"type":["string","null"]},"expiryDate":{"type":["string","null"],"format":"date"},"cost":{"type":["number","null"]}}},"StockMove":{"type":"object","required":["product","fromLocation","toLocation","quantity"],"properties":{"type":{"type":"string","const":"move"},"product":{"$ref":"#/components/schemas/ProductRef"},"fromLocation":{"$ref":"#/components/schemas/Ref"},"toLocation":{"$ref":"#/components/schemas/Ref"},"quantity":{"type":"number"},"batchNo":{"type":["string","null"]},"serialNo":{"type":["string","null"]},"reference":{"type":"string"},"allowAllocated":{"type":"boolean","default":false}}},"PickingListHeader":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"pickingListNo":{"type":"integer"},"status":{"type":"string","enum":["open","closed"]},"orders":{"type":"array","items":{"$ref":"#/components/schemas/OrderRef"}},"warehouse":{"$ref":"#/components/schemas/Ref"},"deliveryDate":{"type":["string","null"],"format":"date"},"deliveryAddress":{"$ref":"#/components/schemas/Address"},"freightTerm":{"type":["string","null"]},"sendMethod":{"type":["string","null"]},"assignedTo":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"assignedAt":{"type":["string","null"],"format":"date-time"},"acceptedAt":{"type":["string","null"],"format":"date-time"},"printedAt":{"type":["string","null"],"format":"date-time"},"externalRef":{"type":["string","null"]},"rowCount":{"type":"integer"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"PickingRow":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer"},"orderRow":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"order":{"$ref":"#/components/schemas/OrderRef"}}},"product":{"$ref":"#/components/schemas/ProductRef"},"unit":{"type":["string","null"]},"quantity":{"type":"number"},"quantityPicked":{"type":"number"},"location":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"batchNo":{"type":["string","null"]},"serialNo":{"type":["string","null"]},"isPicked":{"type":"boolean"},"pickedAt":{"type":["string","null"],"format":"date-time"},"pickedBy":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]}}},"PickingList":{"allOf":[{"$ref":"#/components/schemas/PickingListHeader"},{"type":"object","properties":{"rows":{"type":"array","items":{"$ref":"#/components/schemas/PickingRow"}},"shortPicked":{"type":"array","items":{"type":"object","properties":{"rowId":{"$ref":"#/components/schemas/OID"},"quantity":{"type":"number"},"quantityPicked":{"type":"number"},"handling":{"type":"string"}}}}}}]},"PickingListResponse":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"pickingList":{"$ref":"#/components/schemas/PickingList"}}}]},"Pick":{"type":"object","required":["quantityPicked"],"properties":{"quantityPicked":{"type":"number"},"location":{"$ref":"#/components/schemas/Ref"},"batchNo":{"type":["string","null"]},"serialNos":{"type":"array","items":{"type":"string"}},"pickedAt":{"type":"string","format":"date-time"}}},"Reservation":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"product":{"$ref":"#/components/schemas/ProductRef"},"warehouse":{"$ref":"#/components/schemas/Ref"},"quantity":{"type":"number"},"order":{"oneOf":[{"$ref":"#/components/schemas/OrderRef"},{"type":"null"}]},"purpose":{"type":["string","null"]},"status":{"type":"string"},"reservedAt":{"type":"string","format":"date-time","readOnly":true}}},"Counting":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":["string","null"]},"warehouse":{"$ref":"#/components/schemas/Ref"},"locations":{"type":"array","items":{"$ref":"#/components/schemas/Ref"}},"status":{"type":"string","enum":["open","completed"]},"counts":{"type":"array","items":{"type":"object","properties":{"product":{"$ref":"#/components/schemas/ProductRef"},"location":{"$ref":"#/components/schemas/Ref"},"quantity":{"type":"number"},"expected":{"type":"number"},"difference":{"type":"number"}}}},"corrections":{"type":"array","items":{"$ref":"#/components/schemas/StockOperation"}},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":["string","null"],"format":"date-time"}}},"PickingListEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"pickingList":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"pickingListNo":{"type":"integer"},"status":{"type":"string"},"externalRef":{"type":["string","null"]}}},"warehouse":{"$ref":"#/components/schemas/Ref"}}}]},"StockBatchCorrection":{"allOf":[{"$ref":"#/components/schemas/StockCorrection"},{"type":"object","required":["type"],"properties":{"type":{"const":"correction"}}}]},"StockBatchMove":{"allOf":[{"$ref":"#/components/schemas/StockMove"},{"type":"object","required":["type"],"properties":{"type":{"const":"move"}}}]},"StockLot":{"type":"object","description":"A stock lot: the quantity of a product received in one receipt (or added by a correction or return), with its actual cost. Stock is issued oldest lot first, at the lot's cost.","properties":{"id":{"$ref":"#/components/schemas/OID"},"product":{"$ref":"#/components/schemas/ProductRef"},"warehouse":{"$ref":"#/components/schemas/Ref"},"location":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"batchNo":{"type":["string","null"]},"serialNo":{"type":["string","null"]},"expiryDate":{"type":["string","null"],"format":"date"},"quantity":{"type":"number"},"source":{"type":"object","properties":{"type":{"type":"string","enum":["goodsReceipt","correction","return","count","move"]},"id":{"$ref":"#/components/schemas/OID"},"purchaseOrderRow":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"supplier":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]}}},"receivedAt":{"type":["string","null"],"format":"date-time"},"productCost":{"type":"number","description":"Purchase cost of the lot (local currency, after discount)."},"freightCost":{"type":"number","description":"Freight and other cost allocated to the lot."},"unitCost":{"type":"number","description":"(productCost + freightCost) / quantity."},"value":{"type":"number","description":"Total value of the lot (local currency)."},"issue":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["order","picking","correction","count","move"]},"issuedAt":{"type":"string","format":"date-time"},"issuedBy":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"orderRow":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer"},"order":{"$ref":"#/components/schemas/OrderRef"}}},{"type":"null"}],"description":"The sales/work order row, with its order."},"invoiceRow":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"object":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]}}},{"type":"null"}],"description":"Where and when the lot was issued; `null` while in stock."},"updatedAt":{"type":"string","format":"date-time"}}},"ReceiptState":{"type":"string","enum":["open","ordered","received","finalized","backordered"]},"PurchaseOrderState":{"type":"string","enum":["open","quoted","ordered","confirmeddirectdelivery","confirmedwarehousedelivery","backordered","onhold","closed","cancelled"]},"ShipmentStatus":{"type":"string","enum":["packed","shipped","delivered","returned"]},"GoodsReceipt":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"receiptNo":{"type":"integer"},"state":{"$ref":"#/components/schemas/ReceiptState"},"purchaseOrder":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"purchaseOrderNo":{"type":"integer"},"supplier":{"$ref":"#/components/schemas/Ref"}}},{"type":"null"}]},"warehouse":{"$ref":"#/components/schemas/Ref"},"reference":{"type":["string","null"]},"expectedDate":{"type":["string","null"],"format":"date"},"receivedAt":{"type":["string","null"],"format":"date-time"},"finalizedAt":{"type":["string","null"],"format":"date-time"},"externalRef":{"type":["string","null"]},"rows":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer"},"purchaseOrderRow":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"}}},{"type":"null"}]},"product":{"$ref":"#/components/schemas/ProductRef"},"quantityExpected":{"type":"number"},"quantityReceived":{"type":"number"},"location":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"batchNo":{"type":["string","null"]},"serialNos":{"type":"array","items":{"type":"string"}},"expiryDate":{"type":["string","null"],"format":"date"},"state":{"type":"string"},"unitCost":{"type":["number","null"],"description":"Landed unit cost of the received quantity (local currency)."},"value":{"type":["number","null"],"description":"Value received (local currency)."},"orderRow":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer"},"order":{"$ref":"#/components/schemas/OrderRef"}}},{"type":"null"}],"description":"The sales/work order row, with its order."},"lot":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"description":"The stock lot created by the receipt."}}}},"updatedAt":{"type":"string","format":"date-time"}}},"GoodsReceiptResponse":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"goodsReceipt":{"$ref":"#/components/schemas/GoodsReceipt"}}}]},"PurchaseOrder":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"purchaseOrderNo":{"type":"integer"},"state":{"$ref":"#/components/schemas/PurchaseOrderState"},"supplier":{"$ref":"#/components/schemas/Ref"},"warehouse":{"$ref":"#/components/schemas/Ref"},"orderDate":{"type":["string","null"],"format":"date"},"expectedDate":{"type":["string","null"],"format":"date"},"reference":{"type":["string","null"]},"supplierOrderNo":{"type":["string","null"]},"rows":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer"},"product":{"$ref":"#/components/schemas/ProductRef"},"quantity":{"type":"number"},"quantityReceived":{"type":"number"},"expectedDate":{"type":["string","null"],"format":"date"},"purchasePrice":{"type":["number","null"]},"currency":{"type":["string","null"]},"discountPct":{"type":["number","null"]},"freightCost":{"type":["number","null"],"description":"Freight allocated to the row (local currency)."},"otherCost":{"type":["number","null"],"description":"Other cost allocated to the row – customs, fees (local currency)."},"stockValue":{"type":["number","null"],"description":"Landed value of the row: purchase price after discount plus freight and other cost (local currency)."},"orderRow":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer"},"order":{"$ref":"#/components/schemas/OrderRef"}}},{"type":"null"}],"description":"The sales/work order row, with its order."},"object":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The object the row was bought for – for example the boat."}}}},"updatedAt":{"type":"string","format":"date-time","readOnly":true},"costs":{"type":"array","items":{"$ref":"#/components/schemas/PurchaseOrderCost"},"description":"Freight, customs, fees and other costs on the header."}}},"Shipment":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"shipmentNo":{"type":"integer"},"order":{"$ref":"#/components/schemas/OrderRef"},"pickingList":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"carrier":{"type":["string","null"]},"service":{"type":["string","null"]},"trackingRef":{"type":["string","null"]},"trackingUrl":{"type":["string","null"]},"packages":{"type":"array","items":{"type":"object","properties":{"no":{"type":"integer"},"weight":{"type":["number","null"]},"dimensions":{"type":["string","null"]},"trackingRef":{"type":["string","null"]}}}},"shippedAt":{"type":["string","null"],"format":"date-time"},"deliveredAt":{"type":["string","null"],"format":"date-time"},"status":{"$ref":"#/components/schemas/ShipmentStatus"},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}},"GoodsReceiptEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"goodsReceipt":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"receiptNo":{"type":"integer"},"state":{"$ref":"#/components/schemas/ReceiptState"}}},"purchaseOrder":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"purchaseOrderNo":{"type":"integer"}}}}}]},"ShipmentEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"shipment":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"shipmentNo":{"type":"integer"},"status":{"$ref":"#/components/schemas/ShipmentStatus"},"trackingRef":{"type":["string","null"]},"carrier":{"type":"string"},"trackingUrl":{"type":["string","null"]},"shippedAt":{"type":"string","format":"date-time"}}},"order":{"$ref":"#/components/schemas/OrderRef"}}}]},"PurchaseOrderEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"purchaseOrder":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"purchaseOrderNo":{"type":"integer"},"state":{"$ref":"#/components/schemas/PurchaseOrderState"}}}}}]},"PurchaseOrderCost":{"type":"object","description":"A cost on the purchase order header – freight, customs and fees, other – spread over the rows by value.","properties":{"type":{"type":"string","enum":["freight","customs","fee","other"]},"date":{"type":["string","null"],"format":"date"},"currency":{"type":"string"},"amount":{"type":"number"},"localAmount":{"type":"number"}}},"PurchaseOrderLine":{"type":"object","description":"One purchase order row with its purchase order header – the line-level purchasing export.","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer"},"purchaseOrder":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"purchaseOrderNo":{"type":"integer"},"state":{"$ref":"#/components/schemas/PurchaseOrderState"},"orderDate":{"type":"string","format":"date"},"supplier":{"$ref":"#/components/schemas/Ref"},"warehouse":{"$ref":"#/components/schemas/Ref"}}},"product":{"$ref":"#/components/schemas/ProductRef"},"description":{"type":["string","null"]},"quantity":{"type":"number"},"quantityReceived":{"type":"number"},"expectedDate":{"type":["string","null"],"format":"date"},"currency":{"type":"string"},"listPrice":{"type":["number","null"]},"purchasePrice":{"type":"number","description":"Unit price in the purchase currency."},"localPrice":{"type":"number","description":"Unit price in local currency."},"discountPct":{"type":["number","null"]},"freightCost":{"type":["number","null"],"description":"Freight allocated to the row (local currency)."},"otherCost":{"type":["number","null"],"description":"Other cost allocated to the row – customs, fees (local currency)."},"stockValue":{"type":["number","null"],"description":"Landed value of the row: purchase price after discount plus freight and other cost (local currency)."},"orderRow":{"oneOf":[{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"lineNo":{"type":"integer"},"order":{"$ref":"#/components/schemas/OrderRef"}}},{"type":"null"}],"description":"The sales/work order row, with its order."},"object":{"oneOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}],"description":"The object the row was bought for – for example the boat."},"updatedAt":{"type":"string","format":"date-time"}}},"ShopType":{"type":"string","enum":["simple","variable","grouped","bundle"]},"PublishStatus":{"type":"string","enum":["publish","draft","private","archived"]},"Channel":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":"string"},"platform":{"type":"string","examples":["woocommerce","shopify","other"]},"topCategory":{"$ref":"#/components/schemas/Ref"},"warehouses":{"type":"array","items":{"$ref":"#/components/schemas/Ref"}},"pricesIncludeVat":{"type":"boolean"},"currency":{"type":"string"},"units":{"type":"object","properties":{"weight":{"type":"string","enum":["g","kg","lbs","oz"]},"dimensions":{"type":"string","enum":["mm","cm","m","in","yd"]}}},"orderDefaults":{"type":"object","properties":{"status":{"type":"object","properties":{"base":{"type":"string"},"code":{"type":"string"}}},"warehouse":{"$ref":"#/components/schemas/Ref"},"responsible":{"$ref":"#/components/schemas/Ref"},"orderDiscountGroup":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"freightProduct":{"$ref":"#/components/schemas/ProductRef"},"paymentFeeProduct":{"oneOf":[{"$ref":"#/components/schemas/ProductRef"},{"type":"null"}]},"fallbackProduct":{"oneOf":[{"$ref":"#/components/schemas/ProductRef"},{"type":"null"}]},"nameFormat":{"type":"string"}}},"customerDefaults":{"type":"object","properties":{"b2cCustomerGroup":{"$ref":"#/components/schemas/Ref"},"b2bCustomerGroup":{"$ref":"#/components/schemas/Ref"},"matchOn":{"type":"array","items":{"type":"string","enum":["shopCustomerRef","orgNo","email"]}}}},"relationMapping":{"type":"object","additionalProperties":{"type":"string"}},"fields":{"type":"object","properties":{"disabled":{"type":"array","items":{"type":"string"}}}},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}},"ShopPrice":{"type":"object","properties":{"regular":{"type":"number"},"sale":{"type":["number","null"]},"saleFrom":{"type":["string","null"],"format":"date"},"saleTo":{"type":["string","null"],"format":"date"},"currency":{"type":"string"},"includesVat":{"type":"boolean"}}},"ShopStock":{"type":"object","properties":{"manage":{"type":"boolean"},"quantity":{"type":"number"},"status":{"type":"string","enum":["instock","outofstock","onbackorder"]}}},"ShopImage":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"isMain":{"type":"boolean"},"url":{"type":"string","format":"uri"},"alt":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"}}},"ShopFile":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"filename":{"type":"string"},"documentType":{"type":["string","null"]},"url":{"type":"string","format":"uri"},"revisionLabel":{"type":["string","null"]}}},"ShopAttribute":{"type":"object","properties":{"name":{"type":"string"},"value":{"description":"Scalar or array"},"isVariantAxis":{"type":"boolean"}}},"AttributeDefinition":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"options":{"type":["array","null"],"items":{"type":"string"}},"isVariantAxis":{"type":"boolean"}}},"ShopCategory":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":"string"},"name":{"type":"string"},"slug":{"type":["string","null"]},"description":{"type":["string","null"]},"image":{"oneOf":[{"$ref":"#/components/schemas/ShopImage"},{"type":"null"}]},"sortKey":{"type":"integer"},"parent":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"path":{"type":"array","items":{"type":"string"}},"updatedAt":{"type":"string","format":"date-time"}}},"Variant":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"sku":{"type":"string"},"gtin":{"type":["string","null"]},"name":{"type":"string"},"status":{"$ref":"#/components/schemas/PublishStatus"},"attributes":{"type":"array","items":{"$ref":"#/components/schemas/ShopAttribute"}},"price":{"$ref":"#/components/schemas/ShopPrice"},"stock":{"$ref":"#/components/schemas/ShopStock"},"images":{"type":"array","items":{"$ref":"#/components/schemas/ShopImage"}},"isDefault":{"type":"boolean"}}},"PublishedProduct":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"productNo":{"type":"integer"},"sku":{"type":"string"},"gtin":{"type":["string","null"]},"name":{"type":"string"},"slug":{"type":["string","null"]},"description":{"type":["string","null"]},"shortDescription":{"type":["string","null"]},"shopType":{"$ref":"#/components/schemas/ShopType"},"status":{"$ref":"#/components/schemas/PublishStatus"},"isFeatured":{"type":"boolean"},"categories":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Ref"},{"type":"object","properties":{"path":{"type":"array","items":{"type":"string"}}}}]}},"brand":{"oneOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}]},"attributes":{"type":"array","items":{"$ref":"#/components/schemas/ShopAttribute"}},"taxClass":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":"string"},"vatPct":{"type":"number"}}},"price":{"$ref":"#/components/schemas/ShopPrice"},"stock":{"$ref":"#/components/schemas/ShopStock"},"dimensions":{"type":"object","properties":{"height":{"type":["number","null"]},"width":{"type":["number","null"]},"depth":{"type":["number","null"]},"unit":{"type":"string"}}},"weight":{"type":"object","properties":{"value":{"type":["number","null"]},"unit":{"type":"string"}}},"images":{"type":"array","items":{"$ref":"#/components/schemas/ShopImage"}},"files":{"type":"array","items":{"$ref":"#/components/schemas/ShopFile"}},"variants":{"type":"array","items":{"$ref":"#/components/schemas/Variant"}},"groupedProducts":{"type":"array","items":{"$ref":"#/components/schemas/ProductRef"}},"bundle":{"oneOf":[{"type":"object","properties":{"components":{"type":"array","items":{"type":"object","properties":{"product":{"$ref":"#/components/schemas/ProductRef"},"quantity":{"type":"number"}}}}}},{"type":"null"}]},"relations":{"type":"object","properties":{"related":{"type":"array","items":{"$ref":"#/components/schemas/ProductRef"}},"accessories":{"type":"array","items":{"$ref":"#/components/schemas/ProductRef"}},"spareParts":{"type":"array","items":{"$ref":"#/components/schemas/ProductRef"}}}},"replacedBy":{"oneOf":[{"$ref":"#/components/schemas/ProductRef"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time"}}},"ShopOrderCreate":{"type":"object","required":["sourceRef","customer","rows"],"properties":{"sourceRef":{"type":"string","description":"The shop's order id; idempotency key"},"shopOrderNo":{"type":"string"},"placedAt":{"type":"string","format":"date-time"},"customer":{"type":"object","properties":{"type":{"type":"string","enum":["company","consumer"]},"orgNo":{"type":["string","null"]},"name":{"type":["string","null"]},"firstname":{"type":["string","null"]},"lastname":{"type":["string","null"]},"email":{"type":"string"},"phone":{"type":["string","null"]},"contact":{"type":"object","properties":{"firstname":{"type":"string"},"lastname":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"}}},"shopCustomerRef":{"type":["string","null"]},"invoiceAddress":{"$ref":"#/components/schemas/Address"},"id":{"$ref":"#/components/schemas/OID"},"customerNo":{"type":"integer"}}},"deliveryAddress":{"$ref":"#/components/schemas/Address"},"customerReference":{"type":["string","null"]},"customerNote":{"type":["string","null"]},"currency":{"type":"string"},"pricesIncludeVat":{"type":"boolean","default":false},"rows":{"type":"array","minItems":1,"items":{"type":"object","required":["quantity"],"properties":{"sku":{"type":"string"},"productNo":{"type":"integer"},"quantity":{"type":"number"},"price":{"type":"number","description":"Price paid per unit"},"listPrice":{"type":["number","null"]},"name":{"type":["string","null"]},"variant":{"type":"object","properties":{"sku":{"type":"string"}}}}}},"shipping":{"type":"object","properties":{"method":{"type":"string"},"amount":{"type":"number"},"vatPct":{"type":"number"}}},"fees":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"number"},"vatPct":{"type":"number"}}}},"payment":{"type":"object","properties":{"method":{"type":"string"},"methodTitle":{"type":"string"},"status":{"type":"string","enum":["pending","paid","failed","refunded"]},"amount":{"type":"number"},"transactionRef":{"type":["string","null"]},"paidAt":{"type":["string","null"],"format":"date-time"}}},"status":{"type":"object","properties":{"base":{"type":"string"},"code":{"type":"string"}}}}},"WebhookSubscription":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/OID"},"name":{"type":"string"},"url":{"type":"string","format":"uri","description":"HTTPS only. May contain `$HMAC$`, replaced with the body signature."},"events":{"type":"array","items":{"type":"string"},"description":"Event names or prefixes with a wildcard (`order.*`)."},"filter":{"type":"object","properties":{"source":{"type":"string"},"warehouse":{"$ref":"#/components/schemas/OID"}}},"auth":{"type":"object","writeOnly":true,"required":["bearerToken"],"properties":{"bearerToken":{"type":"string"},"hmacKey":{"type":"string"}}},"isActive":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","readOnly":true},"lastDeliveryAt":{"type":["string","null"],"format":"date-time","readOnly":true},"failingSince":{"type":["string","null"],"format":"date-time","readOnly":true}}},"WebhookDelivery":{"type":"object","properties":{"eventId":{"type":"string","format":"uuid"},"event":{"type":"string"},"attempt":{"type":"integer"},"status":{"type":"string","enum":["delivered","retrying","failed"]},"responseCode":{"type":["integer","null"]},"sentAt":{"type":"string","format":"date-time"}}},"WebhookEventType":{"type":"object","properties":{"event":{"type":"string"},"namespace":{"type":"string"},"scope":{"type":"string"},"available":{"type":"string"}}},"WebhookEvent":{"allOf":[{"$ref":"#/components/schemas/EventEnvelope"},{"type":"object","properties":{"webhook":{"$ref":"#/components/schemas/Ref"}}}]},"ReportOutput":{"type":"string","enum":["json","csv","xlsx","xlsxfast","parquet","pdf"],"description":"Output format of a report run. `xlsxfast` is the streaming XLSX writer (\"XLSX (Enkel)\" in Telaris)."},"ReportDefinition":{"type":"object","description":"A custom report enabled for the API.","properties":{"id":{"$ref":"#/components/schemas/OID"},"code":{"type":["string","null"],"description":"Stable code set in Telaris; accepted as `{id}`."},"uuid":{"type":"string","description":"The report's UUID (shared report definitions); accepted as `{id}`."},"name":{"type":"string"},"description":{"type":["string","null"]},"output":{"$ref":"#/components/schemas/ReportOutput"},"isBackground":{"type":"boolean","description":"Runs as a background job: `create` answers 202 with a job to poll."},"parameters":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["string","number","date","boolean"],"description":"Always `string` in this revision; Telaris reports declare no parameter types."},"isRequired":{"type":"boolean","description":"True when the report has no default for the parameter."},"default":{"type":["string","number","boolean","null"]}}}},"columns":{"type":"array","description":"The columns the report annotates (`@title`/`@type`); a report without annotations lists none.","items":{"$ref":"#/components/schemas/ReportColumn"}},"updatedAt":{"type":"string","format":"date-time"}}},"ReportColumn":{"type":"object","properties":{"name":{"type":"string"},"title":{"type":"string"},"type":{"type":"string","enum":["string","number","integer","date","datetime","boolean"]}}},"ReportCreate":{"type":"object","properties":{"parameters":{"type":"object","additionalProperties":{"type":["string","number","boolean"]},"description":"Parameter values by name. Unknown names, and required parameters left out, give `VALIDATION`.","examples":[{"FROMDATE":"2026-09-01","TODATE":"2026-09-30"}]}}},"ReportJob":{"type":"object","description":"A background report run.","properties":{"id":{"$ref":"#/components/schemas/OID"},"status":{"type":"string","enum":["working","completed","cancelled"],"description":"`working` until the file is ready; `cancelled` when the job was stopped in Telaris."},"progress":{"type":"number","minimum":0,"maximum":100,"description":"Percent done."},"remainingSeconds":{"type":["integer","null"],"description":"Estimated time left; null until there is progress to estimate from."},"pollInterval":{"type":"integer","description":"Seconds to wait before polling again."},"output":{"$ref":"#/components/schemas/ReportOutput"},"file":{"type":"object","description":"The file the job produces – known from the start, `size` is 0 until it is written.","properties":{"filename":{"type":"string"},"size":{"type":"integer","description":"Bytes."},"contentType":{"type":"string"},"href":{"type":"string","description":"Download path: `/api/v3/report/job/{id}/result`."}}},"createdAt":{"type":"string","format":"date-time"},"completedAt":{"type":["string","null"],"format":"date-time"}}}}}}