Files
medusa-store/www/apps/resources/references/modules/promotion_models/page.mdx
github-actions[bot] d5ee0070b4 chore(docs): Generated References (automated) (#10276)
Generated the following references:
- `api_key`
- `auth`
- `cart`
- `core_flows`
- `currency`
- `customer`
- `dml`
- `fulfillment`
- `helper_steps`
- `inventory_next`
- `js_sdk`
- `medusa`
- `medusa_config`
- `modules`
- `modules_sdk`
- `order`
- `payment`
- `payment_provider`
- `pricing`
- `product`
- `product_models`
- `promotion`
- `region`
- `sales_channel`
- `search`
- `stock_location_next`
- `store`
- `tax`
- `tax_provider`
- `types`
- `user`
- `utils`
- `workflows`

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-11-26 09:24:41 +00:00

33 lines
1.1 KiB
Plaintext

---
displayed_sidebar: promotionModelReference
slug: /references/promotion/models
---
import { TypeList } from "docs-ui"
# Promotion Module Data Models Reference
This documentation provides a reference to the data models in the Promotion Module
## Relations Overview
```mermaid
erDiagram
ApplicationMethod ||--|| Promotion : promotion
ApplicationMethod }|--|{ PromotionRule : target_rules
Campaign ||--|| CampaignBudget : budget
Campaign ||--|| Promotion : promotions
Promotion }|--|{ PromotionRule : rules
PromotionRule ||--|| PromotionRuleValue : values
```
## Classes
- [ApplicationMethod](../../promotion_models/classes/promotion_models.ApplicationMethod/page.mdx)
- [Campaign](../../promotion_models/classes/promotion_models.Campaign/page.mdx)
- [CampaignBudget](../../promotion_models/classes/promotion_models.CampaignBudget/page.mdx)
- [Promotion](../../promotion_models/classes/promotion_models.Promotion/page.mdx)
- [PromotionRule](../../promotion_models/classes/promotion_models.PromotionRule/page.mdx)
- [PromotionRuleValue](../../promotion_models/classes/promotion_models.PromotionRuleValue/page.mdx)