{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"370e2838-a027-48a1-9568-20ed855264d5","name":"Leus Logistics API","description":"# Leus Logistics System API\n\nAPI documentation for the Leus Logistics Management System.\n\n## Base URL\n\n`{{baseUrl}}`\n\n## Authentication\n\nAll endpoints except **Token** require Bearer token authentication.\n\nUse `POST /api/Token/Login` to obtain an access token. The collection test script will automatically set `accessToken` and `refreshToken` variables.\n\n## Response Format\n\nAll endpoints return a standard response envelope:\n\n``` json\n{\n  \"metadata\": {\n    \"isSuccess\": true,\n    \"code\": \"GEN-0\",\n    \"message\": \"Success\",\n    \"requestId\": \"<uuid>\"\n  },\n  \"data\": { ... }\n}\n\n ```\n\n| `metadata.code` | Meaning |\n| --- | --- |\n| `GEN-0` | Success |\n| `GEN-1` | Not success |\n| `GEN-2` | Internal Server Error |\n\nError codes follow the pattern `{PREFIX}-{VALUE}`, where the prefix maps to a specific error domain (see **Error Codes** section below).\n\n## HTTP Response Status Codes\n\n| Status | Description |\n| --- | --- |\n| 200 | OK — Request succeeded |\n| 400 | Bad Request — Invalid request data |\n| 401 | Unauthorized — Missing or expired token |\n| 403 | Forbidden — Insufficient permissions |\n| 500 | Internal Server Error |\n\n---\n\n# Enumeration Reference\n\n## eShipmentStatus (`statusId` in ShipmentFilter and ShipmentInfo)\n\nUsed in `GetShipmentInfosByPaging` request body field `statusId`, and returned as `statusId` in every `ShipmentInfo` response.\n\n| Value | Name | Description |\n| --- | --- | --- |\n| `1` | `Draft` | Shipment has been created but label not yet generated |\n| `2` | `Completed` | Label generated, shipment is active |\n| `3` | `Cancelled` | Label has been cancelled |\n| `4` | `Processing` | Label generation in progress |\n\n## eUnitType (`unitType` in ShipmentInfoDto)\n\nDetermines the unit system for package dimensions and weight in `AddShipmentInfos`, `UpdateShipmentInfo`, and `GetRate`.\n\n| Value | Name | Dimensions | Weight |\n| --- | --- | --- | --- |\n| `0` | `LBS_IN` | inches | pounds (lb) |\n| `1` | `OZ_IN` | inches | ounces (oz) |\n| `2` | `KG_CM` | centimetres | kilograms (kg) |\n\n## Package Types (`packageType` in ShipmentInfoDto)\n\n| Value | Description |\n| --- | --- |\n| `doc` | Document envelope |\n| `pak` | Soft pak / padded envelope |\n| `wpx` | Worldwide Parcel Express (box/parcel) |\n\n## Duty Types (`dutyType` in ShipmentInfoDto)\n\n| Value | Name | Description |\n| --- | --- | --- |\n| `DDP` | Delivered Duty Paid | Sender pays all import duties and taxes |\n| `DDU` | Delivered Duty Unpaid | Recipient is responsible for duties and taxes |\n\n## Signature Required (`signatureRequired` in ShipmentInfoDto)\n\n| Value | Description |\n| --- | --- |\n| `no` | No signature required |\n| `yes` | Adult or standard signature required |\n| `adult` | Adult signature specifically required |\n\n## Tax Number Types (`taxNoType` in StoreAddressDto / consignee / shipper)\n\nApplies to both the `shipper` and `consignee` address objects in shipment requests.\n\n| Value | Description |\n| --- | --- |\n| `VAT` | Value Added Tax number |\n| `DAN` | DAN number |\n| `DTF` | DTF number |\n| `TAN` | Tax Account Number |\n| `DUN` | DUN number |\n| `EIN` | Employer Identification Number |\n| `EOR` | EORI (Economic Operators Registration and Identification) |\n| `FED` | Federal Tax ID |\n| `FTZ` | Free Trade Zone ID |\n| `SSN` | Social Security Number |\n| `STA` | State Tax ID |\n| `CNP` | CPF/CNPJ (Brazil) |\n| `SDT` | SDT number |\n| `IOSS` | Import One-Stop Shop (EU VAT) |\n| `NO-IOSS` | Non-IOSS |\n| `OTHER` | Other tax identification type |\n\n## eStoreAddressStatus (`statusId` in StoreAddressInfo)\n\nReturned in every `StoreAddressInfo` object from `GET api/StoreAddress`.\n\n| Value | Name | Description |\n| --- | --- | --- |\n| `1` | `Pending` | Address submitted, awaiting approval |\n| `2` | `Approved` | Address approved and active |\n| `3` | `Rejected` | Address was rejected |\n\n## eWalletStatus (`walletStatusId` in WalletInfo)\n\nReturned in every `WalletInfo` object from `GET api/Wallet`.\n\n| Value | Name | Description |\n| --- | --- | --- |\n| `1` | `Active` | Wallet is active and available for transactions |\n| `2` | `Frozen` | Wallet is temporarily frozen — no transactions allowed |\n| `3` | `Locked` | Wallet is locked by the system |\n\n---\n\n# Error Codes\n\nAll API errors follow the format `{PREFIX}-{VALUE}`. The prefix identifies the error domain:\n\n| Prefix | Domain |\n| --- | --- |\n| `GEN` | General / system-wide |\n| `SHI` | Shipment (`eShipmentErrorCode`) |\n\n## GeneralCode (prefix: `GEN`)\n\n| Code | Value | Description |\n| --- | --- | --- |\n| `GEN-0` | 0 | Success |\n| `GEN-1` | 1 | Not success |\n| `GEN-2` | 2 | Internal Server Error |\n\n## eShipmentErrorCode (prefix: `SHI`)\n\nReturned by `ShipmentInfoController` endpoints when a business-rule violation occurs.\n\n| Code | Value | Description |\n| --- | --- | --- |\n| `SHI-1` | 1 | `ShipmentNotFound` — The requested shipment does not exist |\n| `SHI-2` | 2 | `CannotActionOnNotDraftShipment` — Operation is only allowed on Draft shipments |\n| `SHI-3` | 3 | `StoreAddressNotFound` — The shipper store address was not found |\n| `SHI-4` | 4 | `ServiceNotFound` — The requested service code does not exist |\n| `SHI-5` | 5 | `VendorNotFound` — The carrier/vendor was not found |\n| `SHI-6` | 6 | `BalanceNotEnough` — Insufficient wallet balance to create the shipment |\n| `SHI-7` | 7 | `VendorPriceNotFound` — No matching price table found for the given route/service |\n| `SHI-8` | 8 | `ActionNotAllowed` — The action is not permitted in the current state |\n| `SHI-9` | 9 | `InvalidInput` — One or more request fields failed validation |","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"36252396","team":14415122,"collectionId":"370e2838-a027-48a1-9568-20ed855264d5","publishedId":"2sBXqFPNws","public":true,"publicUrl":"https://documenter-api.postman.tech/view/36252396/2sBXqFPNws","privateUrl":"https://go.postman.co/documentation/36252396-370e2838-a027-48a1-9568-20ed855264d5","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"system_default","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.11.4","publishDate":"2026-04-23T11:41:52.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/17cec5c7f6776d9f0cc852bb3b1dfb50bbb550734d907cf87a5c77aa12109e74","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sBXqFPNws"}