Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add promotionId to promotion membership model #1150

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/content/api/_endpoints/promotion-memberships-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default {
id: '8aoMfscvtuewsuJzmzBzAs',
accountId: '57SyRRgZ1U8Kq2wKpCnSR5',
programId: 'WRhAxxWpTKb5U7pXyxQjjY',
promotionId: '8aoMfscvtuewsuJzmzBzAs',
name: 'Spend a Buck',
summary: 'Make a payment',
mediaUploadId: '26yUWG6wFgmva8UaDiCTWq',
Expand Down
8 changes: 6 additions & 2 deletions src/content/api/promotion-memberships.mdoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Promotion Memberships represents an [Account's](/api/accounts) membership to a [

{% properties %}
{% property name="id" type="string" %}
The unique identifier for the Promotion.
The unique identifier for the Promotion Membership.
{% /property %}

{% property name="accountId" type="string" %}
The ID of the [Account](/api/accounts) that owns the Promotion.
The ID of the [Account](/api/accounts) that has the membership to the Promotion.
{% /property %}

{% property name="name" type="string" %}
Expand All @@ -26,6 +26,10 @@ Promotion Memberships represents an [Account's](/api/accounts) membership to a [
The ID of the [Loyalty Program](/api/loyalty-programs) that the Promotion belongs to.
{% /property %}

{% property name="promotionId" type="string" %}
The ID of the Promotion.
{% /property %}

{% property name="summary" type="string" %}
The display summary for the Promotion.
{% /property %}
Expand Down