GET products/{id}
Get a single product by ID.
Request
URL parameters
These parameters are specified as part of the URL.
Property | Description | Type | Details |
---|---|---|---|
id | The product ID. | string | Required |
Response
Body
The product.
Property | Description | Type | Details |
---|---|---|---|
Id | The product ID. | string | - |
Name | The user-friendly name of the product. | string | - |
Category | The user-friendly category name of the product. | string | - |
TaxRate | The tax rate of the product. E.g. 0.21 for 21%. | decimal number | - |
Cost | The purchase cost of the product, before taxes. | out:Price | - |
Checkout | The payment due in the Print API payment screen for the product, after taxes. Only present if you've enabled the Print API payment screen in your application settings. | out:Price | - |
MinQuantity | The mimimum quantity per order. | integer | - |
MaxQuantity | The maximum quantity per order. Please contact us for higher quantities. | integer | - |
HasVariablePageCount | Indicates whether the page count of the product is configurable. | boolean | - |
FixedPageCount | The fixed number of pages. Present for fixed page count products only. | integer | - |
MinPageCount | The minimum number of pages. These are included in the base cost. | integer | - |
MaxPageCount | The maximum number of pages. | integer | - |
PageCountIncrement | The number the page count must be divisible by. Present for variable page count products only. | integer | - |
PaperThickness | The width to add to the cover file for each page increment above the minimum. Present for books only. | decimal number | - |
Options | The options that may be specified to customize the product. | out:ProductOption | - |
Files | The files needed to print this product. | out:ProductFile | - |
ProductionTimes | The production times available for this product. | out:ProductionTime | - |
QuantityDiscounts | The quantity discounts that apply to this product for your account. | out:QuantityDiscount | Contact us for details |
{
"id": "boek_hc_a4_lig",
"name": "Boek Hardcover A4 Liggend",
"category": "Hardcover boeken",
"taxRate": 0.06,
"cost": {
"base": 9.43,
"perExtraPage": 0.25
},
"checkout": {
"base": 24.99,
"perExtraPage": 0.50
},
"minQuantity": 1,
"maxQuantity": 1000,
"hasVariablePageCount": true,
"minPageCount": 24,
"maxPageCount": 200,
"pageCountIncrement": 2,
"paperThickness": 0.14,
"options": [
{
"id": "cover_finish",
"default": "laminate_gloss",
"label": "Afwerking omslag",
"choices": [
{
"value": "laminate_gloss",
"name": "Glans laminaat",
"cost": {
"base": 0.0,
"perExtraPage": 0.0
},
"checkout": {
"base": 0.0,
"perExtraPage": 0.0
}
},
{
"value": "laminate_matte",
"name": "Mat laminaat",
"cost": {
"base": 2.83,
"perExtraPage": 0.0
},
"checkout": {
"base": 5.99,
"perExtraPage": 0.0
}
}
]
}
],
"files": [
{
"id": "content",
"height": 216.0,
"width": 303.0,
"bleed": 6.0,
"accepts": [
"PDF"
]
},
{
"id": "cover",
"height": 253.0,
"width": 646.0,
"bleed": 19.0,
"accepts": [
"PDF"
]
}
],
"productionTimes": [
{
"speed": "Standard",
"days": 4,
"limitHour": 11
},
{
"speed": "Express",
"days": 3,
"limitHour": 11
}
]
}
<?xml version="1.0"?>
<Product xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Id>boek_hc_a4_lig</Id>
<Name>Boek Hardcover A4 Liggend</Name>
<Category>Hardcover boeken</Category>
<TaxRate>0.06</TaxRate>
<Cost>
<Base>9.43</Base>
<PerExtraPage>0.25</PerExtraPage>
</Cost>
<Checkout>
<Base>24.99</Base>
<PerExtraPage>0.50</PerExtraPage>
</Checkout>
<MinQuantity>1</MinQuantity>
<MaxQuantity>1000</MaxQuantity>
<HasVariablePageCount>true</HasVariablePageCount>
<FixedPageCount xsi:nil="true" />
<MinPageCount>24</MinPageCount>
<MaxPageCount>200</MaxPageCount>
<PageCountIncrement>2</PageCountIncrement>
<PaperThickness>0.14</PaperThickness>
<Options>
<Option>
<Id>cover_finish</Id>
<Default>laminate_gloss</Default>
<Label>Afwerking omslag</Label>
<Choices>
<Choice>
<Value>laminate_gloss</Value>
<Name>Glans laminaat</Name>
<Cost>
<Base>0.0</Base>
<PerExtraPage>0.0</PerExtraPage>
</Cost>
<Checkout>
<Base>0.0</Base>
<PerExtraPage>0.0</PerExtraPage>
</Checkout>
</Choice>
<Choice>
<Value>laminate_matte</Value>
<Name>Mat laminaat</Name>
<Cost>
<Base>2.83</Base>
<PerExtraPage>0.0</PerExtraPage>
</Cost>
<Checkout>
<Base>5.99</Base>
<PerExtraPage>0.0</PerExtraPage>
</Checkout>
</Choice>
</Choices>
</Option>
</Options>
<Files>
<File>
<Id>content</Id>
<Height>216</Height>
<Width>303</Width>
<Bleed>6</Bleed>
<Accepts>
<FileType>PDF</FileType>
</Accepts>
</File>
<File>
<Id>cover</Id>
<Height>253</Height>
<Width>646</Width>
<Bleed>19</Bleed>
<Accepts>
<FileType>PDF</FileType>
</Accepts>
</File>
</Files>
<ProductionTimeInDays xsi:nil="true" />
<ProductionTimes>
<Choice>
<Speed>Standard</Speed>
<Days>4</Days>
<LimitHour>11</LimitHour>
</Choice>
<Choice>
<Speed>Express</Speed>
<Days>3</Days>
<LimitHour>11</LimitHour>
</Choice>
</ProductionTimes>
</Product>