Batch API
11 endpoints
Batch processing and serial number management.
Get a single batch by ID for a collection and product (admin only).
Get a single batch by ID for a collection and product (admin only).
Endpoint
/admin/collection/{collectionId}/product/{collectionId}/batch/{batchId}Parameters
batchIdpath
string
Required
Responses
200
Success{
"schema": "BatchResponse"
}400
Bad request401
Unauthorized404
Not foundUpdate a batch for a collection and product (admin only).
Update a batch for a collection and product (admin only).
Endpoint
/admin/collection/{collectionId}/product/{collectionId}/batch/{batchId}Parameters
batchIdpath
string
Required
bodybody
BatchUpdateRequest
Required
See BatchUpdateRequest schema
Responses
200
Success{
"schema": "BatchResponse"
}400
Bad request401
Unauthorized404
Not foundDelete a batch for a collection and product (admin only).
Delete a batch for a collection and product (admin only).
Endpoint
/admin/collection/{collectionId}/product/{collectionId}/batch/{batchId}Parameters
batchIdpath
string
Required
Responses
200
Success400
Bad request401
Unauthorized404
Not foundList all batches for a collection and product (admin only).
List all batches for a collection and product (admin only).
Endpoint
/admin/collection/{collectionId}/product/{productId}/batchParameters
productIdpath
string
Required
Responses
200
Success400
Bad request401
Unauthorized404
Not foundList all batches for a collection and product (admin only).
List all batches for a collection and product (admin only).
Endpoint
/admin/collection/{collectionId}/product/{productId}/batchParameters
productIdpath
string
Required
bodybody
BatchCreateRequest
Required
See BatchCreateRequest schema
Responses
200
Success{
"schema": "BatchResponse"
}400
Bad request401
Unauthorized404
Not foundEndpoint
/admin/collection/{collectionId}/batchParameters
collectionIdpath
string
Required
Responses
200
Success400
Bad request401
Unauthorized404
Not foundFind a specific batch by ID across all products in a collection.
Find a specific batch by ID across all products in a collection.
Endpoint
/admin/collection/{collectionId}/batch/{batchId}Parameters
collectionIdpath
string
Required
batchIdpath
string
Required
Responses
200
Success{
"schema": "BatchResponse"
}400
Bad request401
Unauthorized404
Not foundGet serial numbers for a batch (admin only).
Get serial numbers for a batch (admin only).
Endpoint
/admin/collection/{collectionId}/product/{productId}/batch/{batchId}/getSNParameters
collectionIdpath
string
Required
productIdpath
string
Required
batchIdpath
string
Required
Responses
200
Success400
Bad request401
Unauthorized404
Not foundLook up a serial number by code for a batch (admin only).
Look up a serial number by code for a batch (admin only).
Endpoint
/admin/collection/{collectionId}/product/{productId}/batch/{batchId}/lookupSN/{codeId}Parameters
collectionIdpath
string
Required
productIdpath
string
Required
batchIdpath
string
Required
codeIdpath
string
Required
Responses
200
Success400
Bad request401
Unauthorized404
Not foundGet a single batch by ID for a collection and product (public endpoint).
Get a single batch by ID for a collection and product (public endpoint).
Endpoint
/public/collection/{collectionId}/product/{collectionId}/batch/{batchId}Parameters
batchIdpath
string
Required
Responses
200
Success{
"schema": "BatchResponse"
}400
Bad request401
Unauthorized404
Not found