Docs

Set Default Rate Card

PUT /resourceTypes/{resourceTypeId}/default-rate-card

PUT/resourceTypes/{resourceTypeId}/default-rate-card

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Organization tokenx-Organization-TokenOptionalRun **Authorize Organization** in the Authorization folder.

Makes one of the type's own cards its default. An event that pulls the type takes this card's copy as its default.

This replaces PUT resourceTypes/{resourceTypeId}/rate-cards/{rateCardId}/default and the defaultRateCardId field on the resource type's create and update bodies, which no longer accept it.

Requires ResourceTypeDatabase.Edit permission.

Path Parameters

FieldTypeRequiredDescription
resourceTypeIdGuidRequiredThe resource type.

Request Body

FieldTypeRequiredDescription
rateCardIdGuidRequiredA card this type owns.

Response

200 OK. No response body.

Error Codes

HTTP StatusDescription
400The card isn't one of this type's cards.
403Missing ResourceTypeDatabase.Edit.
404Resource type not found in this organization.