Docs
Set Default Rate Card
PUT /resourceTypes/{resourceTypeId}/default-rate-card
PUT
/resourceTypes/{resourceTypeId}/default-rate-cardRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **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
| Field | Type | Required | Description |
|---|---|---|---|
| resourceTypeId | Guid | Required | The resource type. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| rateCardId | Guid | Required | A card this type owns. |
Response
200 OK. No response body.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | The card isn't one of this type's cards. |
| 403 | Missing EventSettings. |
| 404 | Resource type not found on this event. |