Estimate shipping methods by address id Error REST API : Magento 2 The Next CEO of Stack OverflowRest Api service for shipping information Post -Getting error in Rest Api guest-cart. [POST] V1/guest-carts/cart-id/itemsInternal Server Error (500) estimate-shipping-methodsCheckout experience via REST API Magento2 - how to setup quote_currencyGET V1/guest-carts/cartId/items not working?Magento 2: How to get JSON API Variable in Modelwhat is entity when create an order using REST apiCan not add product to cart rest APIAdd No-Required params to custom REST API

Bold, vivid family

Inappropriate reference requests from Journal reviewers

Between two walls

If the heap is initialized for security, then why is the stack uninitialized?

What was the first Unix version to run on a microcomputer?

Sending manuscript to multiple publishers

Is it possible to search for a directory/file combination?

How to transpose the 1st and -1th levels of arbitrarily nested array?

A "random" question: usage of "random" as adjective in Spanish

Why do airplanes bank sharply to the right after air-to-air refueling?

Elegant way to replace substring in a regex with optional groups in Python?

Giving the same color to different shapefiles in QGIS

What is the result of assigning to std::vector<T>::begin()?

Do I need to enable Dev Hub in my PROD Org?

Why does the UK parliament need a vote on the political declaration?

Contours of a clandestine nature

Why do remote companies require working in the US?

How to make a variable always equal to the result of some calculations?

multiple labels for a single equation

At which OSI layer a user-generated data resides?

Is it ever safe to open a suspicious html file (e.g. email attachment)?

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

Would a galaxy be visible from outside, but nearby?

Rotate a column



Estimate shipping methods by address id Error REST API : Magento 2



The Next CEO of Stack OverflowRest Api service for shipping information Post -Getting error in Rest Api guest-cart. [POST] V1/guest-carts/cart-id/itemsInternal Server Error (500) estimate-shipping-methodsCheckout experience via REST API Magento2 - how to setup quote_currencyGET V1/guest-carts/cartId/items not working?Magento 2: How to get JSON API Variable in Modelwhat is entity when create an order using REST apiCan not add product to cart rest APIAdd No-Required params to custom REST API










1















I am trying to call this magento 2 built in API :



 POST http://domain.com/rest/V1/carts/mine/estimate-shipping-methods-by-address-id


In Body :



"addressId": 194


But I got this error:




"message": "No such entity with %fieldName = %fieldValue",
"parameters":
"fieldName": "addressId",
"fieldValue": 194




Can any body help ?










share|improve this question














bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    1















    I am trying to call this magento 2 built in API :



     POST http://domain.com/rest/V1/carts/mine/estimate-shipping-methods-by-address-id


    In Body :



    "addressId": 194


    But I got this error:




    "message": "No such entity with %fieldName = %fieldValue",
    "parameters":
    "fieldName": "addressId",
    "fieldValue": 194




    Can any body help ?










    share|improve this question














    bumped to the homepage by Community 2 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      1












      1








      1








      I am trying to call this magento 2 built in API :



       POST http://domain.com/rest/V1/carts/mine/estimate-shipping-methods-by-address-id


      In Body :



      "addressId": 194


      But I got this error:




      "message": "No such entity with %fieldName = %fieldValue",
      "parameters":
      "fieldName": "addressId",
      "fieldValue": 194




      Can any body help ?










      share|improve this question














      I am trying to call this magento 2 built in API :



       POST http://domain.com/rest/V1/carts/mine/estimate-shipping-methods-by-address-id


      In Body :



      "addressId": 194


      But I got this error:




      "message": "No such entity with %fieldName = %fieldValue",
      "parameters":
      "fieldName": "addressId",
      "fieldValue": 194




      Can any body help ?







      magento2 api rest






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 25 '18 at 8:42









      Jsparo30Jsparo30

      6591626




      6591626





      bumped to the homepage by Community 2 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The expected format for the body is slightly different:




          "address":
          "id": 0,
          "region": "string",
          "region_id": 0,
          "region_code": "string",
          "country_id": "string",
          "street": [
          "string"
          ],
          "company": "string",
          "telephone": "string",
          "fax": "string",
          "postcode": "string",
          "city": "string",
          "firstname": "string",
          "lastname": "string",
          "middlename": "string",
          "prefix": "string",
          "suffix": "string",
          "vat_id": "string",
          "customer_id": 0,
          "email": "string",
          "same_as_billing": 0,
          "customer_address_id": 0,
          "save_in_address_book": 0,
          "extension_attributes":
          "gift_registry_id": 0
          ,
          "custom_attributes": [

          "attribute_code": "string",
          "value": "string"

          ]




          So in your case I would try:




          "address":
          "id": 194







          share|improve this answer























            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%2f210951%2festimate-shipping-methods-by-address-id-error-rest-api-magento-2%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            The expected format for the body is slightly different:




            "address":
            "id": 0,
            "region": "string",
            "region_id": 0,
            "region_code": "string",
            "country_id": "string",
            "street": [
            "string"
            ],
            "company": "string",
            "telephone": "string",
            "fax": "string",
            "postcode": "string",
            "city": "string",
            "firstname": "string",
            "lastname": "string",
            "middlename": "string",
            "prefix": "string",
            "suffix": "string",
            "vat_id": "string",
            "customer_id": 0,
            "email": "string",
            "same_as_billing": 0,
            "customer_address_id": 0,
            "save_in_address_book": 0,
            "extension_attributes":
            "gift_registry_id": 0
            ,
            "custom_attributes": [

            "attribute_code": "string",
            "value": "string"

            ]




            So in your case I would try:




            "address":
            "id": 194







            share|improve this answer



























              0














              The expected format for the body is slightly different:




              "address":
              "id": 0,
              "region": "string",
              "region_id": 0,
              "region_code": "string",
              "country_id": "string",
              "street": [
              "string"
              ],
              "company": "string",
              "telephone": "string",
              "fax": "string",
              "postcode": "string",
              "city": "string",
              "firstname": "string",
              "lastname": "string",
              "middlename": "string",
              "prefix": "string",
              "suffix": "string",
              "vat_id": "string",
              "customer_id": 0,
              "email": "string",
              "same_as_billing": 0,
              "customer_address_id": 0,
              "save_in_address_book": 0,
              "extension_attributes":
              "gift_registry_id": 0
              ,
              "custom_attributes": [

              "attribute_code": "string",
              "value": "string"

              ]




              So in your case I would try:




              "address":
              "id": 194







              share|improve this answer

























                0












                0








                0







                The expected format for the body is slightly different:




                "address":
                "id": 0,
                "region": "string",
                "region_id": 0,
                "region_code": "string",
                "country_id": "string",
                "street": [
                "string"
                ],
                "company": "string",
                "telephone": "string",
                "fax": "string",
                "postcode": "string",
                "city": "string",
                "firstname": "string",
                "lastname": "string",
                "middlename": "string",
                "prefix": "string",
                "suffix": "string",
                "vat_id": "string",
                "customer_id": 0,
                "email": "string",
                "same_as_billing": 0,
                "customer_address_id": 0,
                "save_in_address_book": 0,
                "extension_attributes":
                "gift_registry_id": 0
                ,
                "custom_attributes": [

                "attribute_code": "string",
                "value": "string"

                ]




                So in your case I would try:




                "address":
                "id": 194







                share|improve this answer













                The expected format for the body is slightly different:




                "address":
                "id": 0,
                "region": "string",
                "region_id": 0,
                "region_code": "string",
                "country_id": "string",
                "street": [
                "string"
                ],
                "company": "string",
                "telephone": "string",
                "fax": "string",
                "postcode": "string",
                "city": "string",
                "firstname": "string",
                "lastname": "string",
                "middlename": "string",
                "prefix": "string",
                "suffix": "string",
                "vat_id": "string",
                "customer_id": 0,
                "email": "string",
                "same_as_billing": 0,
                "customer_address_id": 0,
                "save_in_address_book": 0,
                "extension_attributes":
                "gift_registry_id": 0
                ,
                "custom_attributes": [

                "attribute_code": "string",
                "value": "string"

                ]




                So in your case I would try:




                "address":
                "id": 194








                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 21 '18 at 9:41









                AlexanderAlexander

                1




                1



























                    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%2f210951%2festimate-shipping-methods-by-address-id-error-rest-api-magento-2%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

                    Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

                    Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

                    Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»