Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Magento 2.x.x extension attributes API add object array
Blog

Magento 2.x.x extension attributes API add object array

by |Published January 8, 2024

Have added custom attribute to order API with following info here: https://www.atwix.com/magento-2/adding-custom-attribute-to-api-response-in-magento-2/

It adds the "customer_feedback": "this is my feedback" fine to api.

How to add an Json object array ? E.G:

"my_custom_object": {
    "Key1": "value!",
    "Key2": "value2"
}

Thanks

  • Magento
  • Magento1
  • Magento2

You may also like

Has anyone been able to use Google API in MacOS Terminal Command Line? [closed]
Published January 22, 2024

Has anyone been able to use Google API in MacOS Terminal Command Line? [closed]

Has anyone been able to use Google API in MacOS Terminal Command Line ? I’ve been roadblocked by many errors of unresolved […]

Monitor mapped drive failed when screen locked
Published April 1, 2020

Monitor mapped drive failed when screen locked

I have a python script to monitor file creation on a network drive mapped. The script runs perfectly as i tested, but […]

RubySource: Putting Ruby, Rails, C#, and ASP.NET in context
Published September 13, 2011

RubySource: Putting Ruby, Rails, C#, and ASP.NET in context

I’ve noticed there’s quite a bit of misunderstanding among .NET developers as to what Ruby or Rails are, and how those compare […]

21 EBay Inventory Management and Online Selling Tools – ECommerce
Published March 23, 2012

21 EBay Inventory Management and Online Selling Tools – ECommerce

2 comments

In the fourth quarter of 2011, eBay Marketplaces reported 100 million active users worldwide. According to eBay on its marketplace a woman’s […]

Interesting

  • Saving an extra checkout shipping address field in Magento 2.4.5
  • Magento 2: updateCustomerV2 graphQl
  • Combine MultiLanguage StoreView & main Language
  • Add a new filter in sort “Available for purchase” in magento 2.4.6
  • Suppress PowerShell prompts when executing script from standard input
  • What causes Windows Hello fingerprint and PIN data to be lost?
  • Unable to boot to Windows, says boot disk is unavailable after installing Ubuntu
  • Building GuestAdditions failed on guest RHEL9 due to read-only member ‘vm_flags’

Post navigation

  • Previous post Prevent VLC media player playback speed pitch increase and choppiness
  • Back to post list
  • Next post Magento2 set custom shipping amount when create order programatically
——————-
  • Saving an extra checkout shipping address field in Magento 2.4.5
  • Magento 2: updateCustomerV2 graphQl
  • Combine MultiLanguage StoreView & main Language
  • Add a new filter in sort “Available for purchase” in magento 2.4.6
  • Suppress PowerShell prompts when executing script from standard input
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2024 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme