Returns a list of serial numbers

❗

Partly deprecated. The resource_type and resource_id filters, and the call with no filter, will be removed in May 2027. Filter with variant_id, ids, serial_number, expiration_date_min or expiration_date_max, and read the serial numbers of a document from its traceability.

The query parameters decide what the call returns.

Serial numbers (query with variant_id, ids, serial_number, expiration_date_min or
expiration_date_max, and no resource_type or resource_id): returns serial numbers, sorted by id. These
filters work together. A new serial number is returned at once, also before it has a stock movement. With
resource_type or resource_id, these filters return 422.

Serial numbers on a resource (deprecated) (query with resource_type and resource_id): returns the serial numbers
linked to the specified resource.

With none of these parameters, the call returns the serial numbers of the stock movements of every resource.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer

Returns the serial numbers of this product variant.

ids
array of integers

Returns the serial numbers with these ids.

ids
string

Returns the serial numbers with this full number. Part of a number does not match.

date-time

Returns the serial numbers that expire at or after this time. ISO 8601 date-time.

date-time

Returns the serial numbers that expire at or before this time. ISO 8601 date-time.

enum
deprecated

Resource type. Returns the serial numbers on a resource, with resource_id. Deprecated: will be removed in May 2027. Use variant_id, ids, serial_number, expiration_date_min or expiration_date_max instead, and read the serial numbers of a document from its traceability.

Allowed:
integer
deprecated

Resource id. Deprecated: will be removed in May 2027. Use variant_id, ids, serial_number, expiration_date_min or expiration_date_max instead, and read the serial numbers of a document from its traceability.

string

Used for pagination (default is 50)

string

Used for pagination (default is 1)

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Choose an example:
application/json