- Overview
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Offers
- Rewards
- Games
- CMS Content
- Introduction
- Website
- Venue Info
- Components
- Pages
- Articles
- Events
- Events Groups
- Job Postings
- Service Messages
- Stores
- Stores Categories
- Promotions
- Press Releases
- Attachments
- 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
Introduction
Promotion model#
Example#
{
"id": 227,
"store_ids": [444],
"collection_id": 18,
"name": "SuperPromotion",
"description": "Special",
"usable_since": "2022-05-05T13:00:00.000000Z",
"usable_until": null,
"image": { "url": "https://cdn-files.dev.placewise.com/files/MkdCaUg4Rg" },
"url": "promotions/{id}",
"details": { "foo": "bar" }
}
Definition#
Key | Type | Optional | Description |
---|---|---|---|
id | integer | no | |
store_ids | integer | yes | ID of Stores |
collection_id | integer | yes | ID of PromotionCollection |
name | string | yes | Depends on X-Locale header |
description | string | yes | Depends on X-Locale header |
usable_since | datetime | yes | |
usable_until | datetime | yes | |
image | object | yes | |
image.url | string (URL) | no | |
url | string | yes | Address of the entity page within Website |
details | object | no | Additional stuff |
PromotionCollection model#
Example#
{
"id": 17,
"title": "SuperCollection",
"description": "Special"
}
Definition#
Key | Type | Nullable | Description |
---|---|---|---|
id | integer | no | |
name | string | yes | Depends on X-Locale header |
description | string | yes | Depends on X-Locale header |
Modified at 2024-04-29 14:34:55