Concepts
Deprecation
How Arcus deprecates API features, what the Sunset header means, and how to migrate before end-of-life.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How Arcus deprecates API features, what the Sunset header means, and how to migrate before end-of-life.
| Stage | Action |
|---|---|
| Announced | Listed in the changelog + deprecation table below; Deprecation response header added |
| Sunset | Sunset response header added with the removal date |
| Removed | Feature removed; requests to removed endpoints return 410 Gone |
Deprecation: true
Sunset: Sat, 01 May 2027 00:00:00 GMT
Link: <https://arcuserp.mintlify.app/concepts/deprecation#migration-guides>; rel="deprecation"
const response = await arcus.orders.list();
if (response.headers?.deprecation) {
console.warn('WARNING: This endpoint is deprecated. Sunset:', response.headers?.sunset);
}
response = arcus.orders.list()
if 'deprecation' in response.raw_response.headers:
import warnings
warnings.warn(
f"Deprecated endpoint. Sunset: {response.raw_response.headers.get('sunset')}",
DeprecationWarning,
)
resp, err := client.Orders.ListRaw(ctx, nil)
if resp.Header.Get("Deprecation") != "" {
log.Printf("WARNING: deprecated endpoint. Sunset: %s", resp.Header.Get("Sunset"))
}
| Feature | Deprecated | Sunset | Replacement |
|---|---|---|---|
| (none) |
Was this page helpful?
