Przejdź do głównej zawartości

Product

Dla: Programista

Typ obiektowyProduct

A product of an order: one item the print shop makes (for example a book or leaflets), with its print run, price and production status.

Pola

PoleTypOpis
additionalCosts[AdditionalCost!]

Additional costs charged on this product, by position. An empty list (never null) when there are none.

awizoBoolean!

True when delivery must be announced to the recipient in advance (advice note).

categoryIdID

Identifier of the product category (an entry of referenceData(type: PRODUCT_CATEGORY)); null when not set.

dateDueDateTime

Day the product is due (UTC midnight of that day); null when not set.

descriptionString

Description of the work for production (the job description); null when empty.

elements[Element!]

Elements of the product (for example cover and inside pages), in production order. An empty list (never null) when the product has no technology yet.

fileTypeString

How the client delivers the files of the product, for example a link or FTP; null when not stated.

files[File!]

Files of the product (for example print files from the client), uploaded completely, newest first. An empty list (never null) when there are none.

Wymaga zakresu files:read.

filesAcceptedAtDateTime

When prepress accepted the files of the product; null while they are not accepted.

idID!

Identifier of the product (UUID).

isFscBoolean!

True when the product is made of FSC-certified paper.

isHiddenBoolean!

True when the print shop hid the product (the "hide product" flag); it is still part of the order.

isbnIssnString

ISBN or ISSN of a publication; null when not applicable.

nameString!

Name of the product, for example Ulotka A5.

noInvoiceBoolean!

True when the product is not to be invoiced. Information for the office only: it changes no amounts or statuses.

numberInt!

Position of the product within its order, from 1; unique in the order.

orderOrder

The order the product belongs to. Always set for an API key; null in the app for a person who may not see the order.

orderIdID!

Identifier of the order the product belongs to.

packingDateDateTime

When the product is planned to be packed; null when not planned.

priceFloat!

Net price of the whole product line (all quantity units together, not per unit), in the order currency. The net value of the product is price + priceMarkup.

Wymaga zakresu prices:read.

priceMarkupFloat!

Net markup added to price, as an amount in the order currency (not a percentage).

Wymaga zakresu prices:read.

productionProductionProgress!

How far production of the product has got: the roll-up of the operations of all its elements.

Wymaga zakresu production:read.

quantityFloat!

Print run: how many units of the product to make, in unit.

statusProductStatus!

Stage of the product: its files, then production. Prynt moves it as files are checked and production tasks run; see ProductStatus.

taxRateFloat!

VAT rate of the product as a fraction, for example 0.23 for 23%. (Inputs take it in percent: 23.)

unitUnit!

Unit of quantity.

weightFloat!

Weight of the whole product line in kilograms (0 when unknown).

Używane w