{
  "opencollection": "1.0.0",
  "info": {
    "name": "lexoffice (lexware Office) Public Contacts API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Contacts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Filter and list contacts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.lexware.io/v1/contacts",
            "params": [
              {
                "name": "email",
                "value": "",
                "type": "query"
              },
              {
                "name": "name",
                "value": "",
                "type": "query"
              },
              {
                "name": "number",
                "value": "",
                "type": "query"
              },
              {
                "name": "customer",
                "value": "",
                "type": "query"
              },
              {
                "name": "vendor",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Zero-based page index."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "Page size (max 250 for most collections)."
              }
            ]
          },
          "docs": "Returns a paged list of contacts. Supports filter query parameters such as email, name, number, customer, and vendor."
        },
        {
          "info": {
            "name": "Create a contact",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.lexware.io/v1/contacts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new contact (customer and/or vendor)."
        },
        {
          "info": {
            "name": "Retrieve a contact",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.lexware.io/v1/contacts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The UUID of the resource."
              }
            ]
          },
          "docs": "Retrieves a single contact by its UUID."
        },
        {
          "info": {
            "name": "Update a contact",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.lexware.io/v1/contacts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The UUID of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing contact. The current version number must be supplied for optimistic locking."
        }
      ]
    }
  ],
  "bundled": true
}