Skip to content

Commit

Permalink
Add restore price to /domain_prices enpoint (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
juankuquintana authored Jan 9, 2024
1 parent 6bf4495 commit 712d2e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion content/v2/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3695,12 +3695,16 @@ components:
type: number
format: float
description: The domain transfer price represented as a USD amount with dollars and cents.
restore_price:
type: number
format: float
description: The domain restore price represented as a USD amount with dollars and cents.
example:
domain: ruby.codes
premium: false
registration_price: 12.0
renewal_price: 15.0
transfer_price: 15.0
restore_price: 25.0
DomainRegistration:
type: object
properties:
Expand Down
2 changes: 1 addition & 1 deletion fixtures/v2/api/getDomainPrices/success.http
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ X-Permitted-Cross-Domain-Policies: none
Content-Security-Policy: frame-ancestors 'none'
Strict-Transport-Security: max-age=31536000

{"data":{"domain":"bingo.pizza","premium":true,"registration_price":20.0,"renewal_price":20.0,"transfer_price":20.0}}
{"data":{"domain":"bingo.pizza","premium":true,"registration_price":20.0,"renewal_price":20.0,"transfer_price":20.0,"restore_price":20.0}}

0 comments on commit 712d2e6

Please sign in to comment.