Customer Contract

List Contracts

Retrieves a list of contracts and their details, including the terms of each contract and the discounts applied to all resources under each contract. Pagination can be controlled using the page and per_page query parameters. For additional information about contracts, see Contracts.

get/pricebook/contracts

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/pricebook/contracts
  • Auth: API key in header api_key

Query parameters

pageinteger

Page number to retrieve.

per_pageinteger

Number of items to return per page.

Response

Success

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

countinteger

Number of items returned in the current page.

Example response

{
  "status": true,
  "message": "Getting customer contracts list successful"
}

Changes

No recorded changes to this operation across all 1 revision of this API.