The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.
Get list of serial numbers
GET
https://api.pack.cloud/v1/organizations/{organizationId}/serial-numbers
Request
Path parameters
organizationIdstring
Query parameters
filter[product_id]string
filter[stock_id]string
filter[code]string
Response
OK
Body
idstring
ID of the serial number
product_idstring
ID of the linked product
stock_idstringnull
ID of the stock containing this serial number
fulfillment_line_idstringnull
ID of the fulfillment line that shipped this serial number
codestring
The serial number itself
Example:ABC123-XYZ456-789QWE
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
idstring
ID of the serial number
product_idstring
ID of the linked product
stock_idstringnull
ID of the stock containing this serial number
fulfillment_line_idstringnull
ID of the fulfillment line that shipped this serial number
codestring
The serial number itself
Example:ABC123-XYZ456-789QWE
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
idstring
ID of the serial number
product_idstring
ID of the linked product
stock_idstringnull
ID of the stock containing this serial number
fulfillment_line_idstringnull
ID of the fulfillment line that shipped this serial number
codestring
The serial number itself
Example:ABC123-XYZ456-789QWE
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
idstring
ID of the serial number
product_idstring
ID of the linked product
stock_idstringnull
ID of the stock containing this serial number
fulfillment_line_idstringnull
ID of the fulfillment line that shipped this serial number
codestring
The serial number itself
Example:ABC123-XYZ456-789QWE
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
idstring
ID of the serial number
product_idstring
ID of the linked product
stock_idstringnull
ID of the stock containing this serial number
fulfillment_line_idstringnull
ID of the fulfillment line that shipped this serial number
codestring
The serial number itself
Example:ABC123-XYZ456-789QWE
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25