/api/v1/labels/batches (GET)
GET
/api/v1/labels/batches
const url = 'https://example.com/api/v1/labels/batches?limit=20';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/labels/batches?limit=20' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
integer
cursor
string
locationId
string format: uuid
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
items
required
Array<object>
object
id
required
string format: uuid
locationId
required
string format: uuid
kind
required
string
stock
required
string
startCell
required
number
createdAt
required
string
printedConfirmedAt
required
string | null
labels
required
Array<object>
object
code
required
string
url
required
string
kind
required
string
name
string
path
string
targetId
string format: uuid
next_cursor
required
string | null
Example
{ "items": [ { "kind": "things", "labels": [ { "kind": "thing" } ] } ]}