0

When I'm using catalogProductAttributeOptionManagementV1 API (get All options of attributes), with the URL https://local.dev/rest/V1/products/attributes/color/options, I get this result :

[
    {
        "label": " ",
        "value": ""
    },
    {
        "label": "Noir",
        "value": "16"
    },
    {
        "label": "Blanc",
        "value": "17"
    }
]

According to doc, result should be like that :

[
    {
        "label": "string",
        "value": "string",
        "sort_order": 0,
        "is_default": true,
        "store_labels": [
            {
                "store_id": 0,
                "label": "string"
            }
        ]
     }
]

I need to get label for admin (store id 0) and now, I have label in french (store id 1).

Is this an issue or a native behavior ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.