Menu
Get Product Model Draft
Get a draft
GET
/api/rest/v1/product-models/{code}/draftUse it in a workflow
- Add a step and choose the Akeneo connector.
- Pick the Get Product Model Draft action (under Product model).
- Fill in the fields below, then reference the result from later steps as
{{getProductModelDraft.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getProductModelDraft.response.data.<field>}}.
{
"code": "amarisshoe",
"family_variant": "shoes_Variant",
"family": "smartphone",
"parent": "my_super_battery",
"categories": [
"smartphones",
"electronics"
],
"values": {
"description": [
{
"data": "T-shirt long sleeves Winter special, 100% wool",
"locale": null,
"scope": null
}
]
},
"associations": {
"X_SELL": {
"groups": [],
"products": [
"product_1",
"product_2"
],
"product_models": [
"product_model_1"
]
},
"UPSELL": {
"groups": [
"group_1"
],
"products": [],
"product_models": []
}
},
"quantified_associations": {
"PACK": {
"products": [
{
"identifier": "product_1",
"quantity": 2
},
{
"identifier": "product_2",
"quantity": 3
}
],
"product_models": [
{
"identifier": "product_model_1",
"quantity": 1
}
]
}
},
"created": "2022-03-14T15:25:45+00:00",
"updated": "2022-06-24T12:54:58+00:00",
"metadata": {
"workflow_status": "read_only"
},
"quality_scores": [
{
"scope": "ecommerce",
"locale": "en_US",
"data": "A"
}
]
}
Need more? See the Akeneo guide for connection setup and behaviour shared by every action.
Was this page helpful?