Get a product model
GET
/api/rest/v1/product-models/{code}
Product model
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/rest/v1/product-models/'
Response Response Example
200 - Example 1
{
"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
Path Params
code
stringÂ
required
Query Params
with_quality_scores
stringÂ
optional
Responses
Modified at 2023-08-15 05:53:55