Skip to content

Get products

/products/product/search

Target audience: Developers

1
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/v2/products/product/search
Production https://backend.worldoftulo.com/external/api/v2/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

1
2
3
4
curl --request GET \
  --url https://payway-api.stage.adeprimo.se/external/api/v2/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

1
HTTP 200
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
  "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

See common error responses