Skip to main content
PATCH
Update applied rate card
API v2 is in beta. Endpoints return the X-Lago-Endpoint-Status: beta header.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contract_external_id
string
required

Contract external id.

Example:

"external_123"

code
string
required

Code of the rate card applied to the parent, returned as rate_card_code on the applied rate card.

Example:

"compute_usd"

Query Parameters

contract_code
string

Code of the contract to select. Required when multiple contracts share the external ID, including canceled and terminated contracts. Otherwise, it can be omitted. Omitting it when the external ID is ambiguous returns 422 value_is_mandatory on contract_code; a blank value returns 422 value_is_invalid. Exact contract code.

Minimum string length: 1
Example:

"initial"

Body

application/json

Request payload

Update an applied rate card.

applied_rate_card
object
required

Response

Successful response

applied rate card response.

applied_rate_card
object
required

Contract Applied Rate Card.