---
title: "Price variant updated"
method: POST
path: "price_variant.updated"
tags: ["PriceVariants"]
---

# Price variant updated

`POST price_variant.updated` (webhook)

Triggered when a price variant is updated

## Headers

- `webhook-id` string, required
- `webhook-timestamp` string, required
- `webhook-signature` string, required

## Payload

- object
  - `id` string, required: Unique identifier for this webhook event
  - `object` 'event', required
  - `type` 'price_variant.updated', required: The event type
  - `livemode` boolean, required: `false` when a test purchase or a test event from the dashboard caused this event, `true` otherwise
  - `created_at` string, date-time, required: ISO 8601 timestamp of when the event was created
  - `api_version` string, required: API version used to generate the payload
  - `data` object, required: `object` is the resource exactly as its API endpoint returns it.
    - `object` PriceVariant, required
      - `id` string, required
      - `object` string, required
      - `name` string, required
      - `amount` integer, nullable, required
      - `amount_type` 'free' | 'fixed' | 'custom', required
      - `billing_type` 'subscription' | 'one_time' | 'payment_plan', required
      - `recurring_interval` 'day' | 'week' | 'month' | 'year' | 'null', nullable, required
      - `interval_count` integer, required
      - `installment_count` integer, nullable, required
      - `setup_fee_amount` integer, nullable, required
      - `trial_period_days` integer, nullable, required
      - `revoke_after_days` integer, nullable, required
      - `quantity_available` integer, nullable, required
      - `archived` boolean, nullable, required
      - `position` integer, required
      - `hidden` boolean, nullable, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `currency` string, nullable, required
      - `discounted_from_amount` integer, nullable, required
      - `minimum_amount` integer, nullable, required
      - `maximum_amount` integer, nullable, required
      - `preset_amount` integer, nullable, required
      - `waitlist` boolean, required
      - `form_id` string, nullable, required: The form (`form_...`) asked at every checkout of this variant, including waitlist applications. Its answers become a form submission on the order or waitlist entry.
      - `benefits` string[]
      - `cross_sells` string[], required: Price variants (`price_...`) recommended at checkout when this one is bought, at most 2.
      - `purchase_url` string, required
      - `product` string, required

## Acknowledgement `200`

Return any 2xx status within 5 seconds to acknowledge receipt.

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
