All versions ->

Copy link to request setupRun requestRun
POST/v2/loyalty/programs/{program_id}/calculate

Calculate loyalty points

Calculates the number of points a buyer can earn from a purchase. API Reference ->

Sign in
SandboxProduction

Access Tokens

Sign in to populate your access tokens from the developer dashboard Sign in

Link to section

Parameters

program_id

string

Required

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

Link to section

Body

loyalty_account_id

string

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

order_id

string

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

transaction_amount_money

POST /v2/loyalty/programs/{program_id}/calculate

Response

// No response received yet.