Where's the order item custom options labels in the REST API?Extending REST API, route to custom methodMagento 2: Custom Options - info between?Magento2 How to get Custom order attributes value in response in rest api v1Custom file attribute Rest ApiHow to clear a custom option via REST product updateAdding custom options in to cart through API in magento2.1How can i cancel an order of a customer and reorder in Magento2 using REST APISetting a custom product option for a simple product in the cartCreate product attribute with options in magento2 through rest APICreate/Update Attribute Option Custom api issue

When going by a train from Paris to Düsseldorf (Thalys), can I hop off in Köln and then hop on again?

Terence Tao–type books in other fields?

What is the difference between 1/3, 1/2, and full casters?

Number of ways to chose 6 courses out of 15 (different) courses

Is it legal to use cash pulled from a credit card to pay the monthly payment on that credit card?

Convert a string like 4h53m12s to a total number of seconds in JavaScript

What to do when you reach a conclusion and find out later on that someone else already did?

Why did Saturn V not head straight to the moon?

Is this photo showing a woman posing in the nude before teenagers real?

Word for showing a small part of something briefly to hint to its existence or beauty without fully uncovering it

What does コテッと mean?

TSA asking to see cell phone

Character is called by their first initial. How do I write it?

Is my employer paying me fairly? Going from 1099 to W2

Is it safe to backup data (images, documents, videos, etc...) from a possibly infected computer?

Why are all my history books dividing Chinese history after the Han dynasty?

Marrying a second woman behind your wife's back: is it wrong and can Quran/Hadith prove this?

Is it normal practice to screen share with a client?

How to avoid unconsciously copying the style of my favorite writer?

Writing a clean implementation of Rock, Paper, Scissors game in c++

Request for a Latin phrase as motto "God is highest/supreme"

Can two figures have the same area, perimeter, and same number of segments have different shape?

Inadvertently nuked my disk permission structure - why?

How acidic does a mixture have to be for milk to curdle?



Where's the order item custom options labels in the REST API?


Extending REST API, route to custom methodMagento 2: Custom Options - info between?Magento2 How to get Custom order attributes value in response in rest api v1Custom file attribute Rest ApiHow to clear a custom option via REST product updateAdding custom options in to cart through API in magento2.1How can i cancel an order of a customer and reorder in Magento2 using REST APISetting a custom product option for a simple product in the cartCreate product attribute with options in magento2 through rest APICreate/Update Attribute Option Custom api issue






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








2















I'm trying to retrieve orders from the REST API in Magento Enterprise 2.3.1, and that's easy enough with endpoints like /rest/default/V1/orders, but while I can see the values for custom options of the items in the order, I can't see their labels. For example:



"product_option": 
"extension_attributes":
"custom_options": [

"option_id": "3730",
"option_value": "Some text value."
,

"option_id": "3731",
"option_value": ""

]




It's great that I can see that for one of the custom options, the customer said "Some text value.", but I'd really like to know what it was they were responding to. What I'd expect to see for each custom option is something like:




"option_id": "3728",
"option_label": "What's your favorite Star Trek ship?"
"option_value": "U.S.S. Excelsior"



So far, any time I can find a way to load an order via the REST API, it is returned this way, and I don't see any other way to get the custom option label.



It's hard to believe I'm the first person to come across this - am I just missing something obvious?










share|improve this question




























    2















    I'm trying to retrieve orders from the REST API in Magento Enterprise 2.3.1, and that's easy enough with endpoints like /rest/default/V1/orders, but while I can see the values for custom options of the items in the order, I can't see their labels. For example:



    "product_option": 
    "extension_attributes":
    "custom_options": [

    "option_id": "3730",
    "option_value": "Some text value."
    ,

    "option_id": "3731",
    "option_value": ""

    ]




    It's great that I can see that for one of the custom options, the customer said "Some text value.", but I'd really like to know what it was they were responding to. What I'd expect to see for each custom option is something like:




    "option_id": "3728",
    "option_label": "What's your favorite Star Trek ship?"
    "option_value": "U.S.S. Excelsior"



    So far, any time I can find a way to load an order via the REST API, it is returned this way, and I don't see any other way to get the custom option label.



    It's hard to believe I'm the first person to come across this - am I just missing something obvious?










    share|improve this question
























      2












      2








      2


      1






      I'm trying to retrieve orders from the REST API in Magento Enterprise 2.3.1, and that's easy enough with endpoints like /rest/default/V1/orders, but while I can see the values for custom options of the items in the order, I can't see their labels. For example:



      "product_option": 
      "extension_attributes":
      "custom_options": [

      "option_id": "3730",
      "option_value": "Some text value."
      ,

      "option_id": "3731",
      "option_value": ""

      ]




      It's great that I can see that for one of the custom options, the customer said "Some text value.", but I'd really like to know what it was they were responding to. What I'd expect to see for each custom option is something like:




      "option_id": "3728",
      "option_label": "What's your favorite Star Trek ship?"
      "option_value": "U.S.S. Excelsior"



      So far, any time I can find a way to load an order via the REST API, it is returned this way, and I don't see any other way to get the custom option label.



      It's hard to believe I'm the first person to come across this - am I just missing something obvious?










      share|improve this question














      I'm trying to retrieve orders from the REST API in Magento Enterprise 2.3.1, and that's easy enough with endpoints like /rest/default/V1/orders, but while I can see the values for custom options of the items in the order, I can't see their labels. For example:



      "product_option": 
      "extension_attributes":
      "custom_options": [

      "option_id": "3730",
      "option_value": "Some text value."
      ,

      "option_id": "3731",
      "option_value": ""

      ]




      It's great that I can see that for one of the custom options, the customer said "Some text value.", but I'd really like to know what it was they were responding to. What I'd expect to see for each custom option is something like:




      "option_id": "3728",
      "option_label": "What's your favorite Star Trek ship?"
      "option_value": "U.S.S. Excelsior"



      So far, any time I can find a way to load an order via the REST API, it is returned this way, and I don't see any other way to get the custom option label.



      It's hard to believe I'm the first person to come across this - am I just missing something obvious?







      magento2 custom-options rest rest-api






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 17 at 13:46









      MikeMike

      4481 gold badge5 silver badges24 bronze badges




      4481 gold badge5 silver badges24 bronze badges




















          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
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f282405%2fwheres-the-order-item-custom-options-labels-in-the-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















          draft saved

          draft discarded
















































          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%2f282405%2fwheres-the-order-item-custom-options-labels-in-the-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