Skip to content

Commit

Permalink
add promotionId to promotion membership model (#1150)
Browse files Browse the repository at this point in the history
  • Loading branch information
seliwe authored Dec 12, 2024
1 parent b9a97b9 commit aa0664e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
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

0 comments on commit aa0664e

Please sign in to comment.