StockTransactions

Search for stock transaction

Represents changes to product stock and costprice

get/stocktransactions

Request

  • Base URL
    https://api.c1st.com/api
  • URL
    https://api.c1st.com/api/stocktransactions
  • Auth
    HTTP bearer

Query parameters

productidinteger

The ID of the product

stocktransactionlistidinteger

The ID of the stock transaction list

cursorstring

Cursor for pagination. If parameter is set, paginationStart will be ignored. Only allowed for default sorting or based on id.

paginationStartinteger
Example:100

Deprecated, use cursor instead. Determine the offset (in number of items) to fetch. This is usually a multiple of the pageLength.

paginationPageLengthinteger

Determine the number of items to fetch in one page.

orderlistidinteger

Filter by the orderlistid

sortstring
sortOrderinteger

-1 being descending and 1 being ascending.

committed_afterstring

Get all stocktransactions committed after the given date

Response

Ok

countinteger nullable

The total number of items found by the query if ignoring pagination.

hasMoreboolean

True if there are data to retrieve than the given page length

nextCursorstring nullable

Cursor for next page when using cursor based pagination.

Changes

No recorded changes to this operation across all 1 revision of this API.