Skip to main content
PATCH
Update a product

Authorizations

X-Suby-Api-Key
string
header
required

Secret API key. sk_live_… (production) or sk_sandbox_… (sandbox).

Path Parameters

id
string
required
Example:

"pro_abc123"

Body

application/json
name
string
Maximum string length: 200
description
string | null
Maximum string length: 2000
imageUrl
string<uri> | null
status
enum<string>
Available options:
DRAFT,
ACTIVE,
ARCHIVED
deliveryKind
enum<string>
Available options:
WEBHOOK_ONLY,
PLATFORM_ACCESS
priceCents
string | null
Pattern: ^\d+$
currency
enum<string> | null
Available options:
EUR,
USD
quantity
integer | null
Required range: x >= 0
customFields
object[]

Extra fields collected on the hosted checkout page (max 10).

Maximum array length: 10
paymentMethods
enum<string>[] | null

Per-product payment-method whitelist. null / [] / omitted = the product accepts every method enabled on the account. A non-empty list restricts checkout to these categories (always intersected with the account's enabled methods, so listing a disabled method is a harmless no-op).

Available options:
CARD,
APPLE_PAY,
GOOGLE_PAY,
KLARNA,
IDEAL,
BANCONTACT,
TWINT,
BLIK,
AFFIRM,
MULTIBANCO,
PAYPAL,
SEPA_DIRECT_DEBIT,
ACH_DIRECT_DEBIT,
STABLECOIN,
VOLATILE_CRYPTO

Response

Product updated

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload.

message
string