Skip to main content
POST
/
v1
/
pub
/
Product
/
points
Calculate how many points will be generate for a giving product, according to Purchase Objective configuration
curl --request POST \
  --url https://api.bonifiq.com.br/v1/pub/Product/points \
  --header 'Content-Type: application/json' \
  --header 'X-BQ-ApiToken: <api-key>' \
  --data '
[
  {
    "Id": "<string>",
    "Price": 10.5,
    "PriceCurrency": "<string>",
    "Name": "<string>"
  }
]
'
"<string>"

Authorizations

X-BQ-ApiToken
string
header
required

API Tokeen

Body

application/json
Id
string
required

Product Id on the ecommerce platform

Minimum string length: 1
Price
number<decimal>
required

Current product selling price

Example:

10.5

PriceCurrency
string | null

Optional: the currency used in the pricing (eg: BRL)

Name
string | null

Name of the product which price is being calculated

Response

200 - application/octet-stream

The response is of type file.