Get list of product models
GET
/api/rest/v1/product-models
Product model
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/rest/v1/product-models'
Response Response Example
200 - Example 1
{
"_links": {
"first": {
"href": "string"
},
"next": {
"href": "string"
},
"previous": {
"href": "string"
},
"self": {
"href": "string"
}
},
"current_page": 0,
"_embedded": {
"items": [
{
"_links": {
"self": {
"href": "string"
}
},
"associations": {
"PACK": {
"groups": [],
"product_models": [],
"products": [
"sunglass"
]
}
},
"categories": [
"summer_collection"
],
"code": "model-biker-jacket-leather",
"created": "2023-08-15T05:53:50.712Z",
"family": "clothing",
"family_variant": "clothing_material_size",
"parent": "model-biker-jacket",
"quality_scores": [
{
"data": "A",
"locale": "en_US",
"scope": "ecommerce"
},
{
"data": "B",
"locale": "fr_FR",
"scope": "ecommerce"
},
{
"data": "D",
"locale": "en_US",
"scope": "tablet"
},
{
"data": "E",
"locale": "fr_FR",
"scope": "tablet"
}
],
"quantified_associations": {
"PRODUCT_SET": {
"product_models": [
{
"code": "model-biker-jacket-leather",
"quantity": 2
}
],
"products": [
{
"identifier": "top",
"quantity": 2
},
{
"identifier": "cap",
"quantity": 1
}
]
}
},
"updated": "2023-08-15T05:53:50.712Z",
"values": {
"collection": [
{
"data": [
"summer_2017"
],
"locale": null,
"scope": null
}
],
"color": [
{
"data": "antique_white",
"locale": null,
"scope": null
}
],
"description": [
{
"data": "Biker jacket",
"locale": "en_US",
"scope": "ecommerce"
}
],
"material": [
{
"data": "leather",
"locale": null,
"scope": null
}
],
"name": [
{
"data": "Biker jacket",
"locale": "en_US",
"scope": null
}
],
"variation_name": [
{
"data": "Biker jacket leather",
"locale": "en_US",
"scope": null
}
]
}
}
]
}
}
Request
Query Params
search
stringÂ
optional
scope
stringÂ
optional
locales
stringÂ
optional
attributes
stringÂ
optional
pagination_type
stringÂ
optional
page
integerÂ
optional
page
pagination method type. Should never be set manually, see Pagination sectionsearch_after
stringÂ
optional
search_after
pagination method type. Should never be set manually, see Pagination sectionlimit
integerÂ
optional
with_count
stringÂ
optional
with_quality_scores
stringÂ
optional
Responses
Modified at 2023-08-15 05:53:55