API ReferenceListings
PATCH /listings/{id}/resume
Retomar anúncio pausado
PATCH
/listings/{id}/resumeAuth: accessTokenUPDATE status=active. Listing volta ao marketplace.
Request
Esta requisição não tem corpo.
Response
200
Sem corpo na resposta.
Erros
Sem respostas de erro documentadas.
Exemplos
curl -X PATCH 'http://localhost:3003/listings/{id}/resume' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer SEU_ACCESS_TOKEN' \
-d '{}'await fetch('http://localhost:3003/listings/{id}/resume', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer ' + accessToken,
},
body: JSON.stringify({}),
})