Skip to main content
POST
/
v1
/
catalog
/
versions
/
draft
/
publish
Publish catalog draft
curl --request POST \
  --url https://api.hyperline.co/v1/catalog/versions/draft/publish \
  --header 'Authorization: Bearer <token>'
{
  "version_id": "pcv_9x8v7u6t5s4r",
  "version": 12,
  "impacted_subscriptions": 7
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

version_id
string
required

ID of the catalog version that was published.

Example:

"pcv_9x8v7u6t5s4r"

version
number
required

Version number assigned to the published catalog.

Example:

12

impacted_subscriptions
number
required

Number of subscriptions impacted by catalog price changes.

Example:

7