Get products
/products/product/search
Target audience: Developers
Release version: 4.3.11
Get products (packaged products)¶
Introduction¶
Used for fetching multiple products a.k.a. packaged products.
URI¶
Environment | URI |
---|---|
Stage | https://payway-api.stage.adeprimo.se/external/api/v3/products/product/search |
Production | https://backend.worldoftulo.com/external/api/v3/products/product/search |
Requirements¶
Identity | Scope |
---|---|
No | /external/product/r |
Parameters¶
Name | Type | Description | Required |
---|---|---|---|
page_size | Integer | Size of result set Size range: 1..25 Allowed values: Integer Default value: 25 |
No |
page_number | Integer | Skip given result sets Size range: 1..1000 Allowed values: Integer Default value: 1 |
No |
Curl Example¶
First page with 15 results¶
curl --request GET \
--url https://payway-api.stage.adeprimo.se/external/api/v3/products/product/search?page_size=15&page_number=1 \
--header 'accept: application/json' \
--header 'authorization: Bearer token' \
Response¶
Successful response with page size 15 and page number 1¶
HTTP 200
{
"page_info": {
"page_size": 15,
"page_number": 1,
"more_results_available": true
},
"items": [
{
"id": "60af490709c04c3b4cccb971",
"product_code": "product_code_0",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_0",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb974",
"product_code": "product_code_1",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_1",
"print_product": true
},
{
"id": "60af490709c04c3b4cccb975",
"product_code": "product_code_2",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_2",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb976",
"product_code": "product_code_3",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_3",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb977",
"product_code": "product_code_4",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_4",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb978",
"product_code": "product_code_5",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_5",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb979",
"product_code": "product_code_6",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_6",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb97a",
"product_code": "product_code_7",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_7",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb97b",
"product_code": "product_code_8",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_8",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb97c",
"product_code": "product_code_9",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_9",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb97d",
"product_code": "product_code_10",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_10",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb97e",
"product_code": "product_code_11",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_11",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb97f",
"product_code": "product_code_12",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_12",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb980",
"product_code": "product_code_13",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_13",
"print_product": false
},
{
"id": "60af490709c04c3b4cccb981",
"product_code": "product_code_14",
"type": "product",
"name": "product_name",
"description": "short_description",
"image_url": "https://cdn_url/Image/adeprimo/product_code_14",
"print_product": false
}
]
}
Errors¶
This API uses the common error conventions of the Payway API