- 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
- Loyalty Clubs
- Schema
- Legal Information
- Translations
- Carbon Offset Program
- Cars
- Programs
- Receipts
- 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
Show Schema
Pending
GET
https://api.mpc.dev.placewise.com/v3/{loyalty_club_slug}/member_schema
API Permit:BL:Api:Schema:Get
API Context:Loyalty Club
Authorizations:UserToken
Properties of each member must conform to the defined schema.
date
(YYYY-MM-DD).Response Body#
Key | Description | Type |
---|---|---|
identifiers | Fields that are set to identify member | string[] |
consents | Definition of available consents. Versions are now '' . | JSON Object |
languages | Languages set up in loyalty club | string[] |
default_language | Default language used in loyalty club and also used for mappings to Api v2 | string |
version | Version of schema, currently the newest is v2 | string |
products | Properties scoping and ordering by product name, default one is default | object |
required | Required properties for member | integer (timestamp) |
properties | Properties describing member | object |
Example#
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"identifiers": ["email"],
"consents": {
"consent1": { "version": "", "required": true, "show_in_profile": true, "show_at_registration": true },
"consent2": { "version": "", "required": true, "show_in_profile": true, "show_at_registration": true }
},
"languages": ["en", "no"],
"default_language": "no",
"version": "v2",
"properties": {
"email": {
"type": "string",
"format": "email"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"birthday": {
"type": "string",
"format": "date"
},
"interests": {
"type": "array",
"items": {
"type": "string",
"enum": [
"bikes_and_cars",
"sportwear"
]
}
}
},
"required": [
"first_name",
"last_name",
"birthday"
]
}
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/member_schema' \
--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