How do I create a shipment via REST API magento2?How to create a shipment pdf programmatically?How do I create a shipment via REST API?How we can create partial shipment programmatically using rest apiAdd products via REST API to Magento 2 webshopcustom api to create customer in Magento2Magento 2 V1/Shipment API getParentItem on nullHow to create module for Rest Api , Magento2How to send shipment email notification using rest api magento 2?How to create shipment using rest api in magento 2?Magento 2.2.6 : Shipment creation using REST API

Why we don't have vaccination against all diseases which are caused by microbes?

Potential new partner angry about first collaboration - how to answer email to close up this encounter in a graceful manner

Why is Boris Johnson visiting only Paris & Berlin if every member of the EU needs to agree on a withdrawal deal?

How to persuade recruiters to send me the Job Description?

Can a group have a cyclical derived series?

Is "stainless" a bulk or a surface property of stainless steel?

How to organize ideas to start writing a novel?

Church Booleans

Are illustrations in novels frowned upon?

Was 'help' pronounced starting with a vowel sound?

Taking out number of subarrays from an array which contains all the distinct elements of that array

Have only girls been born for a long time in this village?

Is there a SubImageApply?

Why don't we use Cavea-B

The teacher logged me in as administrator for doing a short task, is the whole system now compromised?

Nuclear decay triggers

Why didn’t Doctor Strange stay in the original winning timeline?

Is refusing to concede in the face of an unstoppable Nexus combo punishable?

Is it appropriate for a prospective landlord to ask me for my credit report?

Thread-safe, Convenient and Performant Random Number Generator

Is there a known non-euclidean geometry where two concentric circles of different radii can intersect? (as in the novel "The Universe Between")

What does it mean to have a subnet mask /32?

Why were movies shot on film shot at 24 frames per second?

How much code would a codegolf golf if a codegolf could golf code?



How do I create a shipment via REST API magento2?


How to create a shipment pdf programmatically?How do I create a shipment via REST API?How we can create partial shipment programmatically using rest apiAdd products via REST API to Magento 2 webshopcustom api to create customer in Magento2Magento 2 V1/Shipment API getParentItem on nullHow to create module for Rest Api , Magento2How to send shipment email notification using rest api magento 2?How to create shipment using rest api in magento 2?Magento 2.2.6 : Shipment creation using REST API






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








0















Can someone help me about the shipment. How can I pass the MSI source code to the Shipment Create API?



Thanks










share|improve this question
























  • provide us the endpoint and payload you are using

    – Philipp Sander
    Aug 8 at 14:56











  • /V1/order/orderId/ship

    – Moin Malek
    Aug 8 at 15:02











  • please edit your question with the payload you are using

    – Philipp Sander
    Aug 8 at 15:06

















0















Can someone help me about the shipment. How can I pass the MSI source code to the Shipment Create API?



Thanks










share|improve this question
























  • provide us the endpoint and payload you are using

    – Philipp Sander
    Aug 8 at 14:56











  • /V1/order/orderId/ship

    – Moin Malek
    Aug 8 at 15:02











  • please edit your question with the payload you are using

    – Philipp Sander
    Aug 8 at 15:06













0












0








0








Can someone help me about the shipment. How can I pass the MSI source code to the Shipment Create API?



Thanks










share|improve this question














Can someone help me about the shipment. How can I pass the MSI source code to the Shipment Create API?



Thanks







magento2 rest-api shipment multi-source-inventory msi






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 8 at 14:36









Moin MalekMoin Malek

5226 silver badges21 bronze badges




5226 silver badges21 bronze badges















  • provide us the endpoint and payload you are using

    – Philipp Sander
    Aug 8 at 14:56











  • /V1/order/orderId/ship

    – Moin Malek
    Aug 8 at 15:02











  • please edit your question with the payload you are using

    – Philipp Sander
    Aug 8 at 15:06

















  • provide us the endpoint and payload you are using

    – Philipp Sander
    Aug 8 at 14:56











  • /V1/order/orderId/ship

    – Moin Malek
    Aug 8 at 15:02











  • please edit your question with the payload you are using

    – Philipp Sander
    Aug 8 at 15:06
















provide us the endpoint and payload you are using

– Philipp Sander
Aug 8 at 14:56





provide us the endpoint and payload you are using

– Philipp Sander
Aug 8 at 14:56













/V1/order/orderId/ship

– Moin Malek
Aug 8 at 15:02





/V1/order/orderId/ship

– Moin Malek
Aug 8 at 15:02













please edit your question with the payload you are using

– Philipp Sander
Aug 8 at 15:06





please edit your question with the payload you are using

– Philipp Sander
Aug 8 at 15:06










1 Answer
1






active

oldest

votes


















0














You can achieve this through rest API /V1/order/orderId/ship
I did this by adding the source code into the API.




"items": [

"extension_attributes": ,
"order_item_id": 1482,
"qty": 1

],
"notify": false,
"appendComment": true,
"comment":
"extension_attributes": ,
"comment": "Shipment Create",
"is_visible_on_front": 0
,
"tracks": [

"extension_attributes": ,
"track_number": "XXXXXXXXXXXXXX",
"title": "Custom",
"carrier_code": "custom"

],
"arguments":
"extension_attributes":
"source_code": "source_code"





Thanks






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%2f284870%2fhow-do-i-create-a-shipment-via-rest-api-magento2%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














    You can achieve this through rest API /V1/order/orderId/ship
    I did this by adding the source code into the API.




    "items": [

    "extension_attributes": ,
    "order_item_id": 1482,
    "qty": 1

    ],
    "notify": false,
    "appendComment": true,
    "comment":
    "extension_attributes": ,
    "comment": "Shipment Create",
    "is_visible_on_front": 0
    ,
    "tracks": [

    "extension_attributes": ,
    "track_number": "XXXXXXXXXXXXXX",
    "title": "Custom",
    "carrier_code": "custom"

    ],
    "arguments":
    "extension_attributes":
    "source_code": "source_code"





    Thanks






    share|improve this answer





























      0














      You can achieve this through rest API /V1/order/orderId/ship
      I did this by adding the source code into the API.




      "items": [

      "extension_attributes": ,
      "order_item_id": 1482,
      "qty": 1

      ],
      "notify": false,
      "appendComment": true,
      "comment":
      "extension_attributes": ,
      "comment": "Shipment Create",
      "is_visible_on_front": 0
      ,
      "tracks": [

      "extension_attributes": ,
      "track_number": "XXXXXXXXXXXXXX",
      "title": "Custom",
      "carrier_code": "custom"

      ],
      "arguments":
      "extension_attributes":
      "source_code": "source_code"





      Thanks






      share|improve this answer



























        0












        0








        0







        You can achieve this through rest API /V1/order/orderId/ship
        I did this by adding the source code into the API.




        "items": [

        "extension_attributes": ,
        "order_item_id": 1482,
        "qty": 1

        ],
        "notify": false,
        "appendComment": true,
        "comment":
        "extension_attributes": ,
        "comment": "Shipment Create",
        "is_visible_on_front": 0
        ,
        "tracks": [

        "extension_attributes": ,
        "track_number": "XXXXXXXXXXXXXX",
        "title": "Custom",
        "carrier_code": "custom"

        ],
        "arguments":
        "extension_attributes":
        "source_code": "source_code"





        Thanks






        share|improve this answer













        You can achieve this through rest API /V1/order/orderId/ship
        I did this by adding the source code into the API.




        "items": [

        "extension_attributes": ,
        "order_item_id": 1482,
        "qty": 1

        ],
        "notify": false,
        "appendComment": true,
        "comment":
        "extension_attributes": ,
        "comment": "Shipment Create",
        "is_visible_on_front": 0
        ,
        "tracks": [

        "extension_attributes": ,
        "track_number": "XXXXXXXXXXXXXX",
        "title": "Custom",
        "carrier_code": "custom"

        ],
        "arguments":
        "extension_attributes":
        "source_code": "source_code"





        Thanks







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 8 at 15:03









        Moin MalekMoin Malek

        5226 silver badges21 bronze badges




        5226 silver badges21 bronze badges






























            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%2f284870%2fhow-do-i-create-a-shipment-via-rest-api-magento2%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

            Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

            Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

            Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림