Skip to main content
PATCH
Update a product

Authorizations

Authorization
string
header
required

YuvexPay API key. Include as Authorization: Bearer ypk_<env>_<kid>_<secret> where <env> is test (sandbox) or live (production). Create and manage keys in the dashboard under Settings > API Keys.

Path Parameters

productId
string<uuid>
required

The product ID.

Body

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

Set to null to remove the default price.

Required range: 0.01 <= x <= 1000000
isActive
boolean
metadata
object

Response

Product updated.

product
object
message
string