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_events_stats (statistics)

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

Fields#

loyalty_club_id#

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

event_type#

TypeFilterable
Enum
Type of offer event.
This field is an enum, possible values are:
used
unique_used - produced when member uses the offer for the first time
granted
unique_granted - produced when offer is granted to member for the first time
seen
unique_seen - produced when offer member sees the offer for the first time
clicked
unique_clicked - produced when offer is clicked by the member for the first time
liked
unliked

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.

application#

TypeFilterable
String-
Represents slug of API application (product/source) used when generating the event.

platform#

TypeFilterable
Enum-
Represents platform used when generating the event. It is generating based on application field.
This field is an enum, possible values are:
android
ios
website
webforms
other

Query without aggregations#

Query returns series with offers events labeled by event_type.

Labels#

KeyTypeDescription
event_typeEnumSee in Fields
{
    "interval": "5m",
    "range_timezone": "Europe/Oslo",
    "series": [
        {
            "label": {
                "event_type": "used"
            },
            "value": 50
        },
    ],
    "data_points": 1,
    "result_type": "statistics"
}

Aggregations#

offer_type#

Labels#

KeyTypeDescription
offer_typeEnumSee in Fields
event_typeEnumSee in Fields

store_id#

Labels#

KeyTypeDescription
store_idIntegerSee in Fields
event_typeEnumSee in Fields

collection_id#

Labels#

KeyTypeDescription
collection_idIntegerSee in Fields
event_typeEnumSee in Fields

platform#

Labels#

KeyTypeDescription
platformEnumSee in Fields
event_typeEnumSee in Fields
Previous
offers_usages_history (timeseries)
Next
offers_usages_stats (statistics)
Built with