Skip to main content
POST
/
products
/
{id}
/
activate
Activate a product
curl --request POST \
  --url https://api.fyatu.com/api/v3.20/products/{id}/activate \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "status": 200,
  "message": "Product activated",
  "data": null,
  "meta": {
    "requestId": "req_a1b2c3d4e5f6a7b8c9d0e1f2",
    "platform": "Fyatu CaaS",
    "timestamp": "2026-05-26T11:35:00Z"
  }
}

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

Restores an ARCHIVED product back to ACTIVE status. Once active again, the product can be used to issue new cards via POST /cards. This endpoint is a no-op on products that are already ACTIVE — it returns 409 ALREADY_ACTIVE in that case.

Path Parameters

ParameterTypeDescription
idstringThe product ID (prefix prd_)

Request Body

None — this is a state-transition endpoint with no body required.

Example

curl -X POST https://api.fyatu.com/api/v3.20/products/prd_01HXYZ1111ABCDEF0002/activate \
  -H "Authorization: Bearer $FYATU_API_KEY"

Success Response (200)

{
  "success": true,
  "status":  200,
  "message": "Product activated",
  "data":    null,
  "meta": {
    "requestId": "req_01HXY123456ABCDEF",
    "platform":  "Fyatu CaaS",
    "timestamp": "2026-05-26T11:35:00Z"
  }
}

Error Codes

CodeHTTPCause
PRODUCT_NOT_FOUND404Product does not exist or belongs to another business
ALREADY_ACTIVE409Product is already in ACTIVE status
INSUFFICIENT_SCOPE403Key lacks accounts:write scope
INTERNAL_ERROR500Server error

Authorizations

Authorization
string
header
required

API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.

Path Parameters

id
string
required

Product ID (prefix prd_)

Response

Product activated

success
boolean
Example:

true

status
integer
Example:

200

message
string
Example:

"Product activated"

data
unknown
meta
object