Skip to main content
POST
Publish a product
Authenticate with an API key that belongs to the product’s organization and has Full access or the products:products:write permission. Only the Owner and Admin roles can grant it.
  • Send no body.
  • Only an archived product can be published.
  • Publishing turns the payment link for the product’s newest price back on, at the same URL, so that link works again wherever you shared it. If that price never had a link, a new one is created. The product’s other payment links stay off.
  • The response has the same shape as Get a product, with status set to PUBLISHED and the active link in paymentLinks.
  • There is no Idempotency-Key for this endpoint.

Authorizations

X-API-Key
string
header
required

Merchant API key (format: ak_BASE64)

Path Parameters

id
string
required

Product ID

Response

OK

data
object
error
object
message
string
success
boolean