Skip to navigation

Archive a price

Draft scaffold — not implemented or available in the API.

Archives the price. It stays readable and on its invoices, and running orders keep billing it, but it can’t be put on new orders. Fails while an active plan lists the price. {price} takes the price’s prc_ ID.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

pricestringRequired1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.

Headers

Paid-BetaenumRequired

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

Allowed values:

Response

200
usageobject
OR
recurringobject
OR
oneTimeobject
OR
percentOfobject

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