- Overview
- Introduction
- Hosts
- Global Headers
- Common HTTP Error Codes
- API Permits
- Authorization
- API Contexts
- Common Concepts
- Common Models
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Offers
- Rewards
- Games
- CMS Content
- Management API
- Introduction
- Core
- Applications
- Privacy Policy
- Cookie Policy
- Terms
- Domains
- Domain Email Configs
- Domain Web Configs
- TLS Certificates
- Links
- Fonts
- Subunits
- Subunits Scopes
- SMS Sender Identities
- Contacts
- Translations
- Promotions Policy
- Tracker
- Social Logins
- Billing
- Members
- Listing Members
- Member Profile
- Imports
- Groups
- Programs
- Benefits
- Cars
- Webhooks
- Misc
- Receipts
- Stores
- Offers
- Rewards
- Triggerer
- CMS
- Introduction
- Pages
- Components
- Website
- Website Domains
- Venue Info
- Landing Pages
- Landing Page Templates
- Articles
- Events
- Events Groups
- Job Postings
- Press Releases
- Tags
- Service Messages
- Content Prototypes
- ContentPrototype Model
- List Content Prototypes
- Show Content Prototype
- Create Content Prototype
- Update Content Prototype
- Destroy Content Prototype
- List Organization Content Prototypes
- Show Organization Content Prototype
- Create Organization Content Prototype
- Update Organization Content Prototype
- Destroy Organization Content Prototype
- Mixed Content
- Attachments
- Events
- Games
- Scraper
- Files
- Receipts
- Users API
- Operations API
- Introduction
- Manager API
- Tenant API
- Messaging API
- Data API
- ML API
- Introduction
- Predict Sending KPI v1
- Explain Sending KPI Prediction v1
- Predict Sending KPI In Date Range v1
- Predict Sending Popularity v2
- Predict Sending Text Popularity v2
- Predict Sending Time Series Popularity v2
- Explain Sending Popularity Prediction v2
- Explain Sending Text Popularity Prediction v2
- Explain Sending Time Series Popularity Prediction v2
- Recommend sending time v2
- Generate Image
- Generate Text
- Generate Sending Text
- (Draft) Reporting API
- Other
List Rewards
Pending
GET
https://api.mpc.dev.placewise.com/v3/{loyalty_club_slug}/members/me/rewards-program/rewards
API Permit:Rewards:Api:OAuth:Rewards:List
API Context:Loyalty Club
Authorizations:TokenMember
Response Body#
Key | Type | Description |
---|---|---|
rewards | Array | List of Rewards - see below |
Reward#
Key | Type | Description |
---|---|---|
id | integer | |
name | string | (optional) |
description | string | (optional) |
price | integer | Number of points that must be spent to purchase the reward |
required_member_level | string | (optional) Minimal level name the members needs to have to be able to purchase the reward. See Levels |
remaining_stock | integer | (optional) Number of items that is available for purchase. When null, there is no limit. |
available_until | datetime | (optional) Date until the reward may be purchased. When null, there is no availability limit. |
usable_after_purchase_for | integer | (optional) Time (in seconds) that specifies how long the offer will be usable after purchase. When null, there is no limit. |
files | Array | A list of Reward Files - see File model |
Example#
{
"rewards": [
{
"id": 1000062,
"name": "Awesome Toaster",
"description": "It has incredible features.",
"price": 300,
"required_member_level": "2",
"remaining_stock": 15,
"usability_after_purchase_for": 2592000,
"available_until": "2020-15-23 14:42:11",
"files": [
{
"url": "https://offers-api.s3.eu-central-1.amazonaws.com/offer-1000062-default-mobile.jpg",
"width": 225,
"height": 300,
"kind": "reward_default",
"size_type": "thumbnail"
},
{
"url": "https://offers-api.s3.eu-central-1.amazonaws.com/offer-1000062-default-mobile.jpg",
"width": 300,
"height": 400,
"kind": "reward_default",
"size_type": "base"
},
{
"url": "https://offers-api.s3.eu-central-1.amazonaws.com/offer-1000062-default-mobile.jpg",
"width": 600,
"height": 800,
"kind": "reward_default",
"size_type": "original"
}
]
}
]
}
Request
Path Params
loyalty_club_slug
stringÂ
required
Example:
infinity-mall
Header Params
X-Loyalty-Club-Slug
stringÂ
required
Default:
{{LOYALTY_CLUB_SLUG}}
X-Client-Authorization
stringÂ
optional
Default:
{{API_TOKEN}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mpc.dev.placewise.com/v3/infinity-mall/members/me/rewards-program/rewards' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: '
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-05-07 15:47:57