- Home
- API reference
- API documentation (JSON/XML)
- Tasks
- Parking tasks
Parking domain update
Function
The ParkingDomainUpdate task updates the data of a parking domain.
Description
Route:PUT /parking/account/1234/domain/example.com
{
"currency" : "EUR",
"fixedPrice" : true,
"forSale" : true,
"keywords" : [ "hello", "world" ],
"price" : 200.0,
"minPrice" : 200.0
}{
"status" : {
"code" : "S700202",
"text" : "The parking domain was updated successfully.",
"type" : "SUCCESS"
},
"object" : {
"type" : "ParkingDomain",
"value" : "example.com"
}
}
Task code: 700202
Uses Parking Domain object
<request>
<auth>
<user>customer</user>
<context>4</context>
<password>password</password>
</auth>
<task>
<code>700202</code>
<parking_domain>
<name>example.com</name>
<currency>EUR</currency>
<fixedPrice>true</fixedPrice>
<forSale>true</forSale>
<price>200.0</price>
<minPrice>200.0</minPrice>
<parking_account>
<id>105</id>
</parking_account>
</parking_domain>
</task>
</request><response>
<result>
<data />
<status>
<code>S700202</code>
<text>The parking domain was updated successfully.</text>
<type>success</type>
<object>
<type>ParkingDomain</type>
<value>example.com</value>
</object>
</status>
</result>
<stid>20221202-app3-dev-21662</stid>
</response>