Update
Authorizations
Path parameters
addressIdintegerRequiredExample:
Address Id
85
Header parameters
Content-TypestringOptionalExample:
Content Type
application/json
Body
objectOptionalExample:
{"customerAddress":{"firstname":"Test 22","lastname":"Guest 22","telephone":"787878722","country_id":"SA","region":{"region":"SA","region_id":654},"city":"Riyadh","street":["dadad"],"postcode":"12121221","company":"","default_shipping":true,"default_billing":true,"custom_attributes":[{"attribute_code":"address_latitude","value":"889889899"},{"attribute_code":"address_longitude","value":"6656556"},{"attribute_code":"extra_info","value":"hhjhj"},{"attribute_code":"address_label","value":"home"}]}}
Responses
200
Successful response
application/json
post
POST /V2/customer/address/{addressId}/update HTTP/1.1
Host: beta.magento.pixiedia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 500
{
"customerAddress": {
"firstname": "Test 22",
"lastname": "Guest 22",
"telephone": "787878722",
"country_id": "SA",
"region": {
"region": "SA",
"region_id": 654
},
"city": "Riyadh",
"street": [
"dadad"
],
"postcode": "12121221",
"company": "",
"default_shipping": true,
"default_billing": true,
"custom_attributes": [
{
"attribute_code": "address_latitude",
"value": "889889899"
},
{
"attribute_code": "address_longitude",
"value": "6656556"
},
{
"attribute_code": "extra_info",
"value": "hhjhj"
},
{
"attribute_code": "address_label",
"value": "home"
}
]
}
}
200
Successful response
No content