Stock Lots V2

Create stock lot

Changed on

Create a stock lot

post/stock-lots

Request

  • Base URL: /api/v2 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v2/stock-lots
  • Auth: loggedin (a scheme the document does not define)

Request body

item_idstring required

Listing item UUID

quantitynumber double required

Quantity (must be > 0)

location_idstring

Optional location UUID

listedboolean

Whether to list for sale (default: true)

notesstring

Optional notes

Response

Created stock lot

Changes

    • ○

      the endpoint scheme security loggedin was added to the API

    • ○

      the endpoint scheme security jwt was removed from the API