Docs

Add Resource Type Rate Card

POST /resourceTypes/{resourceTypeId}/rate-cards

POST/resourceTypes/{resourceTypeId}/rate-cards

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.

Creates an empty rate card owned by the resource type. Add its rates and reset definitions with the rate-cards/{rateCardId} sub-routes.

The type's first card becomes its default. Later cards don't change the default; use Set Default Rate Card for that.

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 owning resource type.

Request Body

FieldTypeRequiredDescription
namestringRequiredThe card's name.

Response

201 Created with { "id": "<rate card id>" }.

Error Codes

HTTP StatusDescription
400Missing or invalid name.
403Missing EventSettings.
404Resource type not found on this event.