Retrieve a list of related products
Retrieve a list of related products
Authorizations:Token, JWT
Query Parameters
product_id required | integer |
page | integerDefault: 1 The collection page number |
itemsPerPage | integer[0 .. 100]Default: 30 The number of items per page |
pagination | booleanEnable or disable pagination |
Query Parameters
product_id required | integer |
page | integerDefault: 1 The collection page number |
itemsPerPage | integer[0 .. 100]Default: 30 The number of items per page |
pagination | booleanEnable or disable pagination |
Responses
200Related Product collection
Response schema:
Related Product collection Array
id | integer |
product_id | integer |
position | integer |
401Unauthorized
Response schema:
Unauthorized type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |
500Internal error
Response schema:
Internal error type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |