GET v1/SerialNumbers?fields={fields}&where={where}&order={order}&page={page}&rows={rows}

Get a list of Serial Numbers.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fields

A comma-separated list of field names

string

None.

where

A where clause

string

None.

order

An order by clause

string

None.

page

The page number (default: 1)

integer

Default value is 1

rows

Rows per page (default: 50, maximum: 250)

integer

Default value is 50

Body Parameters

None.

Response Information

Resource Description

Collection of SerialNumber
NameDescriptionTypeAdditional information
Id

The unique Cin7 Id.

integer

None.

Serialnumber

Serial number

string

None.

ProductId

The unique Cin7 product Id.

integer

None.

ProductOptionId

The unique product option Id.

integer

None.

LineItemId

The ID for the respective line item.

integer

None.

Code

The unique Cin7 price option code.

string

None.

HoldingGroup

Holding Group

string

None.

BranchId

The unique Cin7 member Id of the branch.

integer

None.

Available

Available

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "serialnumber": "BARCODE-FOR-BLUE-T",
    "productId": 1,
    "productOptionId": 0,
    "lineItemId": 0,
    "code": "SKU-BLUE-T",
    "holdingGroup": "",
    "branchId": 0,
    "available": 10.0
  }
]