Update
Authorizations
Path parameters
addressIdintegerRequiredExample:
Address Id
85
Header parameters
Content-TypestringOptionalExample:
Content Type
application/json
guestQuoteIdstringOptionalExample:
Guest Quote Id
{{guestToken}}
Body
objectOptionalExample:
{"guestAddress":{"firstname":"Test 22","lastname":"Guest 22","telephone":"787878722","country_id":"SA","region":{"region":"test","region_id":0},"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/guest/address/{addressId}/update HTTP/1.1
Host: beta.magento.pixiedia.com
Authorization: noauth YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 497
{
"guestAddress": {
"firstname": "Test 22",
"lastname": "Guest 22",
"telephone": "787878722",
"country_id": "SA",
"region": {
"region": "test",
"region_id": 0
},
"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