{"openapi":"3.0.1","info":{"title":"Logistics WMS External API","description":"REST API for integrating external systems (ERP, e-commerce) with the Logistics WMS warehouse management platform. Supports document management, product and stock operations, delivery point management, packing queries, and reception analysis. Authentication: use either OAuth2 via Auth0 or self-managed API client credentials (POST /api/external/v1/auth/token).","contact":{"name":"Logistics WMS Support","email":"help@logistics-wms.com"},"license":{"name":"Proprietary"},"version":"1.0.0"},"servers":[{"url":"https://app.logistics-wms.com","description":"Production"},{"url":"https://alpha.logistics-wms.com","description":"Staging (Alpha)"}],"tags":[{"name":"Packing","description":"Packing management API"},{"name":"Kardex","description":"Kardex integration API"},{"name":"Authentication","description":"Exchange API client credentials for a short-lived JWT access token"},{"name":"Products","description":"Products management API"},{"name":"Receptions","description":"Receptions management API"},{"name":"Documents","description":"Documents management API"},{"name":"Delivery Points","description":"Delivery Points management API"}],"paths":{"/api/external/v1/product":{"get":{"tags":["Products"],"summary":"Get all products","description":"Returns a paginated list of products that match the specified criteria","operationId":"getAllProducts","parameters":[{"name":"criteria","in":"query","description":"Criteria to filter the products","required":true,"schema":{"$ref":"#/components/schemas/ProductCriteria"}},{"name":"pageable","in":"query","description":"Pagination information","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"200":{"description":"Successfully retrieved the list of products","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIProductDTO"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]},"put":{"tags":["Products"],"summary":"Update an existing product","description":"Updates an existing product with the provided information","operationId":"updateProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIProductDTO"}}},"required":true},"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"400":{"description":"Invalid product data supplied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"200":{"description":"Successfully updated the product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIProductDTO"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]},"post":{"tags":["Products"],"summary":"Create a new product","description":"Creates a new product with the provided information","operationId":"createProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIProductDTO"}}},"required":true},"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"400":{"description":"Invalid product data supplied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"200":{"description":"Successfully created the product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIProductDTO"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}},"/api/external/v1/document":{"get":{"tags":["Documents"],"summary":"Get all documents","description":"Returns a paginated list of documents that match the specified criteria","operationId":"getAllDocuments","parameters":[{"name":"criteria","in":"query","description":"Criteria to filter the documents","required":true,"schema":{"$ref":"#/components/schemas/ReceptionNoteCriteria"}},{"name":"pageable","in":"query","description":"Pagination information","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"200":{"description":"Successfully retrieved the list of documents","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDocumentDTO"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]},"put":{"tags":["Documents"],"summary":"Update an existing document","description":"Updates an existing document with the provided information","operationId":"updateDocument","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDocumentDTO"}}},"required":true},"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"400":{"description":"Invalid document data supplied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"200":{"description":"Successfully updated the document","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDocumentDTO"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]},"post":{"tags":["Documents"],"summary":"Create a new document","description":"Creates a new document with the provided information","operationId":"createDocument","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDocumentDTO"}}},"required":true},"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"201":{"description":"Successfully created the document","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDocumentDTO"}}}},"400":{"description":"Invalid document data supplied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}},"/api/external/v1/delivery-point":{"get":{"tags":["Delivery Points"],"summary":"Get all Delivery Points","description":"Returns a paginated list of Delivery Points that match the specified criteria","operationId":"getAllDeliveryPoints","parameters":[{"name":"criteria","in":"query","description":"Criteria to filter the Delivery Points","required":true,"schema":{"$ref":"#/components/schemas/DeliveryPointCriteria"}},{"name":"pageable","in":"query","description":"Pagination information","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"200":{"description":"Successfully retrieved the list of Delivery Points","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDeliveryPointDTO"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]},"put":{"tags":["Delivery Points"],"summary":"Update an existing Delivery Point","description":"Updates an existing Delivery Point with the provided information","operationId":"updateDeliveryPoint","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDeliveryPointDTO"}}},"required":true},"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"400":{"description":"Invalid Delivery Point data supplied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"200":{"description":"Successfully updated the Delivery Point","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDeliveryPointDTO"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]},"post":{"tags":["Delivery Points"],"summary":"Create a new Delivery Point","description":"Creates a new Delivery Point with the provided information","operationId":"createDeliveryPoint","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDeliveryPointDTO"}}},"required":true},"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"200":{"description":"Successfully created the Delivery Point","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDeliveryPointDTO"}}}},"400":{"description":"Invalid Delivery Point data supplied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}},"/api/external/v1/product/{externalCode}/update-observations":{"post":{"tags":["Products"],"summary":"Update product observations","description":"Updates the observations for a specific product","operationId":"updateObservations","parameters":[{"name":"externalCode","in":"path","description":"External code of the product to update","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string","description":"Observations to update"}}},"required":true},"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"404":{"description":"Product not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"200":{"description":"Successfully updated the product observations","content":{"application/json":{"schema":{"type":"boolean"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}},"/api/external/v1/product/stock":{"post":{"tags":["Products"],"summary":"Get product stock information","description":"Returns stock information for one or more products. Use the 'products' field to query multiple product/lot pairs in a single request, or use the 'product'/'lot' fields for a single product query. Location and shipping process are exclusive - if location is filled, location is used to return the results.","operationId":"getStock","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIStockRequestDTO"}}},"required":true},"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"404":{"description":"Product not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"200":{"description":"Successfully retrieved the stock information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIStockDTO"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}},"/api/external/v1/kardex/dispatched":{"post":{"tags":["Kardex"],"summary":"Handle dispatched response from Kardex","description":"Receives and processes what was dispatched on Kardex","operationId":"handleDispatchedResponse","requestBody":{"content":{"application/json":{"schema":{"type":"array","description":"Dispatched result from Kardex","items":{"$ref":"#/components/schemas/KardexLine"}}}},"required":true},"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"400":{"description":"Invalid dispatched result supplied"},"200":{"description":"Successfully processed the dispatched result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommonResultDTO"}}}}},"security":[{"OAuth2":[]}]}},"/api/external/v1/document/cancel":{"post":{"tags":["Documents"],"summary":"Cancel a document","description":"Cancels an existing document","operationId":"cancelDocument","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDocumentCancelDTO"}}},"required":true},"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"200":{"description":"Successfully cancelled the document","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIResultDTO"}}}},"400":{"description":"Invalid document data supplied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"404":{"description":"Document not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}},"/api/external/v1/auth/token":{"post":{"tags":["Authentication"],"summary":"Request an access token","description":"Exchange API client credentials (client_id and client_secret) for a short-lived JWT access token. The request must be sent with Content-Type: application/x-www-form-urlencoded — the credentials go in the form body, NOT as query parameters. The token is valid for 1 hour and must be included as a Bearer token in the Authorization header of all subsequent API calls. API client credentials are created and managed in the WMS application under Plugins > REST API > API Clients.","operationId":"token","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/TokenRequest"}}},"required":true},"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"200":{"description":"Token issued successfully","content":{"application/json":{"example":{"access_token":"eyJhbGciOiJIUzI1NiIs...","token_type":"Bearer","expires_in":3600}}}},"401":{"description":"Invalid or disabled client credentials","content":{"application/json":{"example":{"error":"invalid_client","error_description":"Invalid client credentials"}}}},"503":{"description":"API token service not configured","content":{"application/json":{"example":{"error":"server_error","error_description":"API token service is not configured"}}}}},"security":[]}},"/api/external/v1/reception/{receptionCode}/differences":{"get":{"tags":["Receptions"],"summary":"Get reception differences","description":"Returns differences for a specific reception","operationId":"getReceptionDifferences","parameters":[{"name":"receptionCode","in":"path","description":"Reception code to retrieve differences for","required":true,"schema":{"type":"string"}}],"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"404":{"description":"Reception or product not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"200":{"description":"Successfully retrieved the reception differences","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIReceptionDifferencesDTO"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}},"/api/external/v1/product/{externalCode}":{"get":{"tags":["Products"],"summary":"Get a product by external code","description":"Returns a product based on its external code","operationId":"getProduct","parameters":[{"name":"externalCode","in":"path","description":"External code of the product to retrieve","required":true,"schema":{"type":"string"}}],"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"404":{"description":"Product not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"200":{"description":"Successfully retrieved the product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIProductDTO"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}},"/api/external/v1/product-all-external-codes":{"get":{"tags":["Products"],"summary":"Get all product external codes","description":"Returns a list of all product external codes","operationId":"getProduct_1","responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"200":{"description":"Successfully retrieved the list of product external codes","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}},"/api/external/v1/expedition/getPackingByExternalCode":{"get":{"tags":["Packing"],"summary":"Get packing information by external code","description":"Retrieves packing information for a specific expedition by external code","operationId":"getPackingByExternalCode","parameters":[{"name":"warehouse","in":"query","description":"Warehouse where the expedition is located","required":true,"schema":{"type":"string"}},{"name":"externalCode","in":"query","description":"External code of the expedition","required":true,"schema":{"type":"string"}}],"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"400":{"description":"Shipping order has invalid status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"200":{"description":"Successfully retrieved the packing information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIClosePackingDTO"}}}},"404":{"description":"Warehouse, packing, or shipping order not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}},"/api/external/v1/expedition/getPackingByDocumentCode":{"get":{"tags":["Packing"],"summary":"Get packing information by document code","description":"Retrieves packing information for a specific expedition by document code","operationId":"getPackingByDocumentCode","parameters":[{"name":"warehouse","in":"query","description":"Warehouse where the expedition is located","required":true,"schema":{"type":"string"}},{"name":"documentCode","in":"query","description":"Document code associated with the expedition","required":true,"schema":{"type":"string"}}],"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"400":{"description":"Shipping order has invalid status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"200":{"description":"Successfully retrieved the packing information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIClosePackingDTO"}}}},"404":{"description":"Warehouse, packing, or shipping order not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}},"/api/external/v1/document/{externalCode}":{"get":{"tags":["Documents"],"summary":"Get a document by external code","description":"Returns a document based on its external code","operationId":"findByExternalCode","parameters":[{"name":"externalCode","in":"path","description":"External code of the document to retrieve","required":true,"schema":{"type":"string"}}],"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"404":{"description":"Document not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"200":{"description":"Successfully retrieved the document","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDocumentDTO"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}},"/api/external/v1/delivery-point/{externalCode}":{"get":{"tags":["Delivery Points"],"summary":"Get a Delivery Point by external code","description":"Returns a Delivery Point based on its external code","operationId":"getDeliveryPoint","parameters":[{"name":"externalCode","in":"path","description":"External code of the Delivery Point to retrieve","required":true,"schema":{"type":"string"}}],"responses":{"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BadRequestAlertException"}}}},"404":{"description":"Delivery Point not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIBadRequestExceptionObject"}}}},"200":{"description":"Successfully retrieved the Delivery Point","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestAPIDeliveryPointDTO"}}}}},"security":[{"ApiClientToken":[]},{"OAuth2":[]}]}}},"components":{"schemas":{"BadRequestAlertException":{"type":"object","properties":{"cause":{"$ref":"#/components/schemas/ThrowableProblem"},"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"$ref":"#/components/schemas/StatusType"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"parameters":{"type":"object","additionalProperties":{"type":"object"}},"entityName":{"type":"string"},"errorKey":{"type":"string"},"message":{"type":"string"},"suppressed":{"type":"array","items":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}}},"localizedMessage":{"type":"string"}}},"StatusType":{"type":"object","properties":{"reasonPhrase":{"type":"string"},"statusCode":{"type":"integer","format":"int32"}}},"ThrowableProblem":{"type":"object","properties":{"cause":{"$ref":"#/components/schemas/ThrowableProblem"},"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"title":{"type":"string"},"status":{"$ref":"#/components/schemas/StatusType"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"type":{"type":"string","format":"uri"},"parameters":{"type":"object","additionalProperties":{"type":"object"}},"suppressed":{"type":"array","items":{"type":"object","properties":{"stackTrace":{"type":"array","items":{"type":"object","properties":{"classLoaderName":{"type":"string"},"moduleName":{"type":"string"},"moduleVersion":{"type":"string"},"methodName":{"type":"string"},"fileName":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"className":{"type":"string"},"nativeMethod":{"type":"boolean"}}}},"message":{"type":"string"},"localizedMessage":{"type":"string"}}}},"localizedMessage":{"type":"string"}}},"RestAPIBarcodeDTO":{"required":["code","type"],"type":"object","properties":{"code":{"type":"string","description":"Barcode value","example":"5601234567890"},"type":{"type":"string","description":"Barcode type standard","example":"EAN13","enum":["GTIN","GRAI","GIAI","CPID","GMN","PRODUCT_CODE","CNP","MOLONI_ID","SAGE_CODE","WOOCOMMERCE_SKU","PRESTASHOP_SKU","AMAZON_SKU","API_ID","OTHER"]}},"description":"Product barcode"},"RestAPILotDTO":{"required":["active","code"],"type":"object","properties":{"code":{"type":"string","description":"Unique lot code","example":"LOT-2026-A"},"active":{"type":"boolean","description":"Whether the lot is active and available for operations","example":true},"expirationDate":{"type":"string","description":"Lot expiration date","format":"date","example":"2027-04-16"},"withSerialNumbers":{"type":"boolean","description":"Whether this lot uses serial number tracking","example":false},"withExpirationDate":{"type":"boolean","description":"Whether this lot tracks expiration dates","example":true},"daysToNotifyExpirationDate":{"type":"integer","description":"Days before expiration to trigger notification","format":"int32","example":30}},"description":"Product lot or batch"},"RestAPIProductDTO":{"required":["description","externalCode"],"type":"object","properties":{"externalCode":{"type":"string","description":"Unique identifier from the client's external system","example":"PROD-001"},"active":{"type":"boolean","description":"Read-only. Products created or updated through this API are always stored as active; any value sent for this field is ignored.","readOnly":true,"example":true},"description":{"type":"string","description":"Product description or name","example":"Widget Alpha 100ml"},"code":{"type":"string","description":"Short product code, stored as the WMS SKU. Must be unique across the tenant — sending a code already used by another product is rejected with 400 'Product SKU already exists'. When omitted, the externalCode is used as the SKU.","example":"WA100"},"abbreviation":{"type":"string","description":"Abbreviated product name","example":"WA"},"observations":{"type":"string","description":"Additional notes about the product","example":"Fragile - handle with care"},"withLots":{"type":"boolean","description":"Whether the product uses lot/batch tracking. Forced to true, regardless of the value sent, when the tenant has the 'API_WITH_LOT' application setting enabled.","example":true},"withSerialNumbers":{"type":"boolean","description":"Whether the product uses individual serial number tracking. Applied on creation only — on update the value already stored in the WMS is kept and any value sent is ignored.","example":false},"withExpirationDate":{"type":"boolean","description":"Whether lots have expiration date tracking. Forced to true, regardless of the value sent, when the tenant has the 'API_WITH_EXPIRATION_DATE' application setting enabled.","example":true},"withSecurityDevice":{"type":"boolean","description":"Whether the product has security device tracking (e.g., anti-theft). Applied on creation only — on update the value already stored in the WMS is kept and any value sent is ignored.","example":false},"handlingUnit":{"type":"string","description":"Unit of handling for warehouse operations. Must be one of the listed unit-of-measure codes.","example":"UN","enum":["UN","KG","M","M2","L","M3","LB","KGM","IN","FT","YD","IN2","FT2","YD2","IN3","FT3","YD3","TOZ","OZ","GAL"]},"weight":{"type":"number","description":"Product weight per unit","example":0.5},"barcodes":{"uniqueItems":true,"type":"array","description":"Product barcodes (EAN, CODE128, etc.)","items":{"$ref":"#/components/schemas/RestAPIBarcodeDTO"}},"lots":{"uniqueItems":true,"type":"array","description":"Product lots with batch and expiration information","items":{"$ref":"#/components/schemas/RestAPILotDTO"}},"daysToNotifyExpirationDate":{"type":"integer","description":"Days before lot expiration to trigger a notification alert","format":"int32","example":30}},"description":"Product definition with barcodes, lots, and tracking configuration"},"RestAPIBadRequestExceptionObject":{"type":"object","properties":{"entityName":{"type":"string","description":"Type of entity that caused the error","example":"document"},"errorKey":{"type":"string","description":"Machine-readable error identifier","example":"nonExistingProduct"},"type":{"type":"string","description":"Error type URI","example":"https://www.jhipster.tech/problem/problem-with-message"},"title":{"type":"string","description":"Human-readable error description","example":"Product does not exist for passed id!"},"status":{"type":"string","description":"HTTP status code","example":"404"},"message":{"type":"string","description":"Internal error message key","example":"error.nonExistingProduct"},"params":{"type":"string","description":"Additional context parameter","example":"product"}},"description":"Error response for bad requests"},"RestAPICategoryDTO":{"required":["category","quantity"],"type":"object","properties":{"category":{"type":"string","description":"Category identifier","example":"A-GRADE"},"quantity":{"type":"number","description":"Quantity allocated to this category","example":95.0}},"description":"Category allocation within a document line"},"RestAPIDocumentDTO":{"required":["documentNumber","documentType","externalCode"],"type":"object","properties":{"externalCode":{"type":"string","description":"Unique identifier from the client's external system (ERP/e-commerce). Used as idempotency key for create operations.","example":"PO-2026-001"},"documentNumber":{"type":"string","description":"Document number in the client's system","example":"PO-001"},"documentType":{"type":"string","description":"Type of warehouse document","enum":["WAREHOUSE_TRANSFER_IN","WAREHOUSE_TRANSFER_OUT","PURCHASE_ORDER","CLIENT_RETURN","SUPPLIER_RETURN","CLIENT_EXPEDITION","FACTORY_DELIVER","FACTORY_DELIVERY","PRODUCTION_RETURN"]},"documentExternalType":{"type":"string","description":"Additional type classification from the client's system","example":"STANDARD"},"reference":{"type":"string","description":"Free-text reference field","example":"REF-2026-001"},"observations":{"type":"string","description":"Additional notes or comments","example":"Urgent order - priority handling"},"documentDate":{"type":"string","description":"Date of the document","format":"date","example":"2026-04-16"},"originExternalCode":{"type":"string","description":"External code of the origin entity (supplier, warehouse)","example":"SUPPLIER-001"},"destinationExternalCode":{"type":"string","description":"External code of the destination entity","example":"WAREHOUSE-A"},"deliveryPointExternalCode":{"type":"string","description":"External code of the delivery point","example":"DP-001"},"deliveryDate":{"type":"string","description":"Expected delivery date and time","format":"date-time"},"charge":{"type":"boolean","description":"Whether the document has an associated transport charge","example":false},"chargeValue":{"type":"number","description":"Monetary value of the transport charge","example":25.5},"carrier":{"type":"string","description":"Carrier or transport company name","example":"DHL"},"deliveryPlace":{"type":"string","description":"Delivery place description","example":"Dock 3"},"lines":{"uniqueItems":true,"type":"array","description":"Document line items with products and quantities","items":{"$ref":"#/components/schemas/RestAPIDocumentLineDTO"}}},"description":"Warehouse document for reception or expedition operations"},"RestAPIDocumentLineDTO":{"required":["lineNumber","productExternalCode","quantity"],"type":"object","properties":{"lineNumber":{"type":"integer","description":"Sequential line number within the document","format":"int32","example":1},"quantity":{"type":"number","description":"Quantity for this line","example":100.0},"productExternalCode":{"type":"string","description":"External code of the product","example":"PROD-001"},"lotCode":{"type":"string","description":"Lot code for lot-tracked products","example":"LOT-2026-A"},"supplierLotCode":{"type":"string","description":"Supplier's own lot code","example":"SUP-LOT-001"},"supplierCode":{"type":"string","description":"Supplier code","example":"SUP-001"},"serialNumber":{"type":"string","description":"Serial number for serialized products","example":"SN-001"},"externalCode":{"type":"string","description":"External code for this specific line","example":"LINE-001"},"qualityStatusCode":{"type":"string","description":"Quality status code for the line","example":"APPROVED"},"containerCode":{"type":"string","description":"Container or packaging code","example":"BOX-001"},"categories":{"uniqueItems":true,"type":"array","description":"Category allocations for this line","items":{"$ref":"#/components/schemas/RestAPICategoryDTO"}}},"description":"Line item within a warehouse document"},"RestAPIDeliveryPointDTO":{"required":["active","externalCode","name"],"type":"object","properties":{"externalCode":{"type":"string","description":"Unique identifier from the client's external system","example":"DP-001"},"active":{"type":"boolean","description":"Whether the delivery point is active","example":true},"name":{"type":"string","description":"Delivery point name","example":"ACME Corp Distribution Center"},"deliveryPoint":{"type":"string","description":"Delivery point code","example":"DC-ACME"},"alias":{"type":"string","description":"Alternative name or alias","example":"ACME DC"},"gln":{"type":"string","description":"Global Location Number (GS1 standard)","example":"5601234500000"},"nif":{"type":"string","description":"Tax identification number","example":"PT123456789"},"email":{"type":"string","description":"Contact email address","example":"logistics@acme.com"},"phone":{"type":"string","description":"Contact phone number","example":"+351912345678"},"url":{"type":"string","description":"Website URL","example":"https://acme.com"},"address":{"type":"string","description":"Street address","example":"Rua da Logistica 123"},"postalCode":{"type":"string","description":"Postal or ZIP code","example":"1000-001"},"city":{"type":"string","description":"City","example":"Lisboa"},"country":{"type":"string","description":"Country","example":"Portugal"},"types":{"uniqueItems":true,"type":"array","description":"Entity types (e.g., CUSTOMER, SUPPLIER, WAREHOUSE)","items":{"type":"string","description":"Entity types (e.g., CUSTOMER, SUPPLIER, WAREHOUSE)","enum":["SUPPLIER","CLIENT"]}},"daysToReserveExpirationDate":{"type":"integer","description":"Days to reserve before lot expiration for this delivery point","format":"int32","example":30},"allowExpiredLots":{"type":"boolean","description":"Whether to allow receiving expired lots at this delivery point","example":false}},"description":"Delivery point (customer, supplier, or warehouse location)"},"RestAPIStockProductItemDTO":{"required":["product"],"type":"object","properties":{"product":{"type":"string","description":"Product external code","example":"PROD-001"},"lot":{"type":"string","description":"Filter by specific lot code","example":"LOT-2026-A"}},"description":"Product and optional lot pair for stock query"},"RestAPIStockRequestDTO":{"type":"object","properties":{"product":{"type":"string","description":"Product external code to query (used when querying a single product)","example":"PROD-001"},"lot":{"type":"string","description":"Filter by specific lot code (used with single product query)","example":"LOT-2026-A"},"products":{"type":"array","description":"List of product/lot pairs to query stock for multiple products. When provided, takes precedence over 'product' and 'lot' fields.","items":{"$ref":"#/components/schemas/RestAPIStockProductItemDTO"}},"location":{"type":"string","description":"Filter by warehouse location","example":"RACK-B3"},"shippingProcess":{"type":"string","description":"Filter by shipping process","example":"SP-001"},"groupedByLot":{"type":"boolean","description":"Whether to group results by lot","example":false}},"description":"Stock request details"},"RestAPIStockDTO":{"type":"object","properties":{"bulk":{"type":"number","description":"Quantity of loose/unpacked units","example":500.0},"containers":{"type":"number","description":"Quantity in containers or boxes","example":10.0},"reservedShipping":{"type":"number","description":"Quantity reserved for pending shipping orders","example":50.0},"existence":{"type":"number","description":"Total physical stock (bulk + containers)","example":510.0},"available":{"type":"number","description":"Stock available for new orders (existence - reservedShipping)","example":460.0},"node":{"type":"string","description":"Warehouse or location identifier","example":"WAREHOUSE-A"},"product":{"type":"string","description":"Product external code","example":"PROD-001"},"lot":{"type":"string","description":"Lot code (when grouped by lot)","example":"LOT-2026-A"},"expirationDate":{"type":"string","description":"Lot expiration date (if applicable)","format":"date","example":"2027-04-16"}},"description":"Stock levels for a product at a specific location"},"KardexLine":{"type":"object","properties":{"orderNumber":{"type":"string"},"completedDate":{"type":"string","format":"date-time"},"lineNumber":{"type":"integer","format":"int32"},"productCode":{"type":"string"},"lot":{"type":"string"},"serialNumber":{"type":"string"},"quantity":{"type":"number","format":"double"},"dispatchedDate":{"type":"string","format":"date-time"},"container":{"type":"string"},"user":{"type":"string"}}},"CommonResultDTO":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"orderName":{"type":"string"},"errorKey":{"type":"string"}}},"RestAPIDocumentCancelDTO":{"required":["documentType","externalCode"],"type":"object","properties":{"externalCode":{"type":"string","description":"External code of the document to cancel","example":"PO-2026-001"},"documentType":{"type":"string","description":"Type of warehouse document","enum":["WAREHOUSE_TRANSFER_IN","WAREHOUSE_TRANSFER_OUT","PURCHASE_ORDER","CLIENT_RETURN","SUPPLIER_RETURN","CLIENT_EXPEDITION","FACTORY_DELIVER","FACTORY_DELIVERY","PRODUCTION_RETURN"]}},"description":"Document cancellation details"},"RestAPIResultDTO":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the operation was successful","example":true},"message":{"type":"string","description":"Result message with details","example":"Document cancelled successfully"}},"description":"Standard API operation result"},"TokenRequest":{"required":["client_id","client_secret"],"type":"object","properties":{"client_id":{"type":"string","description":"The client ID provided when the API client was created"},"client_secret":{"type":"string","description":"The client secret provided when the API client was created"}},"description":"Form-urlencoded credentials for the access token request"},"RestAPIReceptionDifferencesDTO":{"type":"object","properties":{"receptionCode":{"type":"string","description":"Reception identifier","example":"REC-2026-001"},"receptionStatus":{"type":"string","description":"Current reception status","enum":["NEW","EXECUTING","CLOSED","CLOSING","SUBMITTED"]},"documentNumbers":{"type":"array","description":"Associated document numbers","items":{"type":"string","description":"Associated document numbers"}},"productLotDifferences":{"uniqueItems":true,"type":"array","description":"Quantity differences at the product+lot level","items":{"$ref":"#/components/schemas/RestAPIReceptionDifferencesProductLotDTO"}},"productDifferences":{"uniqueItems":true,"type":"array","description":"Quantity differences at the product level (aggregated across lots)","items":{"$ref":"#/components/schemas/RestAPIReceptionDifferencesProductDTO"}},"nonExistingProductDifferences":{"uniqueItems":true,"type":"array","description":"Products received that don't exist in the system","items":{"$ref":"#/components/schemas/RestAPIReceptionDifferencesProductDTO"}}},"description":"Reception differences between expected and actual received quantities"},"RestAPIReceptionDifferencesProductDTO":{"required":["productExternalCode","quantity"],"type":"object","properties":{"productExternalCode":{"type":"string","description":"Product external code","example":"PROD-001"},"quantity":{"type":"number","description":"Difference quantity (positive = surplus, negative = shortage)","example":-5.0}},"description":"Product-level reception quantity difference"},"RestAPIReceptionDifferencesProductLotDTO":{"required":["productExternalCode","quantity"],"type":"object","properties":{"productExternalCode":{"type":"string","description":"Product external code","example":"PROD-001"},"lotCode":{"type":"string","description":"Lot code","example":"LOT-2026-A"},"quantity":{"type":"number","description":"Difference quantity (positive = surplus, negative = shortage)","example":-2.0}},"description":"Product+lot level reception quantity difference"},"BooleanFilter":{"type":"object","properties":{"equals":{"type":"boolean"},"notEquals":{"type":"boolean"},"specified":{"type":"boolean"},"in":{"type":"array","items":{"type":"boolean"}},"notIn":{"type":"array","items":{"type":"boolean"}}}},"LocalDateFilter":{"type":"object","properties":{"equals":{"type":"string","format":"date"},"notEquals":{"type":"string","format":"date"},"specified":{"type":"boolean"},"in":{"type":"array","items":{"type":"string","format":"date"}},"notIn":{"type":"array","items":{"type":"string","format":"date"}},"greaterThan":{"type":"string","format":"date"},"lessThan":{"type":"string","format":"date"},"greaterThanOrEqual":{"type":"string","format":"date"},"lessThanOrEqual":{"type":"string","format":"date"}}},"LongFilter":{"type":"object","properties":{"equals":{"type":"integer","format":"int64"},"notEquals":{"type":"integer","format":"int64"},"specified":{"type":"boolean"},"in":{"type":"array","items":{"type":"integer","format":"int64"}},"notIn":{"type":"array","items":{"type":"integer","format":"int64"}},"greaterThan":{"type":"integer","format":"int64"},"lessThan":{"type":"integer","format":"int64"},"greaterThanOrEqual":{"type":"integer","format":"int64"},"lessThanOrEqual":{"type":"integer","format":"int64"}}},"ProductCriteria":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/LongFilter"},"active":{"$ref":"#/components/schemas/BooleanFilter"},"sku":{"$ref":"#/components/schemas/StringFilter"},"description":{"$ref":"#/components/schemas/StringFilter"},"abbreviation":{"$ref":"#/components/schemas/StringFilter"},"withLots":{"$ref":"#/components/schemas/BooleanFilter"},"withStock":{"$ref":"#/components/schemas/BooleanFilter"},"belowMinimumStock":{"$ref":"#/components/schemas/BooleanFilter"},"withLotsActive":{"$ref":"#/components/schemas/BooleanFilter"},"withSerialNumbersActive":{"$ref":"#/components/schemas/BooleanFilter"},"withSerialNumbers":{"$ref":"#/components/schemas/BooleanFilter"},"withSecurityDevice":{"$ref":"#/components/schemas/BooleanFilter"},"withExpirationDate":{"$ref":"#/components/schemas/BooleanFilter"},"detailsId":{"$ref":"#/components/schemas/LongFilter"},"warehouseId":{"$ref":"#/components/schemas/LongFilter"},"packagingId":{"$ref":"#/components/schemas/LongFilter"},"serialNumbersId":{"$ref":"#/components/schemas/LongFilter"},"serialNumber":{"$ref":"#/components/schemas/StringFilter"},"lotCode":{"$ref":"#/components/schemas/StringFilter"},"lotsId":{"$ref":"#/components/schemas/LongFilter"},"barcodesId":{"$ref":"#/components/schemas/LongFilter"},"expirationDate":{"$ref":"#/components/schemas/LocalDateFilter"},"barcodesCode":{"$ref":"#/components/schemas/StringFilter"},"skuOrDescription":{"$ref":"#/components/schemas/StringFilter"},"typeOfBarcode":{"$ref":"#/components/schemas/TypeOfBarcodeFilter"},"clientId":{"$ref":"#/components/schemas/LongFilter"},"abcClass":{"$ref":"#/components/schemas/StringFilter"},"labelId":{"$ref":"#/components/schemas/LongFilter"},"search":{"$ref":"#/components/schemas/StringFilter"},"isExpiredGroup":{"$ref":"#/components/schemas/BooleanFilter"},"isWithStockGroup":{"$ref":"#/components/schemas/BooleanFilter"},"isBelowMinimumGroup":{"$ref":"#/components/schemas/BooleanFilter"}}},"StringFilter":{"type":"object","properties":{"equals":{"type":"string"},"notEquals":{"type":"string"},"specified":{"type":"boolean"},"in":{"type":"array","items":{"type":"string"}},"notIn":{"type":"array","items":{"type":"string"}},"contains":{"type":"string"},"doesNotContain":{"type":"string"}}},"TypeOfBarcodeFilter":{"type":"object","properties":{"equals":{"type":"string","enum":["GTIN","GRAI","GIAI","CPID","GMN","PRODUCT_CODE","CNP","MOLONI_ID","SAGE_CODE","WOOCOMMERCE_SKU","PRESTASHOP_SKU","AMAZON_SKU","API_ID","OTHER"]},"notEquals":{"type":"string","enum":["GTIN","GRAI","GIAI","CPID","GMN","PRODUCT_CODE","CNP","MOLONI_ID","SAGE_CODE","WOOCOMMERCE_SKU","PRESTASHOP_SKU","AMAZON_SKU","API_ID","OTHER"]},"specified":{"type":"boolean"},"in":{"type":"array","items":{"type":"string","enum":["GTIN","GRAI","GIAI","CPID","GMN","PRODUCT_CODE","CNP","MOLONI_ID","SAGE_CODE","WOOCOMMERCE_SKU","PRESTASHOP_SKU","AMAZON_SKU","API_ID","OTHER"]}},"notIn":{"type":"array","items":{"type":"string","enum":["GTIN","GRAI","GIAI","CPID","GMN","PRODUCT_CODE","CNP","MOLONI_ID","SAGE_CODE","WOOCOMMERCE_SKU","PRESTASHOP_SKU","AMAZON_SKU","API_ID","OTHER"]}}}},"Pageable":{"type":"object","properties":{"page":{"minimum":0,"type":"integer","format":"int32"},"size":{"minimum":1,"type":"integer","format":"int32"},"sort":{"type":"array","items":{"type":"string"}}}},"RestAPIClosePackingDTO":{"type":"object","properties":{"id":{"type":"integer","description":"Packing record identifier","format":"int64","example":1},"year":{"type":"integer","description":"Packing year","format":"int32","example":2026},"series":{"type":"string","description":"Packing series","example":"A"},"number":{"type":"integer","description":"Packing number within the series","format":"int32","example":1},"barcode":{"type":"string","description":"Packing barcode","example":"PKG-001"},"sscc":{"type":"string","description":"Serial Shipping Container Code (GS1 standard)","example":"003012345678901234"},"grossWeight":{"type":"number","description":"Total weight including packaging (kg)","example":12.5},"netWeight":{"type":"number","description":"Weight of contents only (kg)","example":10.0},"height":{"type":"number","description":"Height dimension (cm)","example":40.0},"width":{"type":"number","description":"Width dimension (cm)","example":30.0},"depth":{"type":"number","description":"Depth dimension (cm)","example":20.0},"volume":{"type":"number","description":"Calculated volume (m3)","example":0.024},"bulk":{"type":"number","description":"Loose/unpacked quantity in this packing","example":10.0},"containers":{"type":"number","description":"Container quantity in this packing","example":1.0},"parent":{"type":"integer","description":"Parent packing ID for nested packing structures","format":"int64"},"containerTypeCode":{"type":"string","description":"Type of container or packaging","example":"CARDBOARD_BOX"},"productExternalCode":{"type":"string","description":"Product external code","example":"PROD-001"},"lotCode":{"type":"string","description":"Lot code (if applicable)","example":"LOT-2026-A"}},"description":"Packing or container with dimensions and contents"},"InstantFilter":{"type":"object","properties":{"equals":{"type":"string","format":"date-time"},"notEquals":{"type":"string","format":"date-time"},"specified":{"type":"boolean"},"in":{"type":"array","items":{"type":"string","format":"date-time"}},"notIn":{"type":"array","items":{"type":"string","format":"date-time"}},"greaterThan":{"type":"string","format":"date-time"},"lessThan":{"type":"string","format":"date-time"},"greaterThanOrEqual":{"type":"string","format":"date-time"},"lessThanOrEqual":{"type":"string","format":"date-time"}}},"IntegerFilter":{"type":"object","properties":{"equals":{"type":"integer","format":"int32"},"notEquals":{"type":"integer","format":"int32"},"specified":{"type":"boolean"},"in":{"type":"array","items":{"type":"integer","format":"int32"}},"notIn":{"type":"array","items":{"type":"integer","format":"int32"}},"greaterThan":{"type":"integer","format":"int32"},"lessThan":{"type":"integer","format":"int32"},"greaterThanOrEqual":{"type":"integer","format":"int32"},"lessThanOrEqual":{"type":"integer","format":"int32"}}},"ReceptionNoteCriteria":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/LongFilter"},"year":{"$ref":"#/components/schemas/IntegerFilter"},"series":{"$ref":"#/components/schemas/StringFilter"},"number":{"$ref":"#/components/schemas/IntegerFilter"},"codeOrNumberOrReference":{"$ref":"#/components/schemas/StringFilter"},"code":{"$ref":"#/components/schemas/StringFilter"},"originCode":{"$ref":"#/components/schemas/StringFilter"},"externalCode":{"$ref":"#/components/schemas/StringFilter"},"status":{"$ref":"#/components/schemas/ReceptionNoteStatusFilter"},"priority":{"$ref":"#/components/schemas/IntegerFilter"},"deliveryDate":{"$ref":"#/components/schemas/LocalDateFilter"},"documentDate":{"$ref":"#/components/schemas/LocalDateFilter"},"reference":{"$ref":"#/components/schemas/StringFilter"},"observation":{"$ref":"#/components/schemas/StringFilter"},"originDescription":{"$ref":"#/components/schemas/StringFilter"},"destinationDescription":{"$ref":"#/components/schemas/StringFilter"},"deliveryPointName":{"$ref":"#/components/schemas/StringFilter"},"originId":{"$ref":"#/components/schemas/LongFilter"},"destinationId":{"$ref":"#/components/schemas/LongFilter"},"deliveryPointId":{"$ref":"#/components/schemas/LongFilter"},"deliveryPointAddressId":{"$ref":"#/components/schemas/LongFilter"},"deliveryTarget":{"$ref":"#/components/schemas/StringFilter"},"linesId":{"$ref":"#/components/schemas/LongFilter"},"pickingsId":{"$ref":"#/components/schemas/LongFilter"},"receptionsId":{"$ref":"#/components/schemas/LongFilter"},"receptionsIdOrNull":{"$ref":"#/components/schemas/LongFilter"},"receptionProcessId":{"$ref":"#/components/schemas/LongFilter"},"lastModifiedDate":{"$ref":"#/components/schemas/InstantFilter"},"search":{"$ref":"#/components/schemas/StringFilter"},"isDoneGroup":{"$ref":"#/components/schemas/BooleanFilter"},"isErrorGroup":{"$ref":"#/components/schemas/BooleanFilter"}}},"ReceptionNoteStatusFilter":{"type":"object","properties":{"equals":{"type":"string","enum":["DRAFT","CREATED","IN_PROGRESS","EXECUTED","CANCELLED"]},"notEquals":{"type":"string","enum":["DRAFT","CREATED","IN_PROGRESS","EXECUTED","CANCELLED"]},"specified":{"type":"boolean"},"in":{"type":"array","items":{"type":"string","enum":["DRAFT","CREATED","IN_PROGRESS","EXECUTED","CANCELLED"]}},"notIn":{"type":"array","items":{"type":"string","enum":["DRAFT","CREATED","IN_PROGRESS","EXECUTED","CANCELLED"]}}}},"DeliveryPointCategory":{"required":["description"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"description":{"type":"string"},"active":{"type":"boolean"}}},"DeliveryPointCategoryFilter":{"type":"object","properties":{"equals":{"$ref":"#/components/schemas/DeliveryPointCategory"},"notEquals":{"$ref":"#/components/schemas/DeliveryPointCategory"},"specified":{"type":"boolean"},"in":{"type":"array","items":{"$ref":"#/components/schemas/DeliveryPointCategory"}},"notIn":{"type":"array","items":{"$ref":"#/components/schemas/DeliveryPointCategory"}}}},"DeliveryPointCriteria":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/LongFilter"},"deliveryPoint":{"$ref":"#/components/schemas/StringFilter"},"externalCode":{"$ref":"#/components/schemas/StringFilter"},"aliasOrName":{"$ref":"#/components/schemas/StringFilter"},"gln":{"$ref":"#/components/schemas/StringFilter"},"nif":{"$ref":"#/components/schemas/StringFilter"},"address":{"$ref":"#/components/schemas/StringFilter"},"postalCode":{"$ref":"#/components/schemas/StringFilter"},"city":{"$ref":"#/components/schemas/StringFilter"},"country":{"$ref":"#/components/schemas/StringFilter"},"active":{"$ref":"#/components/schemas/BooleanFilter"},"nmvsActive":{"$ref":"#/components/schemas/BooleanFilter"},"nmvsActiveIn":{"$ref":"#/components/schemas/BooleanFilter"},"nmvsActiveOut":{"$ref":"#/components/schemas/BooleanFilter"},"shippingProcessId":{"$ref":"#/components/schemas/LongFilter"},"types":{"$ref":"#/components/schemas/EntityTypeFilter"},"categories":{"$ref":"#/components/schemas/DeliveryPointCategoryFilter"},"daysToReserveExpirationDate":{"$ref":"#/components/schemas/IntegerFilter"},"allowExpiredLots":{"$ref":"#/components/schemas/BooleanFilter"},"clientId":{"$ref":"#/components/schemas/LongFilter"},"addressId":{"$ref":"#/components/schemas/LongFilter"},"search":{"$ref":"#/components/schemas/StringFilter"},"isClientGroup":{"$ref":"#/components/schemas/BooleanFilter"},"isSupplierGroup":{"$ref":"#/components/schemas/BooleanFilter"}}},"EntityTypeFilter":{"type":"object","properties":{"equals":{"type":"string","enum":["SUPPLIER","CLIENT"]},"notEquals":{"type":"string","enum":["SUPPLIER","CLIENT"]},"specified":{"type":"boolean"},"in":{"type":"array","items":{"type":"string","enum":["SUPPLIER","CLIENT"]}},"notIn":{"type":"array","items":{"type":"string","enum":["SUPPLIER","CLIENT"]}}}}},"securitySchemes":{"OAuth2":{"type":"oauth2","description":"OAuth2 authentication with Auth0, for integrations that already hold Auth0 user credentials. Most external integrations should use ApiClientToken instead. Contact help@logistics-wms.com for credentials. Include the token in the Authorization header as 'Bearer {token}' for all API requests.","flows":{"password":{"tokenUrl":"https://logistics-wms.eu.auth0.com/oauth/token","scopes":{"openid":"Open ID"}}}},"ApiClientToken":{"type":"http","description":"Self-managed API client credentials. Create an API client in the WMS (Plugins > REST API > API Clients), then exchange your client_id and client_secret for a JWT token via POST /api/external/v1/auth/token. The token is valid for 1 hour. Include it as 'Bearer {token}' in the Authorization header.","scheme":"bearer","bearerFormat":"JWT"}}}}