Provisioner

A Provisioner is synonymous with a Pax8 Vendor. Provisioner systems provision orders sent to them by Pax8.

Endpoints

GET /provisioners
GET /provisioners/{provisionerId}
PUT /provisioners/{provisionerId}

Provisioner Object

{
    "id": "ff50b383-0ba6-4fc4-ad30-f19483c1acfb",
    "name": "Example",
    "createdDate": "2022-10-03T10:15:30Z",
    "vendorId": "e8fe7b5f-450f-44ab-8f8f-bb9bf64899ab"
}

Get All Provisioners

GET /provisioners
{
    "page": {
        "size": 10,
        "totalElements": 10,
        "totalPages": 10,
        "number": 1
    },
    "content": [
        {
            "id": "ff50b383-0ba6-4fc4-ad30-f19483c1acfb",
            "name": "Example",
            "createdDate": "2022-10-03T10:15:30Z",
            "vendorId": "e8fe7b5f-450f-44ab-8f8f-bb9bf64899ab"
        }
    ]
}

Get One Provisioner

GET /provisioners/{provisionerId}
{
    "id": "ff50b383-0ba6-4fc4-ad30-f19483c1acfb",
    "name": "Example",
    "createdDate": "2022-10-03T10:15:30Z",
    "vendorId": "e8fe7b5f-450f-44ab-8f8f-bb9bf64899ab"
}

Update a Provisioner

PUT /provisioners/{provisionerId}
{
    "name": "Example",
    "createdDate": "2022-10-03T10:15:30Z",
    "vendorId": "e8fe7b5f-450f-44ab-8f8f-bb9bf64899ab"
}
{
    "id": "ff50b383-0ba6-4fc4-ad30-f19483c1acfb",
    "name": "Example",
    "createdDate": "2022-10-03T10:15:30Z",
    "vendorId": "e8fe7b5f-450f-44ab-8f8f-bb9bf64899ab"
}