Send `api_key` and `api_secret` to receive the `access_token`.
Integrate sales, customers, coupons, and vouchers with the loyalty engine.
REST API v2 for server-to-server integrations with Bearer Token authentication, JSON communication, and endpoints to trigger rewards in real-time.
From authentication to automatic reward.
The main use of the API is to register external sales so that Smartbis can process cashback, points, vouchers, and communications according to the account rules.
Use CPF, phone, email, or ID to keep the customer synchronized.
Send `sale_amount` by CPF or `customer_id` to trigger the loyalty engine.
Check coupons, vouchers, categories, and stock when the operation requires it.
Quick reference of the main endpoints.
This section works as an entry point before the complete Swagger documentation.
Generates the Bearer token to authenticate subsequent calls.
AuthLists customers or filters by CPF with optional pagination.
CustomersCreate customer with name, phone, password, and additional data.
CustomersRegister sale by CPF or customer ID and trigger the loyalty rule.
SalesLists available coupons/rewards for the operation.
CouponsUpdate stock of a specific reward.
CouponsLists vouchers with optional pagination.
VouchersValidate voucher by the provided code.
VouchersAPI resources organized by operation usage.
This page presents the API domains in product language, while the Swagger documentation maintains schema, parameter, and response details.
Registration, search by CPF, phone, email, and data for relationship management.
Register external purchases to generate cashback, points, or vouchers.
Listing and control of available reward stock.
Query and validation of vouchers used by the customer.
Creation and listing of categories used in operation organization.
Generation of Bearer token with `api_key` and `api_secret`.
Need to connect your own system?
Use the interactive documentation to test endpoints, validate payloads, and align the ideal flow with the technical team.