Archive a product
Products
Archive Product
Archive a card product, preventing new cards from being issued under it. POST /products//archive. Requires accounts:write scope.
POST
Archive a product
Documentation Index
Fetch the complete documentation index at: https://docs.fyatu.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Marks a card product asARCHIVED. An archived product:
- Cannot be used to issue new cards (
POST /cardswith thisproductIdreturns422) - Does not affect cards already issued under it — existing cards continue to operate normally
- Can be restored with
POST /products/{id}/activate
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The product ID (prefix prd_) |
Request Body
None — this is a state-transition endpoint with no body required.Example
Success Response (200)
Error Codes
| Code | HTTP | Cause |
|---|---|---|
PRODUCT_NOT_FOUND | 404 | Product does not exist or belongs to another business |
ALREADY_ARCHIVED | 409 | Product is already in ARCHIVED status |
INSUFFICIENT_SCOPE | 403 | Key lacks accounts:write scope |
INTERNAL_ERROR | 500 | Server error |
Authorizations
API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.
Path Parameters
Product ID (prefix prd_)

