{
  "info": {
    "name": "DeCA Profesional API v1",
    "description": "Fill the apiKey variable in a Postman environment (never in the shared collection). Dates DD-MM-YYYY; times in Europe/Madrid time. Error messages come in English when the request sends Accept-Language: en; branch on error.code.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://decaprofesional.es"
    },
    {
      "key": "apiKey",
      "value": ""
    },
    {
      "key": "decaId",
      "value": ""
    },
    {
      "key": "externalId",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "GET /api/v1/me",
      "request": {
        "method": "GET",
        "description": "Checks the credential: integration, company, permissions, limits and usage this month.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/me",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "me"
          ]
        }
      }
    },
    {
      "name": "POST /api/v1/decas/validate",
      "request": {
        "method": "POST",
        "description": "Validates a DeCA without creating it: same rules as creation.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/validate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "validate"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"externalId\": \"TR-45882\",\n  \"reference\": \"Pedido 88231\",\n  \"loadDate\": \"06-10-2026\",\n  \"unloadDate\": \"07-10-2026\",\n  \"vehicle\": {\n    \"tractorPlate\": \"1234 KLM\",\n    \"trailerPlate\": \"R-5678-BBC\"\n  },\n  \"shipper\": {\n    \"name\": \"CERÁMICAS DEL MEDITERRÁNEO S.A.\",\n    \"taxId\": \"A12345674\",\n    \"country\": \"ES\",\n    \"address\": \"Carretera de Alcora km 3\",\n    \"postalCode\": \"12006\",\n    \"city\": \"Castellón de la Plana\"\n  },\n  \"carrier\": \"self\",\n  \"shipments\": [\n    {\n      \"loadLocation\": {\n        \"name\": \"Planta 1\",\n        \"address\": \"Carretera de Alcora km 3\",\n        \"postalCode\": \"12006\",\n        \"city\": \"Castellón de la Plana\",\n        \"province\": \"Castellón\",\n        \"country\": \"ES\"\n      },\n      \"unloadLocation\": {\n        \"name\": \"Entrepôt Lyon Sud\",\n        \"address\": \"12 Rue du Port\",\n        \"postalCode\": \"69007\",\n        \"city\": \"Lyon\",\n        \"country\": \"FR\"\n      },\n      \"goods\": \"Azulejo cerámico en palés\",\n      \"weight\": 18400,\n      \"recipient\": \"Céramique Rhône SARL\"\n    }\n  ]\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "POST /api/v1/decas",
      "request": {
        "method": "POST",
        "description": "Creates a DeCA and returns the verification URL, the reference and the PDF.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"externalId\": \"TR-45882\",\n  \"reference\": \"Pedido 88231\",\n  \"loadDate\": \"06-10-2026\",\n  \"unloadDate\": \"07-10-2026\",\n  \"vehicle\": {\n    \"tractorPlate\": \"1234 KLM\",\n    \"trailerPlate\": \"R-5678-BBC\"\n  },\n  \"shipper\": {\n    \"name\": \"CERÁMICAS DEL MEDITERRÁNEO S.A.\",\n    \"taxId\": \"A12345674\",\n    \"country\": \"ES\",\n    \"address\": \"Carretera de Alcora km 3\",\n    \"postalCode\": \"12006\",\n    \"city\": \"Castellón de la Plana\"\n  },\n  \"carrier\": \"self\",\n  \"shipments\": [\n    {\n      \"loadLocation\": {\n        \"name\": \"Planta 1\",\n        \"address\": \"Carretera de Alcora km 3\",\n        \"postalCode\": \"12006\",\n        \"city\": \"Castellón de la Plana\",\n        \"province\": \"Castellón\",\n        \"country\": \"ES\"\n      },\n      \"unloadLocation\": {\n        \"name\": \"Entrepôt Lyon Sud\",\n        \"address\": \"12 Rue du Port\",\n        \"postalCode\": \"69007\",\n        \"city\": \"Lyon\",\n        \"country\": \"FR\"\n      },\n      \"goods\": \"Azulejo cerámico en palés\",\n      \"weight\": 18400,\n      \"recipient\": \"Céramique Rhône SARL\"\n    }\n  ]\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "GET /api/v1/decas",
      "request": {
        "method": "GET",
        "description": "Lists the DeCAs, newest first, with cursor pagination.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/decas/{id}",
      "request": {
        "method": "GET",
        "description": "The full DeCA: status, service period, verification URL, PDF and data.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/{{decaId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "{{decaId}}"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/decas/{id}/status",
      "request": {
        "method": "GET",
        "description": "Lightweight status (version, availability, verification URL) for periodic polling.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/{{decaId}}/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "{{decaId}}",
            "status"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/decas/{id}/versions",
      "request": {
        "method": "GET",
        "description": "Version history: reason for the change, origin (api / user), and the URL and PDF of each version.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/{{decaId}}/versions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "{{decaId}}",
            "versions"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/decas/{id}/pdf",
      "request": {
        "method": "GET",
        "description": "Downloads the PDF (current version or ?version=N).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/{{decaId}}/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "{{decaId}}",
            "pdf"
          ]
        }
      }
    },
    {
      "name": "POST /api/v1/decas/{id}/corrections",
      "request": {
        "method": "POST",
        "description": "Corrects a DeCA: creates a new version with a new URL, QR code and PDF.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/{{decaId}}/corrections",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "{{decaId}}",
            "corrections"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "GET /api/v1/decas/{id}/vehicles",
      "request": {
        "method": "GET",
        "description": "Vehicles of the transport: the initial one and every recorded change, with the current one flagged.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/{{decaId}}/vehicles",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "{{decaId}}",
            "vehicles"
          ]
        }
      }
    },
    {
      "name": "POST /api/v1/decas/{id}/vehicle-changes",
      "request": {
        "method": "POST",
        "description": "Records a vehicle change (tractor unit and, if it changes, trailer) during the transport.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/{{decaId}}/vehicle-changes",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "{{decaId}}",
            "vehicle-changes"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "POST /api/v1/decas/{id}/annulment",
      "request": {
        "method": "POST",
        "description": "Annuls a DeCA. The annulment is final; repeating the call returns 200 with no changes.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/{{decaId}}/annulment",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "{{decaId}}",
            "annulment"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "POST /api/v1/decas/{id}/completion-request",
      "request": {
        "method": "POST",
        "description": "Asks a third party, by email, for the data missing from a draft.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/{{decaId}}/completion-request",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "{{decaId}}",
            "completion-request"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "POST /api/v1/decas/{id}/completion-request/resend",
      "request": {
        "method": "POST",
        "description": "Resends the request with a new link (the previous one stops working).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/{{decaId}}/completion-request/resend",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "{{decaId}}",
            "completion-request",
            "resend"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "POST /api/v1/decas/batch",
      "request": {
        "method": "POST",
        "description": "Creates up to 50 DeCAs in a single call (batch).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/batch",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "batch"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "GET /api/v1/batches/{id}",
      "request": {
        "method": "GET",
        "description": "Status of the batch and result of each item (created, replayed, failed, pending).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/batches/{{decaId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "batches",
            "{{decaId}}"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/batches/{id}/pdfs",
      "request": {
        "method": "GET",
        "description": "Downloads a ZIP file with the current PDF of each DeCA created by the batch.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/batches/{{decaId}}/pdfs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "batches",
            "{{decaId}}",
            "pdfs"
          ]
        }
      }
    },
    {
      "name": "POST /api/v1/drafts",
      "request": {
        "method": "POST",
        "description": "Opens a new, independent draft (partial data). It does not use up the allowance.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Idempotency-Key",
            "value": "{{$guid}}"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/drafts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "drafts"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "GET /api/v1/drafts",
      "request": {
        "method": "GET",
        "description": "Lists the drafts: status=open (default) | generated | cancelled | all.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/drafts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "drafts"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/drafts/{id}",
      "request": {
        "method": "GET",
        "description": "A draft, with ready and issues (what is still missing before it can be generated).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/drafts/{{decaId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "drafts",
            "{{decaId}}"
          ]
        }
      }
    },
    {
      "name": "PATCH /api/v1/drafts/{id}",
      "request": {
        "method": "PATCH",
        "description": "Modifies or completes an open draft (JSON Merge Patch).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/drafts/{{decaId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "drafts",
            "{{decaId}}"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "POST /api/v1/drafts/{id}/generate",
      "request": {
        "method": "POST",
        "description": "Generates the final DeCA from that draft; the other drafts do not change.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/drafts/{{decaId}}/generate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "drafts",
            "{{decaId}}",
            "generate"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "DELETE /api/v1/drafts/{id}",
      "request": {
        "method": "DELETE",
        "description": "Discards an open draft (it becomes cancelled).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/drafts/{{decaId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "drafts",
            "{{decaId}}"
          ]
        }
      }
    },
    {
      "name": "POST /api/v1/decas/{id}/service-completion",
      "request": {
        "method": "POST",
        "description": "Marks the service as finished (operational data; the DeCA, its PDF and its URL do not change).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/{{decaId}}/service-completion",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "{{decaId}}",
            "service-completion"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "DELETE /api/v1/decas/{id}/service-completion",
      "request": {
        "method": "DELETE",
        "description": "Reopens a service marked as finished (it goes back to pending).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/decas/{{decaId}}/service-completion",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "decas",
            "{{decaId}}",
            "service-completion"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/load-orders",
      "request": {
        "method": "GET",
        "description": "Lists the load orders: number, status, format (combined or separate), linked DeCA, pending plates and acceptance.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/load-orders",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "load-orders"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/load-orders/{id}",
      "request": {
        "method": "GET",
        "description": "A load order: status, current version, linked DeCA and acceptance by the carrier.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/load-orders/{{decaId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "load-orders",
            "{{decaId}}"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/load-orders/{id}/pdf",
      "request": {
        "method": "GET",
        "description": "The PDF of the current version of the load order.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/load-orders/{{decaId}}/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "load-orders",
            "{{decaId}}",
            "pdf"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/saved/companies",
      "request": {
        "method": "GET",
        "description": "Lists the saved companies (shippers and carriers) of the company.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/companies",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "companies"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/saved/companies/{externalId}",
      "request": {
        "method": "GET",
        "description": "Reads a record by the identifier from your ERP or TMS (externalId).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/companies/{{externalId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "companies",
            "{{externalId}}"
          ]
        }
      }
    },
    {
      "name": "PUT /api/v1/saved/companies/{externalId}",
      "request": {
        "method": "PUT",
        "description": "Creates or updates the record with that externalId (sync without duplicates).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/companies/{{externalId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "companies",
            "{{externalId}}"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "DELETE /api/v1/saved/companies/{externalId}",
      "request": {
        "method": "DELETE",
        "description": "Deletes the record with that externalId.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/companies/{{externalId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "companies",
            "{{externalId}}"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/saved/vehicles",
      "request": {
        "method": "GET",
        "description": "Lists the saved vehicles (with their usual driver) of the company.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/vehicles",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "vehicles"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/saved/vehicles/{externalId}",
      "request": {
        "method": "GET",
        "description": "Reads a record by the identifier from your ERP or TMS (externalId).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/vehicles/{{externalId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "vehicles",
            "{{externalId}}"
          ]
        }
      }
    },
    {
      "name": "PUT /api/v1/saved/vehicles/{externalId}",
      "request": {
        "method": "PUT",
        "description": "Creates or updates the record with that externalId (sync without duplicates).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/vehicles/{{externalId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "vehicles",
            "{{externalId}}"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "DELETE /api/v1/saved/vehicles/{externalId}",
      "request": {
        "method": "DELETE",
        "description": "Deletes the record with that externalId.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/vehicles/{{externalId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "vehicles",
            "{{externalId}}"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/saved/places",
      "request": {
        "method": "GET",
        "description": "Lists the saved loading and unloading places of the company.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/places",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "places"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/saved/places/{externalId}",
      "request": {
        "method": "GET",
        "description": "Reads a record by the identifier from your ERP or TMS (externalId).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/places/{{externalId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "places",
            "{{externalId}}"
          ]
        }
      }
    },
    {
      "name": "PUT /api/v1/saved/places/{externalId}",
      "request": {
        "method": "PUT",
        "description": "Creates or updates the record with that externalId (sync without duplicates).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/places/{{externalId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "places",
            "{{externalId}}"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "DELETE /api/v1/saved/places/{externalId}",
      "request": {
        "method": "DELETE",
        "description": "Deletes the record with that externalId.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/places/{{externalId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "places",
            "{{externalId}}"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/saved/shipments",
      "request": {
        "method": "GET",
        "description": "Lists the saved shipments (loading place + unloading place + goods) of the company.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/shipments",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "shipments"
          ]
        }
      }
    },
    {
      "name": "GET /api/v1/saved/shipments/{externalId}",
      "request": {
        "method": "GET",
        "description": "Reads a record by the identifier from your ERP or TMS (externalId).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/shipments/{{externalId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "shipments",
            "{{externalId}}"
          ]
        }
      }
    },
    {
      "name": "PUT /api/v1/saved/shipments/{externalId}",
      "request": {
        "method": "PUT",
        "description": "Creates or updates the record with that externalId (sync without duplicates).",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/shipments/{{externalId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "shipments",
            "{{externalId}}"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "DELETE /api/v1/saved/shipments/{externalId}",
      "request": {
        "method": "DELETE",
        "description": "Deletes the record with that externalId.",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/saved/shipments/{{externalId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "saved",
            "shipments",
            "{{externalId}}"
          ]
        }
      }
    }
  ]
}