ZSD Rest API Pagination

Hi,

I have been playing around with the REST API for ZSD and I'm having issues with pagination. I'm doing the below in powershell to retrieve all the item types:

function ZSD-GetItems {
    $params = @{
        method = "GET"
        uri = "https://<url>/LiveTime/services/v1/customer/allItemTypes"
        Authentication = "Bearer"
        Token = $Token
        ContentType = "application/json"
    }
    $global:allItems = Invoke-RestMethod @params -SkipCertificateCheck -ResponseHeadersVariable "Headers"
    $headers
}

This does retrieve 131 items, however is not the complete list of items. Presumably, this is because the data is paginated and is restricted to this many items on one page.

The issue I'm having is, how to iterate through the other pages? Looking at the response headers, there are no links, nextpage, offset etc and this is all that is returned:

{
"Cache-Control": [
"private"
],
"Strict-Transport-Security": [
"max-age=31536000;includeSubDomains;preload"
],
"X-Frame-Options": [
"DENY"
],
"X-Content-Type-Options": [
"nosniff"
],
"Access-Control-Allow-Credentials": [
"true"
],
"Access-Control-Allow-Origin": [
"*"
],
"Access-Control-Allow-Headers": [
"X-Requested-With, Content-Type, Cache-Control"
],
"Access-Control-Allow-Methods": [
"GET, POST, DELETE, PUT, HEAD, OPTIONS"
],
"X-XSS-Protection": [
"1; mode=block"
],
"Vary": [
"accept-encoding"
],
"Transfer-Encoding": [
"chunked"
],
"Date": [
"Sat, 02 Nov 2024 12:14:02 GMT"
],
"Content-Type": [
"application/json"
]
}

I've looked through the REST API documentation but can't find anything in regards to how to handle this? Any insight or links to documentation would be appreciated.