custom_attributes not returning from Magento 2 REST APIHow can i Import & Export attributes & attribute set through import fuctionality in magento 2.0?Magento 2 rest api get product's attributes optionsHow to Update Magento 2 configurable child products price by REST APIMagento 2 Rest API Returning Net::HTTPRetriableError: 302 “Found”Magento2 Rest api without any moduleCreate configurable product using rest api magento 2.2.6How get wishlist in Magento 2 Rest API?Is Instant Purchase REST API available in Magento 2?Create product attribute with options in magento2 through rest APIMagento 2: Is there a way to return custom json response from REST API without building a data interface?

In "Avengers: Endgame", what does this name refer to?

What do you call a painting painted on a wall?

What detail can Hubble see on Mars?

What is the meaning of 「隣のおじいさんは言いました」

Was there a dinosaur-counter in the original Jurassic Park movie?

GitLab account hacked and repo wiped

Reverse ColorFunction or ColorData

How to use awk to extract data from a file based on the content of another file?

Can a player choose to add detail and flavor to their character's spells and abilities?

Playing Doublets with the Primes

Can a good but unremarkable PhD student become an accomplished professor?

Which "exotic salt" can lower water's freezing point by –70 °C?

How to speed up large double sums in a table?

Find the area of the smallest rectangle to contain squares of sizes up to n

What does the copyright in a dissertation protect exactly?

How can I obtain and work with a Platonic dodecahedron?

Installing Debian 10, upgrade to stable later?

What's the 2-minute timer on mobile Deutsche Bahn tickets?

Do quaternary sulfur dications exist?

What is more safe for browsing the web: PC or smartphone?

How to deal with employer who keeps me at work after working hours

My large rocket is still flipping over

What is monoid homomorphism exactly?

Why increasing of the temperature of the objects like wood, paper etc. doesn't fire them?



custom_attributes not returning from Magento 2 REST API


How can i Import & Export attributes & attribute set through import fuctionality in magento 2.0?Magento 2 rest api get product's attributes optionsHow to Update Magento 2 configurable child products price by REST APIMagento 2 Rest API Returning Net::HTTPRetriableError: 302 “Found”Magento2 Rest api without any moduleCreate configurable product using rest api magento 2.2.6How get wishlist in Magento 2 Rest API?Is Instant Purchase REST API available in Magento 2?Create product attribute with options in magento2 through rest APIMagento 2: Is there a way to return custom json response from REST API without building a data interface?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Using the Magento 2 REST API, I was able to successfully create a new product attribute sending a PUT request to V1/products/attributes/attribute_code. In the request, I added a value in the custom_attributes object. However, when I got the attribute I created using a GET request to the same endpoint, I noticed the custom_attributes section was not returned. I can't seem to find any endpoint that will return that data. Could someone point me in the right direction? I'm very new to Magento development. If it helps, here's the JSON I used for the PUT request:

"attribute":
"extension_attributes":
"is_pagebuilder_enabled": true
,
"is_wysiwyg_enabled": false,
"is_html_allowed_on_front": true,
"used_for_sort_by": false,
"is_filterable": true,
"is_filterable_in_search": true,
"is_used_in_grid": false,
"is_visible_in_grid": true,
"is_filterable_in_grid": false,
"position": 0,
"apply_to": [],
"is_searchable": "0",
"is_visible_in_advanced_search": "0",
"is_comparable": "1",
"is_used_for_promo_rules": "0",
"is_visible_on_front": "1",
"used_in_product_listing": "1",
"is_visible": true,
"scope": "store",
"frontend_input": "text",
"entity_type_id": "4",
"is_required": false,
"options": [],
"is_user_defined": true,
"default_frontend_label": "string",
"frontend_labels": [

"store_id": 0,
"label": "string"

],
"is_user_defined": true,
"default_frontend_label": "testing",
"frontend_labels": [],
"backend_type": "varchar",
"backend_model": "Magento\Eav\Model\Entity\Attribute\Backend\ArrayBackend",
"default_value": "",
"is_unique": "0",
"validation_rules": [],
"custom_attributes": [

"attribute_code": "test-attr",
"value": "true"

]










share|improve this question







New contributor




natebayte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    Using the Magento 2 REST API, I was able to successfully create a new product attribute sending a PUT request to V1/products/attributes/attribute_code. In the request, I added a value in the custom_attributes object. However, when I got the attribute I created using a GET request to the same endpoint, I noticed the custom_attributes section was not returned. I can't seem to find any endpoint that will return that data. Could someone point me in the right direction? I'm very new to Magento development. If it helps, here's the JSON I used for the PUT request:

    "attribute":
    "extension_attributes":
    "is_pagebuilder_enabled": true
    ,
    "is_wysiwyg_enabled": false,
    "is_html_allowed_on_front": true,
    "used_for_sort_by": false,
    "is_filterable": true,
    "is_filterable_in_search": true,
    "is_used_in_grid": false,
    "is_visible_in_grid": true,
    "is_filterable_in_grid": false,
    "position": 0,
    "apply_to": [],
    "is_searchable": "0",
    "is_visible_in_advanced_search": "0",
    "is_comparable": "1",
    "is_used_for_promo_rules": "0",
    "is_visible_on_front": "1",
    "used_in_product_listing": "1",
    "is_visible": true,
    "scope": "store",
    "frontend_input": "text",
    "entity_type_id": "4",
    "is_required": false,
    "options": [],
    "is_user_defined": true,
    "default_frontend_label": "string",
    "frontend_labels": [

    "store_id": 0,
    "label": "string"

    ],
    "is_user_defined": true,
    "default_frontend_label": "testing",
    "frontend_labels": [],
    "backend_type": "varchar",
    "backend_model": "Magento\Eav\Model\Entity\Attribute\Backend\ArrayBackend",
    "default_value": "",
    "is_unique": "0",
    "validation_rules": [],
    "custom_attributes": [

    "attribute_code": "test-attr",
    "value": "true"

    ]










    share|improve this question







    New contributor




    natebayte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      Using the Magento 2 REST API, I was able to successfully create a new product attribute sending a PUT request to V1/products/attributes/attribute_code. In the request, I added a value in the custom_attributes object. However, when I got the attribute I created using a GET request to the same endpoint, I noticed the custom_attributes section was not returned. I can't seem to find any endpoint that will return that data. Could someone point me in the right direction? I'm very new to Magento development. If it helps, here's the JSON I used for the PUT request:

      "attribute":
      "extension_attributes":
      "is_pagebuilder_enabled": true
      ,
      "is_wysiwyg_enabled": false,
      "is_html_allowed_on_front": true,
      "used_for_sort_by": false,
      "is_filterable": true,
      "is_filterable_in_search": true,
      "is_used_in_grid": false,
      "is_visible_in_grid": true,
      "is_filterable_in_grid": false,
      "position": 0,
      "apply_to": [],
      "is_searchable": "0",
      "is_visible_in_advanced_search": "0",
      "is_comparable": "1",
      "is_used_for_promo_rules": "0",
      "is_visible_on_front": "1",
      "used_in_product_listing": "1",
      "is_visible": true,
      "scope": "store",
      "frontend_input": "text",
      "entity_type_id": "4",
      "is_required": false,
      "options": [],
      "is_user_defined": true,
      "default_frontend_label": "string",
      "frontend_labels": [

      "store_id": 0,
      "label": "string"

      ],
      "is_user_defined": true,
      "default_frontend_label": "testing",
      "frontend_labels": [],
      "backend_type": "varchar",
      "backend_model": "Magento\Eav\Model\Entity\Attribute\Backend\ArrayBackend",
      "default_value": "",
      "is_unique": "0",
      "validation_rules": [],
      "custom_attributes": [

      "attribute_code": "test-attr",
      "value": "true"

      ]










      share|improve this question







      New contributor




      natebayte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Using the Magento 2 REST API, I was able to successfully create a new product attribute sending a PUT request to V1/products/attributes/attribute_code. In the request, I added a value in the custom_attributes object. However, when I got the attribute I created using a GET request to the same endpoint, I noticed the custom_attributes section was not returned. I can't seem to find any endpoint that will return that data. Could someone point me in the right direction? I'm very new to Magento development. If it helps, here's the JSON I used for the PUT request:

      "attribute":
      "extension_attributes":
      "is_pagebuilder_enabled": true
      ,
      "is_wysiwyg_enabled": false,
      "is_html_allowed_on_front": true,
      "used_for_sort_by": false,
      "is_filterable": true,
      "is_filterable_in_search": true,
      "is_used_in_grid": false,
      "is_visible_in_grid": true,
      "is_filterable_in_grid": false,
      "position": 0,
      "apply_to": [],
      "is_searchable": "0",
      "is_visible_in_advanced_search": "0",
      "is_comparable": "1",
      "is_used_for_promo_rules": "0",
      "is_visible_on_front": "1",
      "used_in_product_listing": "1",
      "is_visible": true,
      "scope": "store",
      "frontend_input": "text",
      "entity_type_id": "4",
      "is_required": false,
      "options": [],
      "is_user_defined": true,
      "default_frontend_label": "string",
      "frontend_labels": [

      "store_id": 0,
      "label": "string"

      ],
      "is_user_defined": true,
      "default_frontend_label": "testing",
      "frontend_labels": [],
      "backend_type": "varchar",
      "backend_model": "Magento\Eav\Model\Entity\Attribute\Backend\ArrayBackend",
      "default_value": "",
      "is_unique": "0",
      "validation_rules": [],
      "custom_attributes": [

      "attribute_code": "test-attr",
      "value": "true"

      ]







      magento2 product-attribute rest-api custom-attributes webapi






      share|improve this question







      New contributor




      natebayte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      natebayte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      natebayte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked May 2 at 20:24









      natebaytenatebayte

      1




      1




      New contributor




      natebayte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      natebayte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      natebayte is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          natebayte is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f273263%2fcustom-attributes-not-returning-from-magento-2-rest-api%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          natebayte is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          natebayte is a new contributor. Be nice, and check out our Code of Conduct.












          natebayte is a new contributor. Be nice, and check out our Code of Conduct.











          natebayte is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f273263%2fcustom-attributes-not-returning-from-magento-2-rest-api%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form