0

In my API response (all orders) I get this extension_attributes

"extension_attributes": {
    "my_attributes": {
        "order_id": null,
        "company_id": 1,
        "company_name": "TestCompany 1"
    }
}

Is it possible to use / get these values in an afterGetList Plugin?

0

You need to ensure your plugin is executed last. Give him lowest priority possible. Then try:

$order->getExtensionAttributes()->...

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.