The BatchNumbers resource allows you to manage batch numbers on sales orders and sales shipments. An individual batch number details can be viewed by appending its identifier (a GUID formatted as XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX) to the URI.
The full range of URIs and HTTP Verbs supported are:
The following filters can be used with the GET BatchNumbers endpoint by adding the filter and value to the URI.
For example: /BatchNumbers?pageSize=100
Filter
Description
pageSize
Specifies the page size for pagination. Default page size is 200 batch numbers.
Note: Requesting large numbers of batch numbers can be susceptible to poor network performance. Please reduce the page size if you experience delayed requests.
ProductCode
Returns batch numbers attached to the product code.
WarehouseCode
Returns batch numbers attached to the warehouse.
startDate
Returns batch numbers created after a specified date.
endDate
Returns batch numbers created before a specified date.
expiryFrom
Returns batch numbers expired after a specified date.
expiryTo
Returns batch numbers expired before a specified date.
modifiedSince
Returns batch numbers created or edited after a specified date. For example: modifiedSince=2016-07-01, modifiedSince=2016-07-01T19:54:18.060.
batchNumber
Returns a list of batch numbers containing this string.
available
If set to false, returns all batch numbers. Default value is true and returns only the available batch numbers.