Retrieve Contract Details
GET https://infrahub-api.nexgencloud.com/v1/pricebook/contracts/{contract_id}
Retrieves the details of a specified customer contract, including its terms and the discounts applied to all resources under the contract. Include the contract ID in the path to view its details. For more information about contracts, click here.
Path parameters
contract_id integer
Required
The unique identifier of the contract for which to retrieve details.
Attributes
status boolean
Indicates the status of the request to retrieve contract details, true
indicates success, while false
indicates an error.
message string
A message describing the success or failure of the request.
contract object
Contains information about the specified contract.
Show child attributes
created_at date-time
The timestamp when the contract was created.
expiration_policy integer
The expiration policy for the contract is represented by a value of 0
, indicating that contracted resources will be deleted upon contract expiration, or 1
, indicating that contracted resources will be retained, with billing continuing at market rates.
org_id integer
The unique identifier for the organization associated with the contract.