📦 Products & PricingProducts

Update product

Update an existing product. Requires 'products:write' scope.

PATCH/products/{id}

Update an existing product. Requires 'products:write' scope.


Related endpoints

  • GET /products — List products
  • POST /products — Create product
  • GET /products/{id} — Get product by ID
  • GET /product-collections — List product collections
  • POST /product-collections — Create a product collection
  • GET /product-collections/{id} — Get a product collection
  • PATCH /product-collections/{id} — Update a product collection
  • DELETE /product-collections/{id} — Delete a product collection

Common errors

  • 400 invalid_request — malformed payload or failed validation.
  • 401 authentication_error — missing, invalid, expired, or revoked credential. Codes: authentication_failed, invalid_api_key, expired_api_key, api_key_revoked, session_invalid, merchant_required. Carries a WWW-Authenticate: Bearer challenge.
  • 404 resource_missing — the referenced resource does not exist or is not visible to your key.

Idempotency

Pass an Idempotency-Key header (UUID v4 recommended) to make retries safe. Keys are valid for 24 hours; see the idempotency guide.

x-api-key<token>

Your RevKeen merchant API key. Create and manage keys in Dashboard → Settings → Developer. Use rk_sandbox_* for staging/test and rk_live_* for production. The same key may be sent as Authorization: Bearer <key> if that suits your HTTP client better. A missing, invalid, expired, or revoked key returns 401 with a WWW-Authenticate: Bearer challenge; a valid key without the required scope returns 403.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

Product update details

TypeScript Definitions

Use the request body type in TypeScript.

Parameters for updating an existing product. Only the provided fields are changed.

Response Body

application/json

application/json

application/json

application/json

application/json

Stuck on an error response? Ask the RevKeen assistant to explain it.
curl -X PATCH "https://api.revkeen.com/v2/products/11111111-1111-4111-8111-111111111111" \
  -H "x-api-key: $REVKEEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "example",
    "description": "Example request from API docs",
    "amount_minor": 1000,
    "currency": "USD"
  }'

Synthetic documentation data, validated against the response schema; not a live API result.

{  "data": {    "id": "a7b3c9d2-1e4f-4b6a-8c5d-2f9e0a1b3c42",    "object": "product",    "product_id": "PRO-MONTHLY",    "name": "Pro plan",    "description": "Unlimited invoices, automated reminders and priority support.",    "kind": "subscription",    "pricing_model": "recurring",    "amount_minor": 4900,    "currency": "GBP",    "interval": "month",    "interval_count": 1,    "trial_days": 14,    "fulfillment_type": "digital",    "track_inventory": false,    "stock_quantity": null,    "tags": [      "saas",      "monthly"    ],    "billing_anchor_rule": "same_day",    "billing_anchor_day": null,    "first_charge_behavior": "immediate",    "end_behavior": "until_canceled",    "max_payments": null,    "usage_meter_id": null,    "slug": "pro-plan",    "is_active": true,    "is_archived": false,    "image_url": null,    "images": [],    "seo_title": null,    "seo_description": null,    "store_visibility": "visible",    "store_visible_from": null,    "tax_behavior": "exclusive",    "tax_code": null,    "metadata": {},    "created_at": "2026-04-02T10:00:00.000Z",    "updated_at": "2026-04-02T10:05:00.000Z"  }}