Prices

Update a price

Updates a price by ID.

PATCH
/prices/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

Price payload

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/prices/pri_IhMUl3rrZ3" \  -H "Content-Type: application/json" \  -d '{    "amount": 25000  }'
{
  "price": {
    "object": "price",
    "id": "pri_IhMUl3rrZ3",
    "model": "flat",
    "currency": "USD",
    "amount": 25000,
    "interval": {
      "frequency": 1,
      "unit": "month"
    },
    "bill_timing": "advance",
    "created_at": "2025-02-14T17:33:40.843Z"
  },
  "meta": {
    "request_id": "req_IhMUl3rrZ3"
  }
}