Skip to main content
PUT
Update product

Authorizations

Authorization
string
header
required

Secret key: Authorization: Bearer sk_test_... or sk_live_.... Business and live/test mode are inferred from the key.

Path Parameters

id
string
required

Product ID

Body

application/json
name
string
Maximum string length: 200
description
string | null
Maximum string length: 1000
amount
number

Minor units

Required range: x >= 1
currency
enum<string>
Available options:
usd,
ngn,
eur
metadata
object | null
distribution
string | null

Distribution ID to attach, or null to detach. Same currency as the product.

Response

Product updated

message
string
Example:

"Success"

data
object | null