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

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

          Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

          Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?