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.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Makes one of the type's own cards its default. A need, reservation or fulfillment item with no card of its own, on a variant with no card, prices from this one.

This replaces defaultRateCardId on the resource type's create and update bodies, which no longer accept it.

Requires EventSettings permission on the event.
Event scoping: This endpoint does not include {eventId} in the URL. The event is determined automatically from your x-Event-Token.

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 EventSettings.
404Resource type not found on this event.