Retrieve a contractor

Retrieve a specific contractor with its UUID.

GET /aos/v1/contractors/{contractorId}

Query params

Parameter Type Mandatory
contractorId string (uuid) yes

Response

Status: 200 OK
{
    "contractor": {
        "id": "97740901-4e74-4013-8219-ee10b4c64652",
        "name": "ENT",
        "information": {
            "fiscal_number": "12345678901234"
        },
        "addresses": [
            {
                "number": "1",
                "address": "rue de l'entreprise",
                "zip_code": "75008",
                "city": "PARIS",
                "country": "fr"
            }
        ],
        "contact": {
            "id": "97740901-4e74-4013-8219-ee10b4c64653",
            "first_name": "ENT",
            "last_name": "ENT",
            "email": "entreprise@example.com",
            "phone": "+33102030405",
            "mobile": null
        },
        "created_at": "2018-04-09T14:09:11.103000Z",
        "updated_at": "2021-06-25T08:44:00.074000Z"
    }
}