# Contracts

# Access existing contracts

In order to view all your existing contracts you can use any of the following two endpoints:

# Example Request

POST /contracts

# Example Response

[
  {
    "id": "ed2631a2-630c-563a-b433-c51faa3ac016",
    "currency": "EUR",
    "customer_number": "DPS-12345",
    "references": [],
    "consumer_id": "84bb7fea-d7c2-5383-aef4-e3ae1c1c6784",
    "consumer": {
      "id": "84bb7fea-d7c2-5383-aef4-e3ae1c1c6784",
      "display_name": "Doe Print Services",
      "links": [
        {
          "rel": "self",
          "href": null
        }
      ]
    },
    "supplier_id": "a362331b-e105-5ead-a691-e767ce70dd11",
    "supplier": {
      "id": "a362331b-e105-5ead-a691-e767ce70dd11",
      "display_name": "Smith Papers",
      "links": [
        {
          "rel": "self",
          "href": "/consumers/api/v1/suppliers/smith_papers"
        }
      ]
    },
    "created_at": "2020-11-02T12:41:29.180Z",
    "updated_at": "2020-11-02T12:41:29.180Z"
  }
]

# Removing contracts

Removing existing contracts is, as we refer to it, a highly destructive action. Thus we need to ensure that only authorized persons can delete those after careful consideration.

For that reason, we only allow the removal of contracts within the Procurement Interface.