Przejdź do głównej zawartości

Paper

Dla: Programista

Typ obiektowyPaper

A paper (or other substrate) kept in the warehouse, with its stock in sheets.

Pola

PoleTypOpis
barcodeString

Barcode on the paper's labels; null when it has none.

codeString!

Warehouse code of the paper, unique and given by Prynt, e.g. "PA-12".

colorString!

Color of the paper, as text (e.g. "white").

createdAtDateTime!

When the paper was added.

currencyString!

Currency of the purchase prices, a 3-letter code (e.g. PLN).

formatString!

Sheet format as text, e.g. "70x100", "SRA3" or "B1".

formatHeightMmFloat

Sheet height in millimeters (up to 2 decimals); null when unknown.

formatWidthMmFloat

Sheet width in millimeters (up to 2 decimals); null when unknown.

fscQuantitySheetsFloat!

FSC-certified part of the stock, in sheets: a whole number, never above quantitySheets.

grammageFloat!

Grammage in g/m2, e.g. 130 or 300 (up to 2 decimals).

idID!

Identifier of the paper.

isFscBoolean!

Whether the paper is also stocked as FSC-certified.

isStockBoolean!

True when the print shop keeps the paper in stock. False for a paper kept for pricing only (a calculation may still price it): the print shop does not track its stock, and an API key cannot receive or issue it (PAPER_PRICING_ONLY). Switching the flag changes nothing else: stock and movements booked earlier remain, and people in the app may still book it. Warehouse integrations usually filter isStock: true.

lastIssuedAtDateTime

When paper was last issued from stock; null when never.

locationString

Warehouse location, e.g. "A-1-2"; null when not set.

minimumStockFloat

Minimum stock level in sheets: below it the paper counts as low on stock (lowStock filter); null when not set.

nameString!

Name of the paper, e.g. "Kreda mat 130g".

notesString

Notes of the warehouse about the paper; null when none.

paperTypePaperType!

The kind of paper.

pricePerKgFloat

Purchase price per kilogram, in currency (up to 4 decimals); null when not set.

Wymaga zakresu prices:read.

pricePerSheetFloat

Purchase price per sheet, in currency (up to 4 decimals); null when not set.

Wymaga zakresu prices:read.

quantityKgFloat

Stock in kilograms as recorded on the card (up to 3 decimals; not recalculated from sheets); null when not kept.

quantitySheetsFloat!

Stock in sheets: a whole number, never below zero. Every receipt, issue and stock-take adjustment changes it and is listed in stockMovements.

supplierIdID

The preferred supplier of the paper (Query.supplier); null when not set.

supplierNameString

Supplier name as typed on the card (older papers); prefer supplierId.

unitPaperUnit!

Unit the print shop buys and counts this paper in. The stock (quantitySheets) is always in sheets.

updatedAtDateTime!

When the paper or its stock last changed: an edit of the card that changes a field (saving the same values changes nothing), and every receipt, issue, purchase-order delivery and stock-take adjustment. What updatedFrom and the UPDATED_AT sort read.

Używane w