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;
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
add a comment |
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
add a comment |
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
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
magento-1.9 api sales-order soap shipment
edited May 11 '16 at 20:07
Purushotam Sharma
8801730
8801730
asked Feb 9 '15 at 15:39
Marek HernikMarek Hernik
264
264
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
edited Sep 24 '15 at 23:51
answered Sep 23 '15 at 1:44
KyleBungaKyleBunga
12117
12117
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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