# Get specific point acquisition rule

You can return a specific point acquisition rule details.

GET /point-acquire-rule/:id

Attributes Type Required Description
id integer yes A unique identifier for the point acquire rule which is given by User.com

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
curl --location --request GET 'https://<your_app_subdomain>.user.com/api/public/point-acquire-rule/1/' \
--header 'accept: application/json' \
--header 'Authorization: Token <your_64_char_api_key>' \
--header 'Accept: */*; version=2'

# Response

{
  "id": 1,
  "name": "string",
  "product_event": 1,
  "product_order": true,
  "end_date": "2022-03-09T11:12:04.814000Z",
  "earning_type": 0,
  "earning_value": 0,
  "max_points_daily": 0,
  "max_points_per_transaction": 0,
  "max_trigger_count_interval": 0,
  "max_trigger_count_value": 0,
  "products": {},
  "points_expiration_time": "2022-03-09T11:12:04.814000Z",
  "event": 1,
  "point_campaign": 1,
  "user_attribute": 1,
  "level_threshold": 1
}