Skip to main content
POST
/
plans
/
{id}
/
prices
/
{priceId}
/
archive
Archive a specific price version
curl --request POST \
  --url https://billing-api.sandbox.z2pay.com/plans/{id}/prices/{priceId}/archive \
  --header 'x-api-key: <api-key>'

Authorizations

x-api-key
string
header
required

API Key da Credential (gerada no Backoffice)

Path Parameters

priceId
string
required

Price ID to archive

id
string
required

Plan ID

Response

Price archived