Magento 2.1 : How can I save a shipping address using the REST V1 APIMagento2: How to get shipping address for order in REST API?Set Shipping Address via Magento 2 REST APIMagento 2 REST API paypal paymentMagento 2 : Can the REST API return plain text?Magento 2 REST API Update Single Customer AddressREST API and setting the quotes Billing & Shipping addressesCan i get all customers, along with their address information, using the REST api?Magento 2 - validate shipping address before moving to payment page?Do I need to add shipping address every time whenever I place a new order in Magento 2 REST API?how to make billing address same as shipping address magento2
Earliest evidence of objects intended for future archaeologists?
Repurpose telephone line to ethernet
Is there any road between the CA State Route 120 and Sherman Pass Road (Forest Route 22S0) that crosses Yosemite/Serria/Sequoia National Park/Forest?
Why does my air conditioner still run, even when it is cooler outside than in?
Does C++20 mandate source code being stored in files?
Can I submit a paper under an alias so as to avoid trouble in my country?
Starships without computers?
Why don't sharp and flat root note chords seem to be present in much guitar music?
Have ejective consonants ever arisen on their own?
Are there reliable, formulaic ways to form chords on the guitar?
Use of vor in this sentence
Can others monetize my project with GPLv3?
Unbiased estimator of exponential of measure of a set?
Why would the President need briefings on UFOs?
Changing a TGV booking
Is "stainless" a bulk or a surface property of stainless steel?
Why do some academic journals requires a separate "summary" paragraph in addition to an abstract?
What is the latest version of SQL Server native client that is compatible with Sql Server 2008 r2
Vacuum collapse -- why do strong metals implode but glass doesn't?
How did Apollo 15's depressurization work?
Is it appropriate for a business to ask me for my credit report?
E: Sub-process /usr/bin/dpkg returned an error code (1) - but how do I find the meaningful error messages in APT's output?
Is a butterfly one or two animals?
Infinite loop in CURSOR
Magento 2.1 : How can I save a shipping address using the REST V1 API
Magento2: How to get shipping address for order in REST API?Set Shipping Address via Magento 2 REST APIMagento 2 REST API paypal paymentMagento 2 : Can the REST API return plain text?Magento 2 REST API Update Single Customer AddressREST API and setting the quotes Billing & Shipping addressesCan i get all customers, along with their address information, using the REST api?Magento 2 - validate shipping address before moving to payment page?Do I need to add shipping address every time whenever I place a new order in Magento 2 REST API?how to make billing address same as shipping address magento2
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to save just the shipping address using the REST V1 API of Magento 2. I know there is an endpoint to save the billing-address, but there seems to be lack of a way to save the shipping address.
There is a shipping-information endpoint, but this requires you to already set your shipping method.
Does anyone know how I can do this?
magento2 checkout api magento-2.1 rest
add a comment |
I'm trying to save just the shipping address using the REST V1 API of Magento 2. I know there is an endpoint to save the billing-address, but there seems to be lack of a way to save the shipping address.
There is a shipping-information endpoint, but this requires you to already set your shipping method.
Does anyone know how I can do this?
magento2 checkout api magento-2.1 rest
Did you ever find a solution to this? In Magento 2.2 I can use billing-address endpoint to set the Billing and Shipping address to the same thing, but can't work out how to set a different shipping address without affecting the billing address.
– Paul Blundell
Dec 7 '17 at 10:36
add a comment |
I'm trying to save just the shipping address using the REST V1 API of Magento 2. I know there is an endpoint to save the billing-address, but there seems to be lack of a way to save the shipping address.
There is a shipping-information endpoint, but this requires you to already set your shipping method.
Does anyone know how I can do this?
magento2 checkout api magento-2.1 rest
I'm trying to save just the shipping address using the REST V1 API of Magento 2. I know there is an endpoint to save the billing-address, but there seems to be lack of a way to save the shipping address.
There is a shipping-information endpoint, but this requires you to already set your shipping method.
Does anyone know how I can do this?
magento2 checkout api magento-2.1 rest
magento2 checkout api magento-2.1 rest
asked Sep 13 '16 at 14:12
Giel BerkersGiel Berkers
7,5293 gold badges45 silver badges88 bronze badges
7,5293 gold badges45 silver badges88 bronze badges
Did you ever find a solution to this? In Magento 2.2 I can use billing-address endpoint to set the Billing and Shipping address to the same thing, but can't work out how to set a different shipping address without affecting the billing address.
– Paul Blundell
Dec 7 '17 at 10:36
add a comment |
Did you ever find a solution to this? In Magento 2.2 I can use billing-address endpoint to set the Billing and Shipping address to the same thing, but can't work out how to set a different shipping address without affecting the billing address.
– Paul Blundell
Dec 7 '17 at 10:36
Did you ever find a solution to this? In Magento 2.2 I can use billing-address endpoint to set the Billing and Shipping address to the same thing, but can't work out how to set a different shipping address without affecting the billing address.
– Paul Blundell
Dec 7 '17 at 10:36
Did you ever find a solution to this? In Magento 2.2 I can use billing-address endpoint to set the Billing and Shipping address to the same thing, but can't work out how to set a different shipping address without affecting the billing address.
– Paul Blundell
Dec 7 '17 at 10:36
add a comment |
1 Answer
1
active
oldest
votes
For now, I guess that there is no endpoint to save shipping address in Magento 2.x
But I am using this for saving shipping address:
PUT /V1/customers/me/
with 2 fields below in body json:
"default_shipping": true,
"default_billing": true
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%2f136108%2fmagento-2-1-how-can-i-save-a-shipping-address-using-the-rest-v1-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
For now, I guess that there is no endpoint to save shipping address in Magento 2.x
But I am using this for saving shipping address:
PUT /V1/customers/me/
with 2 fields below in body json:
"default_shipping": true,
"default_billing": true
add a comment |
For now, I guess that there is no endpoint to save shipping address in Magento 2.x
But I am using this for saving shipping address:
PUT /V1/customers/me/
with 2 fields below in body json:
"default_shipping": true,
"default_billing": true
add a comment |
For now, I guess that there is no endpoint to save shipping address in Magento 2.x
But I am using this for saving shipping address:
PUT /V1/customers/me/
with 2 fields below in body json:
"default_shipping": true,
"default_billing": true
For now, I guess that there is no endpoint to save shipping address in Magento 2.x
But I am using this for saving shipping address:
PUT /V1/customers/me/
with 2 fields below in body json:
"default_shipping": true,
"default_billing": true
answered Oct 19 '16 at 3:55
David NguyenDavid Nguyen
1819 bronze badges
1819 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%2f136108%2fmagento-2-1-how-can-i-save-a-shipping-address-using-the-rest-v1-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
Did you ever find a solution to this? In Magento 2.2 I can use billing-address endpoint to set the Billing and Shipping address to the same thing, but can't work out how to set a different shipping address without affecting the billing address.
– Paul Blundell
Dec 7 '17 at 10:36