---
title: "CreatePriceAlert"
method: POST
path: "/api/alerts/price"
tags: ["Alerts"]
---

# CreatePriceAlert

`POST /api/alerts/price`

## Request

- Base URL: `https://api.caddence.golf`
- URL: `https://api.caddence.golf/api/alerts/price`
- Auth: none declared

## Request body

- PriceAlertRequest
  - `email` string, required
  - `product_id` string, required
  - `variant_id` string, nullable
  - `product_name` string, required
  - `variant_name` string, nullable
  - `variant_shaft` string, nullable
  - `variant_flex` string, nullable
  - `variant_hand` string, nullable
  - `variant_loft` string, nullable
  - `target_price` number, nullable
  - `current_price` number, nullable
  - `alert_type` string
  - `alerts_opt_in` boolean
  - `digest_opt_in` boolean

## Response `201`

Document created, URL follows

- AlertResponse
  - `success` boolean, required
  - `message` string, required

## Other responses

- `400`: Bad request syntax or unsupported method

---

[API](https://skmtc.dev/caddence/apis/golf-product-api.md) · [All operations](https://skmtc.dev/caddence/apis/golf-product-api/llms.txt) · [OpenAPI document](https://skmtc.dev/caddence/apis/golf-product-api/revisions/adef6c56f7c0?raw)
