products

Update a product

Partial update — only provided fields change. Requires scope merchant_write on the API-key path.

patch/api/products/{id}

Request

  • Base URL: https://api.depixapp.com
  • URL: https://api.depixapp.com/api/products/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Product id (prd_*).

Request body

namestring

New product name (2–80 chars).

slugstring

New URL slug (must stay unique per merchant and mode).

amountinteger

New price in cents. Range: 500–600000.

descriptionstring nullable

New description (null/empty clears it).

image_urlstring nullable

New HTTPS image URL (null/empty clears it).

callback_urlstring nullable

New HTTPS webhook endpoint (null/empty clears it).

redirect_urlstring nullable

New HTTPS redirect (null/empty clears it).

metadataobject nullable

New metadata object (null clears it, max 4KB serialized).

expires_ininteger

New checkout QR lifetime in seconds (300–1200).

due_datestring

Charges only: new first due date (YYYY-MM-DD). Cannot be cleared.

recurrencestring nullable

Charges only: new recurrence (null makes it one-time).

late_fine_bpsinteger

Charges only: new one-time fine in basis points (0–2000).

late_interest_monthly_bpsinteger

Charges only: new monthly interest in basis points (0–1000).

Response

Updated.

successtrue required

Always true on success.

Changes

No recorded changes to this operation across all 1 revision of this API.