Pular para o conteúdo principal
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>'

Autorizações

x-api-key
string
header
obrigatório

API Key da Credential (gerada no Backoffice)

Parâmetros de caminho

priceId
string
obrigatório

Price ID to archive

id
string
obrigatório

Plan ID

Resposta

Price archived