Buscar oferta por documento
curl --request POST \
--url https://api.example.com/offers/filter \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"document": "<string>",
"creator": "<string>"
}
'import requests
url = "https://api.example.com/offers/filter"
payload = {
"document": "<string>",
"creator": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({document: '<string>', creator: '<string>'})
};
fetch('https://api.example.com/offers/filter', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Ofertas
Buscar oferta por documento
Busca ofertas por documento (CPF/CNPJ) e criador
POST
/
offers
/
filter
Buscar oferta por documento
curl --request POST \
--url https://api.example.com/offers/filter \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"document": "<string>",
"creator": "<string>"
}
'import requests
url = "https://api.example.com/offers/filter"
payload = {
"document": "<string>",
"creator": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({document: '<string>', creator: '<string>'})
};
fetch('https://api.example.com/offers/filter', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Busca ofertas filtrando pelo documento do trabalhador (CPF/CNPJ) e pelo criador da oferta.
Todos os endpoints requerem autenticação via Bearer token no header
Authorization.
Consulte o guia de autenticação para obter suas credenciais e gerar um token.Parâmetros
string
required
CPF (11) ou CNPJ (14) — somente números
string
required
Identificador do criador da oferta
Exemplo
curl -X POST https://hml.zipdin.com.br/zipconsig-marketplace/offers/filter \
-H "Authorization: Bearer SEU_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"document": "52998224725",
"creator": "12345678000190"
}'
