Magento 2 REST API Update Single Customer Address

Matthew

No, M2.2 even does not support Customer Address save/update. What you can do with current implementation is:

  1. Get full customer information:

    curl -X GET http://your.magento2.com/rest/default/V1/customers/ID \ -H 'authorization: Bearer TOKEN'

  2. Put full customer information updating the desired address/es:

    curl -X PUT http://your.magento2.com/rest/default/V1/customers/ID \ -H 'authorization: Bearer TOKEN'

Or declare in your own module two new endpoints into webapi.xml, since AddressRepository already have getList and UpdateAddressCollection (M2.2 I can see them) functions you can create a new interface and your own AddressRepository model which extends original Interface/Model and then use this functions for update and search.

Tags:

Magento 2.1