Skip to navigation

Archive a rate card

Draft scaffold — not implemented or available in the API.

Archives the rate card. Orders already on it keep billing through every version, including scheduled ones, but it can’t go on new orders or gain versions. A rate card is never deleted.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

rateCardstringRequiredformat: "^[a-z0-9_]{1,64}$"
The rate card's key.

Headers

Paid-BetaenumRequired

This endpoint is in the rate_cards=v1 beta. Send this header to use it.

Allowed values:

Response

200
idstring
The rate card's ID.
objectenum

The type of object. Always rateCard.

Allowed values:
createdAtdatetime
When the object was created.
archivedAtdatetime or null

When the rate card was archived, or null. An archived card can’t be put on new orders or gain versions.

keystringformat: "^[a-z0-9_]{1,64}$"

The rate card’s key: 1 to 64 lowercase letters, digits or underscores, unique in the account. It can’t change.

livemodeboolean

true for an object on a live account, false on a test account.

namestring>=1 character
The resource name.
pricedInobject
What the rate card prices in. It can't change.
productstring
The ID of the product the rate card prices.
updatedAtdatetime
When the object was last changed.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error