v4

latestOpenAPI 3.0.02026-08-04101,002868.1 KB
Product

Returns a estimated value of points and cashback from a given list of products.

The Id and Price are required fields

The PriceCurrency is optional. If not informed, the default currency (BRL) will be used.

The Name is optional. If not informed, the product will be identified by the Id.

post/v1/pub/Product/pointslist

Request body

Idstring required

Product Id on the ecommerce platform

Pricenumber required

Current product selling price

PriceCurrencystring nullable

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

Namestring nullable

Name of the product which price is being calculated

Example request

[
  {
    "Price": 10.5
  }
]

Response

Idstring

Product Id

Pointsinteger

Amount of points this product will give.

Cashbacknumber nullable

The amount of cashback that will be received from purchasing this product. It will be null if the cashback is not available.