Skip to main content
POST
/
v1
/
pvt
/
Objectives
/
{id}
/
importpoints
Import a customer to be rewarded by a custom objective
curl --request POST \
  --url https://api.bonifiq.com.br/v1/pvt/Objectives/{id}/importpoints \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "Name": "<string>",
  "Email": "<string>",
  "Document": "<string>"
}
'
{
  "ErrorMessage": "<string>",
  "ErrorCode": 123,
  "Result": true,
  "HasError": true
}

Authorizations

Authorization
string
header
required

Use API Basic Auth Keys

Path Parameters

id
string<guid>
required

Body

application/json
Name
string
Email
string | null
Document
string | null

Response

200 - application/json
ErrorMessage
string | null

Error message or description

ErrorCode
integer<int32> | null

Optional error code, if available

Result
boolean
HasError
boolean

If true the request had an error.