Docs
Set Variant Default Rate Card
PUT /resourceTypes/{resourceTypeId}/variants/{variantId}/rate-cards/{rateCardId}/default
PUT
/resourceTypes/{resourceTypeId}/variants/{variantId}/rate-cards/{rateCardId}/defaultRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Organization token | x-Organization-Token | Optional | Run **Authorize Organization** in the Authorization folder. |
Makes a linked card the variant's default.
Requires
ResourceTypeDatabase.Edit permission.Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceTypeId | Guid | Required | The resource type. |
| variantId | Guid | Required | The variant. |
| rateCardId | Guid | Required | A card linked to the variant. |
Response
200 OK. No response body.
Error Codes
| HTTP Status | Description |
|---|---|
| 404 | Type, variant or link not found. |