Update address
PATCHhttps://api.staging.powerapi.com/api/v1/addresses/:id
Update address
Request
Path Parameters
id int32required
- application/vnd.api+json
Body
required
data
object
Responses
- 200
Update address
- application/vnd.api+json
- Schema
Schema
any
- curl
- python
- go
- nodejs
- ruby
- java
- powershell
- CURL
curl -L -X PATCH 'https://api.staging.powerapi.com/api/v1/addresses/:id' \
-H 'Content-Type: application/vnd.api+json' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"data": {
"id": "string",
"type": "addresses",
"attributes": {
"address_line": "string",
"city": "string",
"country_code": "string",
"name": "string",
"notes": "string",
"post_code": "string",
"region_code": "string",
"street": "string",
"street_number": "string"
}
}
}'
ResponseClear