Skip to main content

Get a list of stock details

Retrieves a paged collection of stock details (required scope stock:read)

Query Parameters
    sortBy StockDetailsSortOptions

    Possible values: [model]

    The field to sort items in the page by

    direction SortDirection

    Possible values: [ascending, descending]

    The direction to apply the sort

    id int64[]

    Only return stock details where id matches the value(s) provided

    productCategoryId int64[]

    Only return stock details where productCategoryId matches the value(s) provided

    modelNumber string[]

    Only return stock details where modelNumber matches the value(s) provided

    isConsumable boolean

    Only return stock details where isConsumable matches the value provided

    stockCode string[]

    Only return stock details where stockCode matches the value(s) provided

    batchNumber string[]

    Only return stock details where batchNumber matches the value(s) provided

    pageNumber int32

    Possible values: >= 1 and <= 2147483

    The page number being requested (minimum: 1, maximum: 2147483)

    pageSize int32

    Possible values: >= 1 and <= 1000

    The page size being requested (minimum: 1, maximum: 1000)

Header Parameters
    Customer-Id int64 required

    The customer identifier

Responses

Success


Schema
    items object[]

    The items returned for the requested page

  • Array [
  • id int64

    The unique identifier of the stock details

    make string nullable

    The manufacturer or brand of the stock

    model string

    The model name of the stock details

    sellingPrice double nullable

    The selling price of the stock

    currencyCode CurrencyRead

    Possible values: [eur, aud, gbp, bgn, cad, czk, dkk, huf, ils, lvl, ltl, mxn, nzd, nok, pln, ron, rub, zar, sek, chf, aed, usd, unknown]

    Currency definitions enum, matches currencies available in the BigChange Client Site with an unknown value to handle unrecognised currencies returned from the database

    Possible values:

    • eur: Euro
    • aud: Australian Dollar
    • gbp: Pound Sterling
    • bgn: Bulgarian Lev
    • cad: Canadian Dollar
    • czk: Czech Koruna
    • dkk: Danish Krone
    • huf: Forint
    • ils: New Israeli Sheqel
    • lvl: Latvian Lats - replaced by Euro
    • ltl: Lithuanian Litas - replaced by Euro
    • mxn: Mexican Peso
    • nzd: New Zealand Dollar
    • nok: Norwegian Krone
    • pln: Zloty
    • ron: Romanian Leu
    • rub: Russian Ruble
    • zar: Rand
    • sek: Swedish Krona
    • chf: Swiss Franc
    • aed: UAE Dirham
    • usd: US Dollar
    • unknown: Unknown currency

    departmentCodeId int64 nullable

    The department code of the stock

    nominalCodeId int64 nullable

    The nominal code associated with the stock for accounting purposes

    notes string nullable

    Notes associated with the stock

    productCategoryId int64

    The unique identifier of the product category related to this stock details

    isConsumable boolean

    Indicates whether the stock is a consumable item or not. Default is false

    modelNumber string nullable

    The unique number assigned by the manufacturer to identify the model of the stock

    stockCode string nullable

    The unique number or barcode assigned to each individual stock for identification and tracking

    batchNumber string nullable

    The batch number of the stock

    taxId int64 nullable

    The identifier of the tax (vat) associated with the stock

    taxPercentage double nullable

    The tax (vat) percentage of the stock

    size double nullable

    The dimensions or volume of the stock (m3)

    weight double nullable

    The weight of the stock (kg)

    createdAt date-time

    The UTC timestamp of when this stock details was created

  • ]
  • pageNumber int32

    The page number of the response where 1 is the first page

    pageSize int32

    The number of items requested for the current page

    pageItemCount int32

    The number of items returned in the current page

Loading...