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

                    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