How to create shipment using API (SOAP V1) with specific items in it?How can I properly trigger shipment emails via the SOAP API?When I use magento API(salesOrderShipmentCreate), item qty must be filled?Get Order Info Using SOAP APICreate invoice and shipment in magento via cron based on store view and order ageCreate bundle product using soap API V2Magento 1.9.x SOAP API V2 own attribute for category not transferredMagento SOAP requests using PowershellHow to create product using SOAP API magento 2Get Canceled Orders with specified range using magento soap apiCreate config product with multiple attributes in magento1.9 soap api

Is it cheaper to drop cargo than to land it?

How to reply this mail from potential PhD professor?

What is the most remote airport from the center of the city it supposedly serves?

How could a planet have most of its water in the atmosphere?

Did we get closer to another plane than we were supposed to, or was the pilot just protecting our delicate sensibilities?

Are we obligated to aspire to be Talmidei Chachamim?

Why is C# in the D Major Scale?

What happens to the Time Stone

Why is Arya visibly scared in the library in S8E3?

Would "lab meat" be able to feed a much larger global population

Identifying a transmission to myself

How do I tell my manager that his code review comment is wrong?

What word means "to make something obsolete"?

Am I getting DDOS from crawlers?

Accidentally deleted the "/usr/share" folder

Casual versus formal jacket

Manager is threatning to grade me poorly if I don't complete the project

Roll Dice to get a random number between 1 and 150

Can I get a paladin's steed by True Polymorphing into a monster that can cast Find Steed?

A non-technological, repeating, phenomenon in the sky, holding its position in the sky for hours

Would glacier 'trees' be plausible?

Quoting Yourself

Do I really need diodes to receive MIDI?

Why is `abs()` implemented differently?



How to create shipment using API (SOAP V1) with specific items in it?


How can I properly trigger shipment emails via the SOAP API?When I use magento API(salesOrderShipmentCreate), item qty must be filled?Get Order Info Using SOAP APICreate invoice and shipment in magento via cron based on store view and order ageCreate bundle product using soap API V2Magento 1.9.x SOAP API V2 own attribute for category not transferredMagento SOAP requests using PowershellHow to create product using SOAP API magento 2Get Canceled Orders with specified range using magento soap apiCreate config product with multiple attributes in magento1.9 soap api






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








5















I'm looking to find how should array of items look like.
I have found an example here:



$orderIncrementId = '200000006';
$itemsQty = array('3' => '3', '4' => '5');

$result = $proxy->call(
$session,
'order_shipment.create',
array(
$orderIncrementId,
$itemsQty
)
);


But that doesn't work for me. Plus there's misleading action name. It should be "sales_order_shipment.create" instead "order_shipment.create". So far I have found that passing empty array as second parameter works, but then a shipment is created for all ordered items. Not what I need.










share|improve this question






























    5















    I'm looking to find how should array of items look like.
    I have found an example here:



    $orderIncrementId = '200000006';
    $itemsQty = array('3' => '3', '4' => '5');

    $result = $proxy->call(
    $session,
    'order_shipment.create',
    array(
    $orderIncrementId,
    $itemsQty
    )
    );


    But that doesn't work for me. Plus there's misleading action name. It should be "sales_order_shipment.create" instead "order_shipment.create". So far I have found that passing empty array as second parameter works, but then a shipment is created for all ordered items. Not what I need.










    share|improve this question


























      5












      5








      5


      0






      I'm looking to find how should array of items look like.
      I have found an example here:



      $orderIncrementId = '200000006';
      $itemsQty = array('3' => '3', '4' => '5');

      $result = $proxy->call(
      $session,
      'order_shipment.create',
      array(
      $orderIncrementId,
      $itemsQty
      )
      );


      But that doesn't work for me. Plus there's misleading action name. It should be "sales_order_shipment.create" instead "order_shipment.create". So far I have found that passing empty array as second parameter works, but then a shipment is created for all ordered items. Not what I need.










      share|improve this question
















      I'm looking to find how should array of items look like.
      I have found an example here:



      $orderIncrementId = '200000006';
      $itemsQty = array('3' => '3', '4' => '5');

      $result = $proxy->call(
      $session,
      'order_shipment.create',
      array(
      $orderIncrementId,
      $itemsQty
      )
      );


      But that doesn't work for me. Plus there's misleading action name. It should be "sales_order_shipment.create" instead "order_shipment.create". So far I have found that passing empty array as second parameter works, but then a shipment is created for all ordered items. Not what I need.







      magento-1.9 api sales-order soap shipment






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 11 '16 at 20:07









      Purushotam Sharma

      8801730




      8801730










      asked Feb 9 '15 at 15:39









      Marek HernikMarek Hernik

      264




      264




















          1 Answer
          1






          active

          oldest

          votes


















          1














          Make sure you read that link that you sent very well. It answers all of your questions in there.



          1) order_shipment.create is an alias for sales_order_shipment.create



          2) It says that the second parameter in the array ($itemsQty) is optional and if you leave that parameter out or blank it will create a shipment for all your items.



          3) How to get it to work so you can specify which products and quantities are in the shipment you create is in that $itemsQty array. The first number you enter in there is the Magento ID of your product and the second number is the quantity that you want for the shipment. Make sure you verify that your ID and quantity are correct.
          NOTE: One of the main things that you need to verify is that you have the Order Item ID and not the Product ID. They are not the same thing. You can find the Order Item ID in sales_order.info in the salesOrderItemEntity content. more information here



          If you are getting errors please specify what errors those are.






          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%2f55067%2fhow-to-create-shipment-using-api-soap-v1-with-specific-items-in-it%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









            1














            Make sure you read that link that you sent very well. It answers all of your questions in there.



            1) order_shipment.create is an alias for sales_order_shipment.create



            2) It says that the second parameter in the array ($itemsQty) is optional and if you leave that parameter out or blank it will create a shipment for all your items.



            3) How to get it to work so you can specify which products and quantities are in the shipment you create is in that $itemsQty array. The first number you enter in there is the Magento ID of your product and the second number is the quantity that you want for the shipment. Make sure you verify that your ID and quantity are correct.
            NOTE: One of the main things that you need to verify is that you have the Order Item ID and not the Product ID. They are not the same thing. You can find the Order Item ID in sales_order.info in the salesOrderItemEntity content. more information here



            If you are getting errors please specify what errors those are.






            share|improve this answer





























              1














              Make sure you read that link that you sent very well. It answers all of your questions in there.



              1) order_shipment.create is an alias for sales_order_shipment.create



              2) It says that the second parameter in the array ($itemsQty) is optional and if you leave that parameter out or blank it will create a shipment for all your items.



              3) How to get it to work so you can specify which products and quantities are in the shipment you create is in that $itemsQty array. The first number you enter in there is the Magento ID of your product and the second number is the quantity that you want for the shipment. Make sure you verify that your ID and quantity are correct.
              NOTE: One of the main things that you need to verify is that you have the Order Item ID and not the Product ID. They are not the same thing. You can find the Order Item ID in sales_order.info in the salesOrderItemEntity content. more information here



              If you are getting errors please specify what errors those are.






              share|improve this answer



























                1












                1








                1







                Make sure you read that link that you sent very well. It answers all of your questions in there.



                1) order_shipment.create is an alias for sales_order_shipment.create



                2) It says that the second parameter in the array ($itemsQty) is optional and if you leave that parameter out or blank it will create a shipment for all your items.



                3) How to get it to work so you can specify which products and quantities are in the shipment you create is in that $itemsQty array. The first number you enter in there is the Magento ID of your product and the second number is the quantity that you want for the shipment. Make sure you verify that your ID and quantity are correct.
                NOTE: One of the main things that you need to verify is that you have the Order Item ID and not the Product ID. They are not the same thing. You can find the Order Item ID in sales_order.info in the salesOrderItemEntity content. more information here



                If you are getting errors please specify what errors those are.






                share|improve this answer















                Make sure you read that link that you sent very well. It answers all of your questions in there.



                1) order_shipment.create is an alias for sales_order_shipment.create



                2) It says that the second parameter in the array ($itemsQty) is optional and if you leave that parameter out or blank it will create a shipment for all your items.



                3) How to get it to work so you can specify which products and quantities are in the shipment you create is in that $itemsQty array. The first number you enter in there is the Magento ID of your product and the second number is the quantity that you want for the shipment. Make sure you verify that your ID and quantity are correct.
                NOTE: One of the main things that you need to verify is that you have the Order Item ID and not the Product ID. They are not the same thing. You can find the Order Item ID in sales_order.info in the salesOrderItemEntity content. more information here



                If you are getting errors please specify what errors those are.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Sep 24 '15 at 23:51

























                answered Sep 23 '15 at 1:44









                KyleBungaKyleBunga

                12117




                12117



























                    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%2f55067%2fhow-to-create-shipment-using-api-soap-v1-with-specific-items-in-it%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?