Documentation for batches.get() states that Batch shipments are displayed 100 at a time. You can iterate through each page using the ?page= query parameter. You can also filter based on batch shipment status, for example, by passing a query param like ?object_results=creation_failed..
Unfortunately there is no way to do this, as only parameters that you can pass are batchId and options(they dont allow for passing page either). In Postman I succeeded to fetch more pages, so this is supported in REST API.
@rutkowskib thanks for bringing this up. We are in the process of getting this addressed and will update this ticket when the SDK is updated with the fix.
Documentation for
batches.get()
states thatBatch shipments are displayed 100 at a time. You can iterate through each page using the ?page= query parameter. You can also filter based on batch shipment status, for example, by passing a query param like ?object_results=creation_failed.
.Unfortunately there is no way to do this, as only parameters that you can pass are batchId and options(they dont allow for passing page either). In Postman I succeeded to fetch more pages, so this is supported in REST API.