API OverviewAPI Reference
developer.placewise.comapp.placewise.complacewise.com
API OverviewAPI Reference
developer.placewise.comapp.placewise.complacewise.com
IndexPublic APIManagement APIUsers APIOperations APIMessaging APIReporting API
ML APIData API
IndexPublic APIManagement APIUsers APIOperations APIMessaging APIReporting API
ML APIData API
  1. Offers
  • Introduction
  • Filter parameter specification
  • Data formats
    • Records
    • Timeseries
    • Statistics
  • Reports
    • Members
      • members (records)
      • members_count (records)
      • members_grouped_count (records)
      • member_balance (timeseries)
      • members_count_snapshot (timeseries)
      • members_count_history (timeseries)
    • Sendings
      • sendings (records)
      • sendings_events_history (timeseries)
      • sendings_recipients_statistics (timeseries)
      • sendings_links (records)
      • sendings_links_stats (records)
      • sendings_stats (statistics)
      • Examples
        • sendings - find sending by reporting_id
        • sendings_events_history - show sending events
        • sendings_recipients_statistics - show recipients by age groups
        • sendings_stats - show statistics for campaign
        • sendings_events_history - show sending events for campaign
        • sendings_stats - show statistics for all campaigns
        • sendings_events_history - show sending events for all campaigns
    • Links
      • links_visits_history (timeseries)
    • Offers
      • offers (records)
      • offers_collections (records)
      • offers_events_history (timeseries)
      • offers_usages_history (timeseries)
      • offers_events_stats (statistics)
      • offers_usages_stats (statistics)
    • Transactions
  • Geo API
    • Find Locations Coordinates
      POST
    • List places
      POST
    • Show place
      GET
  • Metadata
    POST
  • Field metadata
    POST
  • Query (records)
    POST
  • Query (timeseries)
    POST
  • Query (records) export
    POST
  • Query (timeseries) export
    POST
  • Tenants query (records) export
    POST
  • Tenants query (timeseries) export
    POST
  1. Offers

offers_usages_stats (statistics)

Required permitRate limit tokens costAvailable intervals
Reporting:Api:Report:OffersUsagesStats25m, 1h, 1d, 1w, 1mo
This report allows you to get statistics related to usages of offers.

Fields#

loyalty_club_id#

TypeFilterable
Integer (via X-Customer header)
ID of loyalty club.

offer_type#

TypeFilterable
Enum
Type of offer.
This field is an enum, possible values are:
regular
birthday
exclusive
welcome
competition
reward
carbon_offset_item
parking
parking_exclusive
game_prize
informational

offer_id#

TypeFilterable
Integer
Offer ID.

store_id#

TypeFilterable
Integer
ID of store to which offer is assigned.

collection_id#

TypeFilterable
Integer
ID of collection to which offer is assigned.

member_gender#

TypeFilterable
String
Gender of member who used the offer. See members report.

member_age#

TypeFilterable
String
Age of member who used the offer. See members report.

member_place_id#

TypeFilterable
Integer
Place ID (location) of member. See members report.

member_city_place_id#

TypeFilterable
Integer
City place ID (location) of member. See members report.

authorized#

TypeFilterable
Boolean
Whether offer usage was authorized (e.g. using QR code).

authorization_type#

TypeFilterable
String
Type of authorization (e.g. QR code).

Query without aggregations#

Query returns series with offers usages events.

Labels#

{
    "interval": "5m",
    "range_timezone": "Europe/Oslo",
    "series": [
        {
            "label": {},
            "value": 100
        },
    ],
    "data_points": 1,
    "result_type": "statistics"
}

Aggregations#

member_gender#

Labels#

KeyTypeDescription
member_genderStringSee in Fields

member_age#

Labels#

KeyTypeDescription
member_ageEnumSee in Fields

member_city_place_id#

Labels#

KeyTypeDescription
member_city_place_idIntegerSee in Fields

member_place_id#

Labels#

KeyTypeDescription
member_place_idIntegerSee in Fields

authorized#

Labels#

KeyTypeDescription
authorizedBooleanSee in Fields

authorization_type#

Labels#

KeyTypeDescription
authorization_typeStringSee in Fields
Previous
offers_events_stats (statistics)
Next
Find Locations Coordinates
Built with