Skip to main content
WEBHOOK
product.archived
{
  "id": "evt_7n42DGM5Tflk9n8mt7Fhc7",
  "type": "product.archived",
  "product_id": "prd_7n42DGM5Tflk9n8mt7Fhc7",
  "name": "API Calls Product",
  "description": "Usage-based API calls product",
  "fee_type": "USAGE",
  "product_family_id": "pf_7n42DGM5Tflk9n8mt7Fhc7",
  "created_at": "1970-01-01T00:00:00.000Z",
  "timestamp": "1970-01-01T00:00:00.000Z"
}

Body

application/json
created_at
string<date-time>
required
fee_type
enum<string>
required
Available options:
RATE,
SLOT,
CAPACITY,
USAGE,
EXTRA_RECURRING,
ONE_TIME
name
string
required
product_family_id
string<MeteroidId>
required
Example:

"pf_7n42DGM5Tflk9n8mt7Fhc7"

product_id
string<MeteroidId>
required
Example:

"prd_7n42DGM5Tflk9n8mt7Fhc7"

id
string<MeteroidId>
required
Example:

"evt_7n42DGM5Tflk9n8mt7Fhc7"

timestamp
string<date-time>
required
type
enum<string>
required
Available options:
metric.created,
customer.created,
subscription.created,
invoice.created,
invoice.finalized,
invoice.paid,
invoice.voided,
quote.accepted,
quote.converted,
credit_note.created,
credit_note.finalized,
credit_note.voided,
plan.created,
plan.published,
plan.archived,
product.created,
product.updated,
product.archived,
metric.updated,
metric.archived,
coupon.created,
coupon.updated,
coupon.archived,
addon.created,
addon.updated,
addon.archived
description
string | null

Response

200

Webhook received successfully