Magento 2 : how to change order status processing to complete using Rest ApiForce an order to go to the status completeProcessing Order StatusMagento 2: How do I notify a customer about an order status change done via the REST Api?Magento 1.9 - Create order using REST APICannot change order status back to Processing from CompleteMagento 2 cannot change order status to custom from completeChange Custom status(Ready to ship) using rest api in magento2.1.12How to change Order-Status with custom-order-status(Ready To Dispatch) using rest API in magento 2.1?Custom order status between Processing and complete in Magento2Magento 2.3 Change Order Status Programmatically
QGIS Linestring rendering curves between vertex
Players of unusual orchestral instruments
The monorail explodes before I can get on it
Did any of the founding fathers anticipate Lysander Spooner's criticism of the constitution?
Can I play a first turn Simic Growth Chamber to have 3 mana available in the second turn?
School House Points (Python + SQLite)
In which ways do anagamis still experience ignorance?
Is a public company able to check out who owns its shares in very detailed format?
Why would an Inquisitive rogue choose to use Insightful Fighting as opposed to using their Cunning Action to Hide?
How does one stock fund's charge of 1% more in operating expenses than another fund lower expected returns by 10%?
Doing research in academia and not liking competition
Find values of x so that the matrix is invertible
Are there any double stars that I can actually see orbit each other?
TikZ Can I draw an arrow by specifying the initial point, direction, and length?
Construct a pentagon avoiding compass use
A DVR algebra with weird automorphisms
Alternatives to using writing paper for writing practice
About the number of real roots
How do a planet's moons and a planet's rings interact?
Why does java.time.Period#normalized() not normalize days?
Why is the total number of hard disk sectors shown in fdisk not the same as theoretical calculation?
What is this welding tool I found in my attic?
Should you avoid redundant information after dialogue?
Metric version of "footage"?
Magento 2 : how to change order status processing to complete using Rest Api
Force an order to go to the status completeProcessing Order StatusMagento 2: How do I notify a customer about an order status change done via the REST Api?Magento 1.9 - Create order using REST APICannot change order status back to Processing from CompleteMagento 2 cannot change order status to custom from completeChange Custom status(Ready to ship) using rest api in magento2.1.12How to change Order-Status with custom-order-status(Ready To Dispatch) using rest API in magento 2.1?Custom order status between Processing and complete in Magento2Magento 2.3 Change Order Status Programmatically
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Any option to update order status processing to complete in Magento 2 using Rest API.
magento-2.1 rest-api order-status
add a comment |
Any option to update order status processing to complete in Magento 2 using Rest API.
magento-2.1 rest-api order-status
You should create shipment throught API. The status will automatically change to complete.
– Abdul Pathan
Jul 5 at 17:07
add a comment |
Any option to update order status processing to complete in Magento 2 using Rest API.
magento-2.1 rest-api order-status
Any option to update order status processing to complete in Magento 2 using Rest API.
magento-2.1 rest-api order-status
magento-2.1 rest-api order-status
edited Jul 6 at 0:22
Abdul Pathan
3507 bronze badges
3507 bronze badges
asked Jul 5 at 15:26
GaganGagan
1217 bronze badges
1217 bronze badges
You should create shipment throught API. The status will automatically change to complete.
– Abdul Pathan
Jul 5 at 17:07
add a comment |
You should create shipment throught API. The status will automatically change to complete.
– Abdul Pathan
Jul 5 at 17:07
You should create shipment throught API. The status will automatically change to complete.
– Abdul Pathan
Jul 5 at 17:07
You should create shipment throught API. The status will automatically change to complete.
– Abdul Pathan
Jul 5 at 17:07
add a comment |
2 Answers
2
active
oldest
votes
Use SalesShipOrder
POST https://host/index.php/rest/V1/orders/orderId/ship
with the payload described at the link above for each item (product) within the order and when all have been "shipped", the order will be automatically changed to "complete"
New contributor
add a comment |
For changing order status processing to complete You need to call following API.
Endpoint
POST <host>/rest/<store_code>/V1/order/3/ship
where 3 is the order id.
Headers
Content-Type application/json
Authorization Bearer <administrator token>
You will get Shipment ID in resonse and status of order will changed to completed.
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%2f280998%2fmagento-2-how-to-change-order-status-processing-to-complete-using-rest-api%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use SalesShipOrder
POST https://host/index.php/rest/V1/orders/orderId/ship
with the payload described at the link above for each item (product) within the order and when all have been "shipped", the order will be automatically changed to "complete"
New contributor
add a comment |
Use SalesShipOrder
POST https://host/index.php/rest/V1/orders/orderId/ship
with the payload described at the link above for each item (product) within the order and when all have been "shipped", the order will be automatically changed to "complete"
New contributor
add a comment |
Use SalesShipOrder
POST https://host/index.php/rest/V1/orders/orderId/ship
with the payload described at the link above for each item (product) within the order and when all have been "shipped", the order will be automatically changed to "complete"
New contributor
Use SalesShipOrder
POST https://host/index.php/rest/V1/orders/orderId/ship
with the payload described at the link above for each item (product) within the order and when all have been "shipped", the order will be automatically changed to "complete"
New contributor
New contributor
answered Jul 9 at 4:20
EnzoaeneasEnzoaeneas
1
1
New contributor
New contributor
add a comment |
add a comment |
For changing order status processing to complete You need to call following API.
Endpoint
POST <host>/rest/<store_code>/V1/order/3/ship
where 3 is the order id.
Headers
Content-Type application/json
Authorization Bearer <administrator token>
You will get Shipment ID in resonse and status of order will changed to completed.
add a comment |
For changing order status processing to complete You need to call following API.
Endpoint
POST <host>/rest/<store_code>/V1/order/3/ship
where 3 is the order id.
Headers
Content-Type application/json
Authorization Bearer <administrator token>
You will get Shipment ID in resonse and status of order will changed to completed.
add a comment |
For changing order status processing to complete You need to call following API.
Endpoint
POST <host>/rest/<store_code>/V1/order/3/ship
where 3 is the order id.
Headers
Content-Type application/json
Authorization Bearer <administrator token>
You will get Shipment ID in resonse and status of order will changed to completed.
For changing order status processing to complete You need to call following API.
Endpoint
POST <host>/rest/<store_code>/V1/order/3/ship
where 3 is the order id.
Headers
Content-Type application/json
Authorization Bearer <administrator token>
You will get Shipment ID in resonse and status of order will changed to completed.
answered Jul 9 at 4:34
user4536user4536
3281 silver badge15 bronze badges
3281 silver badge15 bronze badges
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%2f280998%2fmagento-2-how-to-change-order-status-processing-to-complete-using-rest-api%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
You should create shipment throught API. The status will automatically change to complete.
– Abdul Pathan
Jul 5 at 17:07