Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

Update a price

Change a price's nickname. Its amount never changes.

POST/v1/prices/{id}

Change a price's nickname. Its amount never changes.

Endpoint

http
POST /v1/prices/{id}

Path parameters

NameTypeDescription
idstringThe price's ID, price_....

Request body

NameTypeRequiredDescription
nicknamestringOptionalA new nickname, or empty for none.

Example request

bash
curl -X POST https://api.sovgate.com/v1/prices/price_d2fcc8475d89f661d674185c \  -H "Authorization: Bearer sov_sk_test_your_key" \  -H "Idempotency-Key: f7f7fcc0-4b2a-4c1d-9e3f-76d505fde011" \  -H "Content-Type: application/json" \  -d '{  "nickname": "Launch price"}'

Example response

json
{  "id": "price_d2fcc8475d89f661d674185c",  "object": "price",  "livemode": false,  "product": "prod_103fbc184f1d732bf5d1a9f5",  "currency": "usd",  "type": "one_time",  "recurring": null,  "pricing": {    "model": "per_unit",    "unit_amount": 4000  },  "tax_behavior": "exclusive",  "nickname": "Launch price",  "status": "active",  "created": "2026-11-20T09:30:00Z",  "archived_at": null}