GET products?offset={offset}&limit={limit}
Get all products, sorted by name (A-Z).
Request
URL parameters
These parameters are specified as part of the URL.
Property | Description | Type | Details |
---|---|---|---|
offset | The number of products to skip. | integer | Default value is 0 |
limit | The max number of products to return. | integer | Default value is 50 |
Response
Body
The products in the specified range.
Property | Description | Type | Details |
---|---|---|---|
Count | The total number of available products. | integer | - |
Offset | The number of products skipped before the start of the list. | integer | - |
Limit | The maximum number of products in the list. | integer | - |
Results | The entries of the list. | out:ProductSummary | - |
{
"count": 100,
"offset": 0,
"limit": 5,
"results": [
{
"id": "aluminium_20x30",
"name": "Aluminium 20 x 30 cm",
"url": "https://test.printapi.nl/v2/products/aluminium_20x30"
},
{
"id": "aluminium_30x20",
"name": "Aluminium 30 x 20 cm",
"url": "https://test.printapi.nl/v2/products/aluminium_30x20"
},
{
"id": "aluminium_30x40",
"name": "Aluminium 30 x 40 cm",
"url": "https://test.printapi.nl/v2/products/aluminium_30x40"
},
{
"id": "aluminium_40x30",
"name": "Aluminium 40 x 30 cm",
"url": "https://test.printapi.nl/v2/products/aluminium_40x30"
},
{
"id": "aluminium_40x40",
"name": "Aluminium 40 x 40 cm",
"url": "https://test.printapi.nl/v2/products/aluminium_40x40"
}
]
}
<?xml version="1.0"?>
<Query xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Count>100</Count>
<Offset>0</Offset>
<Limit>5</Limit>
<Results>
<Product>
<Id>aluminium_20x30</Id>
<Name>Aluminium 20 x 30 cm</Name>
<Url>https://test.printapi.nl/v2/products/aluminium_20x30</Url>
</Product>
<Product>
<Id>aluminium_30x20</Id>
<Name>Aluminium 30 x 20 cm</Name>
<Url>https://test.printapi.nl/v2/products/aluminium_30x20</Url>
</Product>
<Product>
<Id>aluminium_30x40</Id>
<Name>Aluminium 30 x 40 cm</Name>
<Url>https://test.printapi.nl/v2/products/aluminium_30x40</Url>
</Product>
<Product>
<Id>aluminium_40x30</Id>
<Name>Aluminium 40 x 30 cm</Name>
<Url>https://test.printapi.nl/v2/products/aluminium_40x30</Url>
</Product>
<Product>
<Id>aluminium_40x40</Id>
<Name>Aluminium 40 x 40 cm</Name>
<Url>https://test.printapi.nl/v2/products/aluminium_40x40</Url>
</Product>
</Results>
</Query>