2

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?

  • 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
0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.