Magento 2 Cannot create shipment Rest Api Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I create a shipment via REST API?Magento 2X Shipment Api ClarityCreate new Magento Rest API to get category list in Magento 1.9Create Product with image using REST APIPartial Shipmentmagento api 2 create product errorMagento 2 REST API create for post operationMagento2 Rest api without any moduleIs there any possibility to login Magento 2 front-end customer through Rest APIMagento SOAP Cannot create an empty shipment C#Magento 2 - Get abandoned shopping carts through Rest API

Keep at all times, the minus sign above aligned with minus sign below

What does 丫 mean? 丫是什么意思?

How do I say "this must not happen"?

Can gravitational waves pass through a black hole?

How to achieve cat-like agility?

Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?

Random body shuffle every night—can we still function?

Russian equivalents of おしゃれは足元から (Every good outfit starts with the shoes)

3D Masyu - A Die

.bashrc alias for a command with fixed second parameter

Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?

Is the Mordenkainen's Sword spell underpowered?

Meaning of 境 in その日を境に

How does TikZ render an arc?

An isoperimetric-type inequality inside a cube

Is there a verb for listening stealthily?

How to make an animal which can only breed for a certain number of generations?

Determine whether an integer is a palindrome

Improvising over quartal voicings

How do you cope with tons of web fonts when copying and pasting from web pages?

Table formatting with tabularx?

Google .dev domain strangely redirects to https

Why complex landing gears are used instead of simple, reliable and light weight muscle wire or shape memory alloys?

Why are current probes so expensive?



Magento 2 Cannot create shipment Rest Api



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?How do I create a shipment via REST API?Magento 2X Shipment Api ClarityCreate new Magento Rest API to get category list in Magento 1.9Create Product with image using REST APIPartial Shipmentmagento api 2 create product errorMagento 2 REST API create for post operationMagento2 Rest api without any moduleIs there any possibility to login Magento 2 front-end customer through Rest APIMagento SOAP Cannot create an empty shipment C#Magento 2 - Get abandoned shopping carts through Rest API



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








1















I am trying to create shipment after refund in magento through Rest Api but it is giving error "Cannot create shipment without item". My shipment was of 5 quantity out of which I have refunded 2 item and trying to create another shipment of 3 quantity but then it is giving error. Where I am wrong or Magento allow this or not?










share|improve this question
























  • Please provide your request json , it is better if you can put also the Order body (json)

    – WISAM HAKIM
    Jun 10 '18 at 15:17

















1















I am trying to create shipment after refund in magento through Rest Api but it is giving error "Cannot create shipment without item". My shipment was of 5 quantity out of which I have refunded 2 item and trying to create another shipment of 3 quantity but then it is giving error. Where I am wrong or Magento allow this or not?










share|improve this question
























  • Please provide your request json , it is better if you can put also the Order body (json)

    – WISAM HAKIM
    Jun 10 '18 at 15:17













1












1








1








I am trying to create shipment after refund in magento through Rest Api but it is giving error "Cannot create shipment without item". My shipment was of 5 quantity out of which I have refunded 2 item and trying to create another shipment of 3 quantity but then it is giving error. Where I am wrong or Magento allow this or not?










share|improve this question
















I am trying to create shipment after refund in magento through Rest Api but it is giving error "Cannot create shipment without item". My shipment was of 5 quantity out of which I have refunded 2 item and trying to create another shipment of 3 quantity but then it is giving error. Where I am wrong or Magento allow this or not?







magento2 rest-api shipment






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 5 '18 at 13:51









Nikunj Vadariya

2,9081821




2,9081821










asked Jun 5 '18 at 12:59









akshay billoreakshay billore

77112




77112












  • Please provide your request json , it is better if you can put also the Order body (json)

    – WISAM HAKIM
    Jun 10 '18 at 15:17

















  • Please provide your request json , it is better if you can put also the Order body (json)

    – WISAM HAKIM
    Jun 10 '18 at 15:17
















Please provide your request json , it is better if you can put also the Order body (json)

– WISAM HAKIM
Jun 10 '18 at 15:17





Please provide your request json , it is better if you can put also the Order body (json)

– WISAM HAKIM
Jun 10 '18 at 15:17










1 Answer
1






active

oldest

votes


















0














There is no need to include the items in the shipment JSON for the API in order to ship the whole order. See my answer here: How do I create a shipment via REST API?






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%2f228700%2fmagento-2-cannot-create-shipment-rest-api%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














    There is no need to include the items in the shipment JSON for the API in order to ship the whole order. See my answer here: How do I create a shipment via REST API?






    share|improve this answer



























      0














      There is no need to include the items in the shipment JSON for the API in order to ship the whole order. See my answer here: How do I create a shipment via REST API?






      share|improve this answer

























        0












        0








        0







        There is no need to include the items in the shipment JSON for the API in order to ship the whole order. See my answer here: How do I create a shipment via REST API?






        share|improve this answer













        There is no need to include the items in the shipment JSON for the API in order to ship the whole order. See my answer here: How do I create a shipment via REST API?







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 17 at 13:07









        KolonUKKolonUK

        958




        958



























            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%2f228700%2fmagento-2-cannot-create-shipment-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

            Sum ergo cogito? 1 nng

            419 nièngy_Soadمي 19bal1.5o_g

            Queiggey Chernihivv 9NnOo i Zw X QqKk LpB