This endpoint provides controlled deletion of promotions with built-in safety mechanisms to prevent accidental loss of valuable marketing data and ensure minimal disruption to ongoing business operations.
Promotion deletion is a permanent action with significant business implications. The system implements multiple safety checks and offers archival options to protect against accidental data loss while maintaining operational integrity.
Path Parameters
string
required
The unique identifier of the company that owns the promotion
string
required
The unique identifier of the campaign containing the promotion
string
required
The unique identifier of the promotion to delete
Query Parameters
boolean
default:"false"
Force deletion despite safety warnings (requires elevated permissions)
boolean
default:"true"
Whether to archive promotion data before deletion for future reference
boolean
default:"true"
Whether to preserve analytics data in campaign-level reporting
string
Security token required for high-impact deletions
Request Body
string
required
Business justification for deleting the promotion
boolean
required
Confirmation that user understands the deletion impact
array
List of alternative actions considered before deletion
Show Alternative Actions
string
Alternative action that was considered
string
Why this alternative was not chosen
object
Specific preferences for data handling during deletion
Show Data Retention Preferences
boolean
default:"true"
Keep customer usage records for compliance and analytics
boolean
default:"true"
Maintain aggregated performance data for reporting
boolean
default:"true"
Keep financial impact data for accounting purposes
boolean
default:"false"
Remove personally identifiable information while preserving analytics
Request Example
{ "deletion_reason": "Promotion was created in error and conflicts with existing campaign strategy. No customer usage has occurred.", "impact_acknowledgment": true, "alternative_actions_considered": [ { "action": "Pause promotion instead of deletion", "reason_rejected": "Promotion was never intended to be active and creates confusion in campaign management" }, { "action": "Modify promotion to align with strategy", "reason_rejected": "Core concept conflicts with brand guidelines and cannot be salvaged" } ], "data_retention_preferences": { "preserve_customer_usage_history": true, "preserve_performance_metrics": true, "preserve_financial_records": true, "anonymize_customer_data": false }}
Response
string
Unique identifier for this deletion operation
string
The ID of the deleted promotion
string
Parent campaign identifier
string
Status of the deletion: “completed”, “archived”, “pending_approval”, “blocked”
object
Results of pre-deletion safety validations
Show Safety Check Results
object
Verification of current promotion usage
object
Analysis of systems or processes depending on this promotion
object
Assessment of financial implications
object
Regulatory and policy compliance verification
object
Summary of data preservation actions taken
Show Archival Summary
string
Reference to archived promotion data
string
Timestamp when data was archived
string
How long archived data will be retained
string
Latest date for potential data recovery
object
Comprehensive analysis of deletion effects
Show Impact Assessment
integer
Number of customers who used this promotion
integer
Number of orders that included this promotion
number
Total revenue associated with deleted promotion
object
Effect on reporting and analytics systems
array
System-generated recommendations for similar promotions
Show Recommendations
string
Type of alternative action recommended
string
Detailed recommendation description
string
Anticipated result of following the recommendation
object
Available options for reversing the deletion
Show Rollback Options
boolean
Whether promotion can be recovered from archive
string
Latest date for successful recovery
array
Limitations or restrictions on data recovery
object
Compliance and audit trail information
Show Compliance Records
string
Reference to detailed audit log
array
Any required regulatory notifications
object
Compliance with data retention policies
string
Timestamp when the deletion was completed
string
User who performed the deletion
string
Method used for deletion (soft_delete, archive_delete, hard_delete)
Response Example
{ "deletion_id": "del_promo_spring_001_20250420", "promotion_id": "promo_spring_001", "campaign_id": "1000010", "deletion_status": "completed", "safety_checks": { "active_usage_check": { "status": "passed", "current_active_users": 0, "pending_transactions": 0, "message": "No active usage detected" }, "dependency_check": { "status": "passed", "dependent_systems": [], "external_references": 0, "message": "No system dependencies found" }, "financial_impact_check": { "status": "warning", "total_revenue_impact": 18450.32, "outstanding_commitments": 0, "message": "Promotion generated significant revenue but no outstanding commitments" }, "compliance_check": { "status": "passed", "regulatory_requirements": "met", "data_retention_compliance": "compliant", "message": "All compliance requirements satisfied" } }, "archival_summary": { "archived_data_location": "archive://promotions/2025/spring_campaign/promo_spring_001", "archived_at": "2025-04-20T16:00:00.000Z", "archive_retention_period": "7 years", "recoverable_until": "2025-05-20T16:00:00.000Z" }, "impact_assessment": { "customers_affected": 189, "orders_impacted": 247, "revenue_impact": 18450.32, "analytics_impact": { "historical_reports": "preserved", "trend_analysis": "adjusted", "comparative_metrics": "normalized" } }, "alternative_recommendations": [ { "recommendation_type": "similar_promotion", "description": "Create a new seasonal promotion with similar discount structure but updated branding", "expected_outcome": "Maintain customer engagement while aligning with current strategy" }, { "recommendation_type": "customer_retention", "description": "Send targeted offers to customers who used the deleted promotion", "expected_outcome": "Minimize customer dissatisfaction from promotion removal" } ], "rollback_options": { "recovery_possible": true, "recovery_deadline": "2025-05-20T16:00:00.000Z", "recovery_limitations": [ "Some real-time metrics may need recalculation", "Customer-facing promotion codes will need regeneration", "Integration with external systems may require reactivation" ] }, "compliance_records": { "audit_log_entry": "audit_2025_04_20_promotion_deletion_001", "regulatory_notifications": [], "data_retention_compliance": { "customer_data": "preserved_as_required", "financial_records": "archived_per_policy", "analytics_data": "anonymized_and_retained" } }, "deleted_at": "2025-04-20T16:00:00.000Z", "deleted_by": "marketing_manager_002", "deletion_method": "archive_delete"}
Deletion Methods Explained
Soft Delete
Promotion marked as deleted but data remains in active database
Can be easily recovered without data loss
Continues to appear in some administrative interfaces
Recommended for temporary removal or accidental deletions
Archive Delete
Promotion data moved to secure archival storage
Active database cleaned of promotion references
Requires archive recovery process to restore
Balances data protection with system performance
Hard Delete
Complete removal of promotion data from all systems
Cannot be recovered once completed
Only recommended for test data or invalid promotions
Requires special authorization and safety overrides
Recovery Window: Deleted promotions can typically be recovered within 30 days using archived data. After this period, recovery may require special procedures or may not be possible.
Best Practice: Before deleting promotions with significant usage history, consider deactivating them instead. This preserves data integrity while removing them from active use.
Safety Check Details
Comprehensive Safety Validations
Active Usage Validation
Check for customers currently using promotion codes
Verify no pending transactions with promotion applied
Confirm no scheduled automatic applications
Validate no active customer communication references
System Dependency Analysis
Scan for integration system references
Check analytics dashboard dependencies
Verify no automated marketing workflows using promotion
Confirm no customer service tool dependencies
Financial Impact Assessment
Calculate total revenue generated by promotion
Identify any outstanding financial commitments
Assess impact on revenue projections
Verify no pending refund or adjustment requirements
Compliance and Legal Review
Check data retention policy requirements
Verify regulatory compliance for deletion
Confirm audit trail preservation
Validate customer privacy regulation compliance
Business Process Impact
Analyze effect on campaign performance metrics
Assess impact on customer journey mapping
Review effect on A/B testing and experimentation
Confirm no impact on loyalty program calculations
Error Responses
Deletion Error Scenarios
Active Usage Prevention
{ "error": "Cannot delete active promotion", "message": "Promotion has 15 customers currently using codes and 3 pending transactions", "code": "ACTIVE_USAGE_DETECTED", "details": { "active_users": 15, "pending_transactions": 3, "suggested_action": "Deactivate promotion and wait for usage completion" }}
Safety Check Failure
{ "error": "Safety check failed", "message": "Promotion has system dependencies that prevent deletion", "code": "SAFETY_CHECK_FAILED", "failed_checks": [ "dependency_check", "financial_impact_check" ]}
High-Impact Deletions: Promotions with significant customer usage, revenue impact, or system dependencies require additional approvals and may be blocked from immediate deletion.
Alternative Actions
Alternatives to Deletion
Deactivation Instead of Deletion
Preserves all historical data and analytics
Removes promotion from customer-facing systems
Maintains compliance and audit trails
Can be reactivated if needed in the future
Archival Without Deletion
Moves promotion to archived status
Removes from active management interfaces
Preserves all data for future reference
Maintains complete historical integrity
Modification for Compliance
Update promotion to meet current requirements
Adjust settings to align with new policies
Preserve customer value while ensuring compliance
Maintain business continuity
Gradual Phase-Out
Reduce promotion visibility over time
Stop new customer acquisition
Allow existing users to complete usage
Minimize disruption to customer experience
Recovery Procedures
Promotion Recovery Process
Immediate Recovery (0-24 hours)
Simple restoration from recent backups
Full data integrity preserved
Minimal system reconfiguration required
Complete restoration of all functionality
Short-term Recovery (1-30 days)
Restoration from archived data
Some real-time metrics may need recalculation
Integration systems may require reactivation
Customer codes may need regeneration
Long-term Recovery (30+ days)
Complex recovery process required
May involve data reconstruction
Some real-time data may be lost
Requires administrator approval and technical support
Recovery Limitations
Real-time usage statistics may reset
Some integration configurations may be lost
Customer notification may be required
Performance metrics may show discontinuity
Business Impact Considerations
Strategic Deletion Considerations
Customer Relationship Impact
Effect on customer satisfaction and loyalty
Impact on repeat purchase behavior
Influence on customer lifetime value
Potential for negative customer feedback
Financial Implications
Loss of promotion-driven revenue
Impact on profit margin calculations
Effect on budget and forecasting
Implications for ROI analysis
Marketing Strategy Effects
Impact on campaign performance metrics
Effect on customer segmentation
Influence on future promotion planning
Consequences for brand positioning
Operational Considerations
Effect on staff training and procedures
Impact on customer service operations
Influence on inventory planning
Consequences for partner relationships
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Documentation Starter Kit","colors":{"primary":"#2C023B","light":"#D09CE8","dark":"#DE4990"},"favicon":"lula-commerce-favicon.png","logo":{"light":"https://mintcdn.com/lulaconvenience/j9ZBLBNfvCnzqqXy/logo/lula-commerce-logo-primary.png?fit=max\u0026auto=format\u0026n=j9ZBLBNfvCnzqqXy\u0026q=85\u0026s=284bd11c4f3d4f0c15a37b9801dadcc6","dark":"https://mintcdn.com/lulaconvenience/j9ZBLBNfvCnzqqXy/logo/lula-commerce-logo-white.png?fit=max\u0026auto=format\u0026n=j9ZBLBNfvCnzqqXy\u0026q=85\u0026s=16d580a4ae3b30dfd55a7f72ed85a1dd"},"footer":{"socials":{"github":"https://github.com/Lula-Inc","linkedin":"https://www.linkedin.com/company/lula-commerce/"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lulaconvenience","hasAudioNarration":false,"actualSubdomain":"lulaconvenience","customDomains":["developer.lulacommerce.com"],"gitSource":{"type":"github","owner":"lula-inc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae91638e2896f37251f2584:success","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API Reference","count":82},{"language":"default","tag":"API Documentation - Latest","count":80},{"language":"default","tag":"Catalog","count":17},{"language":"default","tag":"Orders","count":16},{"language":"default","tag":"Menus","count":14},{"language":"default","tag":"Campaigns","count":13},{"language":"default","tag":"Documentation","count":12},{"language":"default","tag":"Stores","count":11},{"language":"default","tag":"Modifiers","count":10},{"language":"default","tag":"Promotions","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/campaigns/promotions/delete-promotion","slug":"/api-reference/campaigns/promotions/delete-promotion","pageMetadata":{"title":"Delete Promotion","api":"DELETE {{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions/{{promotion_id}}","description":"Delete a promotion with comprehensive safety checks, data archival options, and impact assessment to protect business operations.","playground":"simple","href":"/api-reference/campaigns/promotions/delete-promotion"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Delete a promotion with comprehensive safety checks, data archival options, and impact assessment to protect business operations.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Expandable,Heading,Info,Note,ParamField,ResponseField,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This endpoint provides controlled deletion of promotions with built-in safety mechanisms to prevent accidental loss of valuable marketing data and ensure minimal disruption to ongoing business operations.`}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`Promotion deletion is a permanent action with significant business implications. The system implements multiple safety checks and offers archival options to protect against accidental data loss while maintaining operational integrity.`})}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`company_id`,type:`string`,required:true,id:`param-company-id`,children:_jsx(_components.p,{children:`The unique identifier of the company that owns the promotion`})}),`\n`,_jsx(ParamField,{path:`campaign_id`,type:`string`,required:true,id:`param-campaign-id`,children:_jsx(_components.p,{children:`The unique identifier of the campaign containing the promotion`})}),`\n`,_jsx(ParamField,{path:`promotion_id`,type:`string`,required:true,id:`param-promotion-id`,children:_jsx(_components.p,{children:`The unique identifier of the promotion to delete`})}),`\n`,_jsx(Heading,{level:`3`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`force`,type:`boolean`,optional:true,default:`false`,id:`param-force`,children:_jsx(_components.p,{children:`Force deletion despite safety warnings (requires elevated permissions)`})}),`\n`,_jsx(ParamField,{query:`archive_data`,type:`boolean`,optional:true,default:`true`,id:`param-archive-data`,children:_jsx(_components.p,{children:`Whether to archive promotion data before deletion for future reference`})}),`\n`,_jsx(ParamField,{query:`transfer_analytics`,type:`boolean`,optional:true,default:`true`,id:`param-transfer-analytics`,children:_jsx(_components.p,{children:`Whether to preserve analytics data in campaign-level reporting`})}),`\n`,_jsx(ParamField,{query:`confirmation_token`,type:`string`,optional:true,id:`param-confirmation-token`,children:_jsx(_components.p,{children:`Security token required for high-impact deletions`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`deletion_reason`,type:`string`,required:true,id:`param-deletion-reason`,children:_jsx(_components.p,{children:`Business justification for deleting the promotion`})}),`\n`,_jsx(ParamField,{body:`impact_acknowledgment`,type:`boolean`,required:true,id:`param-impact-acknowledgment`,children:_jsx(_components.p,{children:`Confirmation that user understands the deletion impact`})}),`\n`,_jsxs(ParamField,{body:`alternative_actions_considered`,type:`array`,optional:true,id:`param-alternative-actions-considered`,children:[_jsx(_components.p,{children:`List of alternative actions considered before deletion`}),_jsxs(Expandable,{title:`Alternative Actions`,children:[_jsx(ParamField,{body:`action`,type:`string`,id:`param-action`,children:`Alternative action that was considered`}),_jsx(ParamField,{body:`reason_rejected`,type:`string`,id:`param-reason-rejected`,children:`Why this alternative was not chosen`})]})]}),`\n`,_jsxs(ParamField,{body:`data_retention_preferences`,type:`object`,optional:true,id:`param-data-retention-preferences`,children:[_jsx(_components.p,{children:`Specific preferences for data handling during deletion`}),_jsxs(Expandable,{title:`Data Retention Preferences`,children:[_jsx(ParamField,{body:`preserve_customer_usage_history`,type:`boolean`,optional:true,default:`true`,id:`param-preserve-customer-usage-history`,children:_jsx(_components.p,{children:`Keep customer usage records for compliance and analytics`})}),_jsx(ParamField,{body:`preserve_performance_metrics`,type:`boolean`,optional:true,default:`true`,id:`param-preserve-performance-metrics`,children:_jsx(_components.p,{children:`Maintain aggregated performance data for reporting`})}),_jsx(ParamField,{body:`preserve_financial_records`,type:`boolean`,optional:true,default:`true`,id:`param-preserve-financial-records`,children:_jsx(_components.p,{children:`Keep financial impact data for accounting purposes`})}),_jsx(ParamField,{body:`anonymize_customer_data`,type:`boolean`,optional:true,default:`false`,id:`param-anonymize-customer-data`,children:_jsx(_components.p,{children:`Remove personally identifiable information while preserving analytics`})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`request-example`,children:`Request Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deletion_reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Promotion was created in error and conflicts with existing campaign strategy. No customer usage has occurred.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"impact_acknowledgment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"alternative_actions_considered\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Pause promotion instead of deletion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason_rejected\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Promotion was never intended to be active and creates confusion in campaign management\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Modify promotion to align with strategy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason_rejected\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Core concept conflicts with brand guidelines and cannot be salvaged\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data_retention_preferences\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"preserve_customer_usage_history\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"preserve_performance_metrics\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"preserve_financial_records\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"anonymize_customer_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`deletion_id`,type:`string`,id:`param-deletion-id`,children:_jsx(_components.p,{children:`Unique identifier for this deletion operation`})}),`\n`,_jsx(ResponseField,{name:`promotion_id`,type:`string`,id:`param-promotion-id-1`,children:_jsx(_components.p,{children:`The ID of the deleted promotion`})}),`\n`,_jsx(ResponseField,{name:`campaign_id`,type:`string`,id:`param-campaign-id-1`,children:_jsx(_components.p,{children:`Parent campaign identifier`})}),`\n`,_jsx(ResponseField,{name:`deletion_status`,type:`string`,id:`param-deletion-status`,children:_jsx(_components.p,{children:`Status of the deletion: “completed”, “archived”, “pending_approval”, “blocked”`})}),`\n`,_jsxs(ResponseField,{name:`safety_checks`,type:`object`,id:`param-safety-checks`,children:[_jsx(_components.p,{children:`Results of pre-deletion safety validations`}),_jsxs(Expandable,{title:`Safety Check Results`,children:[_jsx(ResponseField,{name:`active_usage_check`,type:`object`,id:`param-active-usage-check`,children:_jsx(_components.p,{children:`Verification of current promotion usage`})}),_jsx(ResponseField,{name:`dependency_check`,type:`object`,id:`param-dependency-check`,children:_jsx(_components.p,{children:`Analysis of systems or processes depending on this promotion`})}),_jsx(ResponseField,{name:`financial_impact_check`,type:`object`,id:`param-financial-impact-check`,children:_jsx(_components.p,{children:`Assessment of financial implications`})}),_jsx(ResponseField,{name:`compliance_check`,type:`object`,id:`param-compliance-check`,children:_jsx(_components.p,{children:`Regulatory and policy compliance verification`})})]})]}),`\n`,_jsxs(ResponseField,{name:`archival_summary`,type:`object`,id:`param-archival-summary`,children:[_jsx(_components.p,{children:`Summary of data preservation actions taken`}),_jsxs(Expandable,{title:`Archival Summary`,children:[_jsx(ResponseField,{name:`archived_data_location`,type:`string`,id:`param-archived-data-location`,children:_jsx(_components.p,{children:`Reference to archived promotion data`})}),_jsx(ResponseField,{name:`archived_at`,type:`string`,id:`param-archived-at`,children:_jsx(_components.p,{children:`Timestamp when data was archived`})}),_jsx(ResponseField,{name:`archive_retention_period`,type:`string`,id:`param-archive-retention-period`,children:_jsx(_components.p,{children:`How long archived data will be retained`})}),_jsx(ResponseField,{name:`recoverable_until`,type:`string`,id:`param-recoverable-until`,children:_jsx(_components.p,{children:`Latest date for potential data recovery`})})]})]}),`\n`,_jsxs(ResponseField,{name:`impact_assessment`,type:`object`,id:`param-impact-assessment`,children:[_jsx(_components.p,{children:`Comprehensive analysis of deletion effects`}),_jsxs(Expandable,{title:`Impact Assessment`,children:[_jsx(ResponseField,{name:`customers_affected`,type:`integer`,id:`param-customers-affected`,children:_jsx(_components.p,{children:`Number of customers who used this promotion`})}),_jsx(ResponseField,{name:`orders_impacted`,type:`integer`,id:`param-orders-impacted`,children:_jsx(_components.p,{children:`Number of orders that included this promotion`})}),_jsx(ResponseField,{name:`revenue_impact`,type:`number`,id:`param-revenue-impact`,children:_jsx(_components.p,{children:`Total revenue associated with deleted promotion`})}),_jsx(ResponseField,{name:`analytics_impact`,type:`object`,id:`param-analytics-impact`,children:_jsx(_components.p,{children:`Effect on reporting and analytics systems`})})]})]}),`\n`,_jsxs(ResponseField,{name:`alternative_recommendations`,type:`array`,id:`param-alternative-recommendations`,children:[_jsx(_components.p,{children:`System-generated recommendations for similar promotions`}),_jsxs(Expandable,{title:`Recommendations`,children:[_jsx(ResponseField,{name:`recommendation_type`,type:`string`,id:`param-recommendation-type`,children:_jsx(_components.p,{children:`Type of alternative action recommended`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Detailed recommendation description`})}),_jsx(ResponseField,{name:`expected_outcome`,type:`string`,id:`param-expected-outcome`,children:_jsx(_components.p,{children:`Anticipated result of following the recommendation`})})]})]}),`\n`,_jsxs(ResponseField,{name:`rollback_options`,type:`object`,id:`param-rollback-options`,children:[_jsx(_components.p,{children:`Available options for reversing the deletion`}),_jsxs(Expandable,{title:`Rollback Options`,children:[_jsx(ResponseField,{name:`recovery_possible`,type:`boolean`,id:`param-recovery-possible`,children:_jsx(_components.p,{children:`Whether promotion can be recovered from archive`})}),_jsx(ResponseField,{name:`recovery_deadline`,type:`string`,id:`param-recovery-deadline`,children:_jsx(_components.p,{children:`Latest date for successful recovery`})}),_jsx(ResponseField,{name:`recovery_limitations`,type:`array`,id:`param-recovery-limitations`,children:_jsx(_components.p,{children:`Limitations or restrictions on data recovery`})})]})]}),`\n`,_jsxs(ResponseField,{name:`compliance_records`,type:`object`,id:`param-compliance-records`,children:[_jsx(_components.p,{children:`Compliance and audit trail information`}),_jsxs(Expandable,{title:`Compliance Records`,children:[_jsx(ResponseField,{name:`audit_log_entry`,type:`string`,id:`param-audit-log-entry`,children:_jsx(_components.p,{children:`Reference to detailed audit log`})}),_jsx(ResponseField,{name:`regulatory_notifications`,type:`array`,id:`param-regulatory-notifications`,children:_jsx(_components.p,{children:`Any required regulatory notifications`})}),_jsx(ResponseField,{name:`data_retention_compliance`,type:`object`,id:`param-data-retention-compliance`,children:_jsx(_components.p,{children:`Compliance with data retention policies`})})]})]}),`\n`,_jsx(ResponseField,{name:`deleted_at`,type:`string`,id:`param-deleted-at`,children:_jsx(_components.p,{children:`Timestamp when the deletion was completed`})}),`\n`,_jsx(ResponseField,{name:`deleted_by`,type:`string`,id:`param-deleted-by`,children:_jsx(_components.p,{children:`User who performed the deletion`})}),`\n`,_jsx(ResponseField,{name:`deletion_method`,type:`string`,id:`param-deletion-method`,children:_jsx(_components.p,{children:`Method used for deletion (soft_delete, archive_delete, hard_delete)`})}),`\n`,_jsx(Heading,{level:`3`,id:`response-example`,children:`Response Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`81`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`81`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deletion_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"del_promo_spring_001_20250420\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"promotion_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"promo_spring_001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"campaign_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000010\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deletion_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"safety_checks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"active_usage_check\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"passed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"current_active_users\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pending_transactions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No active usage detected\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dependency_check\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"passed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dependent_systems\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"external_references\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No system dependencies found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"financial_impact_check\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"warning\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_revenue_impact\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18450.32`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outstanding_commitments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Promotion generated significant revenue but no outstanding commitments\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"compliance_check\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"passed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"regulatory_requirements\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"met\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data_retention_compliance\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"compliant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"All compliance requirements satisfied\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"archival_summary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"archived_data_location\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"archive://promotions/2025/spring_campaign/promo_spring_001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"archived_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-04-20T16:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"archive_retention_period\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"7 years\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recoverable_until\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-05-20T16:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"impact_assessment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customers_affected\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`189`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orders_impacted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`247`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"revenue_impact\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18450.32`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"analytics_impact\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"historical_reports\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"preserved\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trend_analysis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"adjusted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"comparative_metrics\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"normalized\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"alternative_recommendations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recommendation_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"similar_promotion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Create a new seasonal promotion with similar discount structure but updated branding\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expected_outcome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Maintain customer engagement while aligning with current strategy\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recommendation_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"customer_retention\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Send targeted offers to customers who used the deleted promotion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expected_outcome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Minimize customer dissatisfaction from promotion removal\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rollback_options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recovery_possible\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recovery_deadline\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-05-20T16:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recovery_limitations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Some real-time metrics may need recalculation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Customer-facing promotion codes will need regeneration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Integration with external systems may require reactivation\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"compliance_records\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"audit_log_entry\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"audit_2025_04_20_promotion_deletion_001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"regulatory_notifications\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data_retention_compliance\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"preserved_as_required\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"financial_records\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"archived_per_policy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"analytics_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"anonymized_and_retained\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deleted_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-04-20T16:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deleted_by\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"marketing_manager_002\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deletion_method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"archive_delete\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Accordion,{title:`Deletion Methods Explained`,id:`deletion-methods-explained`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Soft Delete`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Promotion marked as deleted but data remains in active database`}),`\n`,_jsx(_components.li,{children:`Can be easily recovered without data loss`}),`\n`,_jsx(_components.li,{children:`Continues to appear in some administrative interfaces`}),`\n`,_jsx(_components.li,{children:`Recommended for temporary removal or accidental deletions`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Archive Delete`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Promotion data moved to secure archival storage`}),`\n`,_jsx(_components.li,{children:`Active database cleaned of promotion references`}),`\n`,_jsx(_components.li,{children:`Requires archive recovery process to restore`}),`\n`,_jsx(_components.li,{children:`Balances data protection with system performance`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Hard Delete`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Complete removal of promotion data from all systems`}),`\n`,_jsx(_components.li,{children:`Cannot be recovered once completed`}),`\n`,_jsx(_components.li,{children:`Only recommended for test data or invalid promotions`}),`\n`,_jsx(_components.li,{children:`Requires special authorization and safety overrides`}),`\n`]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery Window`}),`: Deleted promotions can typically be recovered within 30 days using archived data. After this period, recovery may require special procedures or may not be possible.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Best Practice`}),`: Before deleting promotions with significant usage history, consider deactivating them instead. This preserves data integrity while removing them from active use.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`safety-check-details`,children:`Safety Check Details`}),`\n`,_jsxs(Accordion,{title:`Comprehensive Safety Validations`,id:`comprehensive-safety-validations`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Active Usage Validation`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Check for customers currently using promotion codes`}),`\n`,_jsx(_components.li,{children:`Verify no pending transactions with promotion applied`}),`\n`,_jsx(_components.li,{children:`Confirm no scheduled automatic applications`}),`\n`,_jsx(_components.li,{children:`Validate no active customer communication references`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`System Dependency Analysis`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Scan for integration system references`}),`\n`,_jsx(_components.li,{children:`Check analytics dashboard dependencies`}),`\n`,_jsx(_components.li,{children:`Verify no automated marketing workflows using promotion`}),`\n`,_jsx(_components.li,{children:`Confirm no customer service tool dependencies`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Financial Impact Assessment`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Calculate total revenue generated by promotion`}),`\n`,_jsx(_components.li,{children:`Identify any outstanding financial commitments`}),`\n`,_jsx(_components.li,{children:`Assess impact on revenue projections`}),`\n`,_jsx(_components.li,{children:`Verify no pending refund or adjustment requirements`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Compliance and Legal Review`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Check data retention policy requirements`}),`\n`,_jsx(_components.li,{children:`Verify regulatory compliance for deletion`}),`\n`,_jsx(_components.li,{children:`Confirm audit trail preservation`}),`\n`,_jsx(_components.li,{children:`Validate customer privacy regulation compliance`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Business Process Impact`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Analyze effect on campaign performance metrics`}),`\n`,_jsx(_components.li,{children:`Assess impact on customer journey mapping`}),`\n`,_jsx(_components.li,{children:`Review effect on A/B testing and experimentation`}),`\n`,_jsx(_components.li,{children:`Confirm no impact on loyalty program calculations`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsxs(Accordion,{title:`Deletion Error Scenarios`,id:`deletion-error-scenarios`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Active Usage Prevention`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cannot delete active promotion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Promotion has 15 customers currently using codes and 3 pending transactions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ACTIVE_USAGE_DETECTED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"active_users\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pending_transactions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"suggested_action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Deactivate promotion and wait for usage completion\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Safety Check Failure`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Safety check failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Promotion has system dependencies that prevent deletion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SAFETY_CHECK_FAILED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"failed_checks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dependency_check\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"financial_impact_check\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Insufficient Permissions`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Insufficient permissions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"High-impact promotion deletion requires administrator approval\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PERMISSION_DENIED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"required_permission\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"promotion_delete_high_impact\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Confirmation Required`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Confirmation token required\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This deletion requires additional security confirmation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CONFIRMATION_REQUIRED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"confirmation_method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"email_token\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`High-Impact Deletions`}),`: Promotions with significant customer usage, revenue impact, or system dependencies require additional approvals and may be blocked from immediate deletion.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`alternative-actions`,children:`Alternative Actions`}),`\n`,_jsxs(Accordion,{title:`Alternatives to Deletion`,id:`alternatives-to-deletion`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Deactivation Instead of Deletion`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Preserves all historical data and analytics`}),`\n`,_jsx(_components.li,{children:`Removes promotion from customer-facing systems`}),`\n`,_jsx(_components.li,{children:`Maintains compliance and audit trails`}),`\n`,_jsx(_components.li,{children:`Can be reactivated if needed in the future`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Archival Without Deletion`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Moves promotion to archived status`}),`\n`,_jsx(_components.li,{children:`Removes from active management interfaces`}),`\n`,_jsx(_components.li,{children:`Preserves all data for future reference`}),`\n`,_jsx(_components.li,{children:`Maintains complete historical integrity`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Modification for Compliance`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Update promotion to meet current requirements`}),`\n`,_jsx(_components.li,{children:`Adjust settings to align with new policies`}),`\n`,_jsx(_components.li,{children:`Preserve customer value while ensuring compliance`}),`\n`,_jsx(_components.li,{children:`Maintain business continuity`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Gradual Phase-Out`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Reduce promotion visibility over time`}),`\n`,_jsx(_components.li,{children:`Stop new customer acquisition`}),`\n`,_jsx(_components.li,{children:`Allow existing users to complete usage`}),`\n`,_jsx(_components.li,{children:`Minimize disruption to customer experience`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`recovery-procedures`,children:`Recovery Procedures`}),`\n`,_jsxs(Accordion,{title:`Promotion Recovery Process`,id:`promotion-recovery-process`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Immediate Recovery (0-24 hours)`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Simple restoration from recent backups`}),`\n`,_jsx(_components.li,{children:`Full data integrity preserved`}),`\n`,_jsx(_components.li,{children:`Minimal system reconfiguration required`}),`\n`,_jsx(_components.li,{children:`Complete restoration of all functionality`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Short-term Recovery (1-30 days)`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Restoration from archived data`}),`\n`,_jsx(_components.li,{children:`Some real-time metrics may need recalculation`}),`\n`,_jsx(_components.li,{children:`Integration systems may require reactivation`}),`\n`,_jsx(_components.li,{children:`Customer codes may need regeneration`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Long-term Recovery (30+ days)`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Complex recovery process required`}),`\n`,_jsx(_components.li,{children:`May involve data reconstruction`}),`\n`,_jsx(_components.li,{children:`Some real-time data may be lost`}),`\n`,_jsx(_components.li,{children:`Requires administrator approval and technical support`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Recovery Limitations`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Real-time usage statistics may reset`}),`\n`,_jsx(_components.li,{children:`Some integration configurations may be lost`}),`\n`,_jsx(_components.li,{children:`Customer notification may be required`}),`\n`,_jsx(_components.li,{children:`Performance metrics may show discontinuity`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`business-impact-considerations`,children:`Business Impact Considerations`}),`\n`,_jsxs(Accordion,{title:`Strategic Deletion Considerations`,id:`strategic-deletion-considerations`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Customer Relationship Impact`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Effect on customer satisfaction and loyalty`}),`\n`,_jsx(_components.li,{children:`Impact on repeat purchase behavior`}),`\n`,_jsx(_components.li,{children:`Influence on customer lifetime value`}),`\n`,_jsx(_components.li,{children:`Potential for negative customer feedback`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Financial Implications`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Loss of promotion-driven revenue`}),`\n`,_jsx(_components.li,{children:`Impact on profit margin calculations`}),`\n`,_jsx(_components.li,{children:`Effect on budget and forecasting`}),`\n`,_jsx(_components.li,{children:`Implications for ROI analysis`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Marketing Strategy Effects`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Impact on campaign performance metrics`}),`\n`,_jsx(_components.li,{children:`Effect on customer segmentation`}),`\n`,_jsx(_components.li,{children:`Influence on future promotion planning`}),`\n`,_jsx(_components.li,{children:`Consequences for brand positioning`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Operational Considerations`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Effect on staff training and procedures`}),`\n`,_jsx(_components.li,{children:`Impact on customer service operations`}),`\n`,_jsx(_components.li,{children:`Influence on inventory planning`}),`\n`,_jsx(_components.li,{children:`Consequences for partner relationships`}),`\n`]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Delete Promotion","api":"DELETE {{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions/{{promotion_id}}","description":"Delete a promotion with comprehensive safety checks, data archival options, and impact assessment to protect business operations.","playground":"simple","href":"/api-reference/campaigns/promotions/delete-promotion"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Query Parameters","slug":"query-parameters","depth":3,"children":[]},{"title":"Request Body","slug":"request-body","depth":3,"children":[]},{"title":"Request Example","slug":"request-example","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Response Example","slug":"response-example","depth":3,"children":[]},{"title":"Safety Check Details","slug":"safety-check-details","depth":3,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":3,"children":[]},{"title":"Alternative Actions","slug":"alternative-actions","depth":3,"children":[]},{"title":"Recovery Procedures","slug":"recovery-procedures","depth":3,"children":[]},{"title":"Business Impact Considerations","slug":"business-impact-considerations","depth":3,"children":[]}],"codeExamples":{},"endpoint":{"title":"Delete Promotion","path":"{{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions/{{promotion_id}}","method":"delete","request":{"security":[],"parameters":{"query":{"force":{"schema":[{"type":"boolean","description":"Force deletion despite safety warnings (requires elevated permissions)"}]},"archive_data":{"schema":[{"type":"boolean","description":"Whether to archive promotion data before deletion for future reference"}]},"transfer_analytics":{"schema":[{"type":"boolean","description":"Whether to preserve analytics data in campaign-level reporting"}]},"confirmation_token":{"schema":[{"type":"string","description":"Security token required for high-impact deletions"}]}},"header":{},"cookie":{},"path":{"company_id":{"schema":[{"type":"string","description":"The unique identifier of the company that owns the promotion","required":true}]},"campaign_id":{"schema":[{"type":"string","description":"The unique identifier of the campaign containing the promotion","required":true}]},"promotion_id":{"schema":[{"type":"string","description":"The unique identifier of the promotion to delete","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"deletion_reason":[{"type":"string","description":"Business justification for deleting the promotion","required":true}],"impact_acknowledgment":[{"type":"boolean","description":"Confirmation that user understands the deletion impact","required":true}],"alternative_actions_considered":[{"type":"array","items":[{"type":"object","properties":{"action":[{"type":"string","description":"Alternative action that was considered"}],"reason_rejected":[{"type":"string","description":"Why this alternative was not chosen"}]}}],"description":"List of alternative actions considered before deletion"}],"data_retention_preferences":[{"type":"object","properties":{"preserve_customer_usage_history":[{"type":"boolean","description":"Keep customer usage records for compliance and analytics"}],"preserve_performance_metrics":[{"type":"boolean","description":"Maintain aggregated performance data for reporting"}],"preserve_financial_records":[{"type":"boolean","description":"Keep financial impact data for accounting purposes"}],"anonymize_customer_data":[{"type":"boolean","description":"Remove personally identifiable information while preserving analytics"}]},"description":"Specific preferences for data handling during deletion"}]}}],"examples":{"example":{"value":{"deletion_reason":"\u003cstring>","impact_acknowledgment":true,"alternative_actions_considered":[{"action":"\u003cstring>","reason_rejected":"\u003cstring>"}],"data_retention_preferences":{"preserve_customer_usage_history":true,"preserve_performance_metrics":true,"preserve_financial_records":true,"anonymize_customer_data":true}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"deletion_id":[{"type":"string","description":"Unique identifier for this deletion operation"}],"promotion_id":[{"type":"string","description":"The ID of the deleted promotion"}],"campaign_id":[{"type":"string","description":"Parent campaign identifier"}],"deletion_status":[{"type":"string","description":"Status of the deletion: “completed”, “archived”, “pending_approval”, “blocked”"}],"safety_checks":[{"type":"object","properties":{"active_usage_check":[{"type":"object","properties":{},"description":"Verification of current promotion usage"}],"dependency_check":[{"type":"object","properties":{},"description":"Analysis of systems or processes depending on this promotion"}],"financial_impact_check":[{"type":"object","properties":{},"description":"Assessment of financial implications"}],"compliance_check":[{"type":"object","properties":{},"description":"Regulatory and policy compliance verification"}]},"description":"Results of pre-deletion safety validations"}],"archival_summary":[{"type":"object","properties":{"archived_data_location":[{"type":"string","description":"Reference to archived promotion data"}],"archived_at":[{"type":"string","description":"Timestamp when data was archived"}],"archive_retention_period":[{"type":"string","description":"How long archived data will be retained"}],"recoverable_until":[{"type":"string","description":"Latest date for potential data recovery"}]},"description":"Summary of data preservation actions taken"}],"impact_assessment":[{"type":"object","properties":{"customers_affected":[{"type":"integer","description":"Number of customers who used this promotion"}],"orders_impacted":[{"type":"integer","description":"Number of orders that included this promotion"}],"revenue_impact":[{"type":"number","description":"Total revenue associated with deleted promotion"}],"analytics_impact":[{"type":"object","properties":{},"description":"Effect on reporting and analytics systems"}]},"description":"Comprehensive analysis of deletion effects"}],"alternative_recommendations":[{"type":"array","items":[{"type":"object","properties":{"recommendation_type":[{"type":"string","description":"Type of alternative action recommended"}],"description":[{"type":"string","description":"Detailed recommendation description"}],"expected_outcome":[{"type":"string","description":"Anticipated result of following the recommendation"}]}}],"description":"System-generated recommendations for similar promotions"}],"rollback_options":[{"type":"object","properties":{"recovery_possible":[{"type":"boolean","description":"Whether promotion can be recovered from archive"}],"recovery_deadline":[{"type":"string","description":"Latest date for successful recovery"}],"recovery_limitations":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Limitations or restrictions on data recovery"}]},"description":"Available options for reversing the deletion"}],"compliance_records":[{"type":"object","properties":{"audit_log_entry":[{"type":"string","description":"Reference to detailed audit log"}],"regulatory_notifications":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Any required regulatory notifications"}],"data_retention_compliance":[{"type":"object","properties":{},"description":"Compliance with data retention policies"}]},"description":"Compliance and audit trail information"}],"deleted_at":[{"type":"string","description":"Timestamp when the deletion was completed"}],"deleted_by":[{"type":"string","description":"User who performed the deletion"}],"deletion_method":[{"type":"string","description":"Method used for deletion (soft_delete, archive_delete, hard_delete)"}]}}],"examples":{"example":{"value":{"deletion_id":"\u003cstring>","promotion_id":"\u003cstring>","campaign_id":"\u003cstring>","deletion_status":"\u003cstring>","safety_checks":{"active_usage_check":{},"dependency_check":{},"financial_impact_check":{},"compliance_check":{}},"archival_summary":{"archived_data_location":"\u003cstring>","archived_at":"\u003cstring>","archive_retention_period":"\u003cstring>","recoverable_until":"\u003cstring>"},"impact_assessment":{"customers_affected":123,"orders_impacted":123,"revenue_impact":123,"analytics_impact":{}},"alternative_recommendations":[{"recommendation_type":"\u003cstring>","description":"\u003cstring>","expected_outcome":"\u003cstring>"}],"rollback_options":{"recovery_possible":true,"recovery_deadline":"\u003cstring>","recovery_limitations":[{}]},"compliance_records":{"audit_log_entry":"\u003cstring>","regulatory_notifications":[{}],"data_retention_compliance":{}},"deleted_at":"\u003cstring>","deleted_by":"\u003cstring>","deletion_method":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"lulaconvenience","siteName":"Documentation Starter Kit","title":"Delete Promotion - Documentation Starter Kit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T22:52:30.644Z","originalFileLocation":"api-reference/campaigns/promotions/delete-promotion.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Delete a promotion with comprehensive safety checks, data archival options, and impact assessment to protect business operations.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Documentation Starter Kit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Delete Promotion - Documentation Starter Kit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Delete a promotion with comprehensive safety checks, data archival options, and impact assessment to protect business operations.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Documentation Starter Kit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.lulacommerce.com/api-reference/campaigns/promotions/delete-promotion\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lulaconvenience.mintlify.site/_mintlify/api/og/v2?division=Promotions\u0026amp;title=Delete+Promotion\u0026amp;description=Delete+a+promotion+with+comprehensive+safety+checks%2C+data+archival+options%2C+and+impact+assessment+to+protect+business+operations.\u0026amp;theme=20c5c8d451f1169efff39fdd\u0026amp;signature=8eb26c0f830b6b21ee4c0252c21b1ea4415be6f69a76c95da71d297989570ea1\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Delete Promotion - Documentation Starter Kit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Delete a promotion with comprehensive safety checks, data archival options, and impact assessment to protect business operations.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lulaconvenience.mintlify.site/_mintlify/api/og/v2?division=Promotions\u0026amp;title=Delete+Promotion\u0026amp;description=Delete+a+promotion+with+comprehensive+safety+checks%2C+data+archival+options%2C+and+impact+assessment+to+protect+business+operations.\u0026amp;theme=20c5c8d451f1169efff39fdd\u0026amp;signature=8eb26c0f830b6b21ee4c0252c21b1ea4415be6f69a76c95da71d297989570ea1\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/lulaconvenience/T9P5PJWTg2EYuDhN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Documentation Starter Kit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2C023B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.lulacommerce.com/api-reference/campaigns/promotions/delete-promotion\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/campaigns/promotions/delete-promotion.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.lulacommerce.com/#organization\",\"name\":\"Documentation Starter Kit\",\"url\":\"https://developer.lulacommerce.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lulaconvenience/j9ZBLBNfvCnzqqXy/logo/lula-commerce-logo-primary.png?fit=max\u0026auto=format\u0026n=j9ZBLBNfvCnzqqXy\u0026q=85\u0026s=284bd11c4f3d4f0c15a37b9801dadcc6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.lulacommerce.com#website\",\"name\":\"Documentation Starter Kit\",\"url\":\"https://developer.lulacommerce.com\",\"publisher\":{\"@id\":\"https://developer.lulacommerce.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.lulacommerce.com/api-reference/campaigns/promotions/delete-promotion#webpage\",\"url\":\"https://developer.lulacommerce.com/api-reference/campaigns/promotions/delete-promotion\",\"name\":\"Delete Promotion\",\"description\":\"Delete a promotion with comprehensive safety checks, data archival options, and impact assessment to protect business operations.\",\"dateModified\":\"2026-01-06T22:52:30.644Z\",\"isPartOf\":{\"@id\":\"https://developer.lulacommerce.com#website\"},\"breadcrumb\":{\"@id\":\"https://developer.lulacommerce.com/api-reference/campaigns/promotions/delete-promotion#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.lulacommerce.com/api-reference/campaigns/promotions/delete-promotion#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Documentation - Latest\",\"item\":\"https://developer.lulacommerce.com/api-reference/companies/create-company\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Campaigns\",\"item\":\"https://developer.lulacommerce.com/api-reference/campaigns/campaigns-overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Promotions\",\"item\":\"https://developer.lulacommerce.com/api-reference/campaigns/promotions/create-promotion\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Delete Promotion\",\"item\":\"https://developer.lulacommerce.com/api-reference/campaigns/promotions/delete-promotion\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.lulacommerce.com/api-reference/campaigns/promotions/delete-promotion#apireference\",\"headline\":\"Delete Promotion\",\"name\":\"Delete Promotion\",\"description\":\"Delete a promotion with comprehensive safety checks, data archival options, and impact assessment to protect business operations.\",\"url\":\"https://developer.lulacommerce.com/api-reference/campaigns/promotions/delete-promotion\",\"mainEntityOfPage\":{\"@id\":\"https://developer.lulacommerce.com/api-reference/campaigns/promotions/delete-promotion#webpage\"},\"dateModified\":\"2026-01-06T22:52:30.644Z\",\"publisher\":{\"@id\":\"https://developer.lulacommerce.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.lulacommerce.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Documentation Starter Kit\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Documentation Starter Kit\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/campaigns/promotions/delete-promotion.md","siteName":"Documentation Starter Kit","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/documentation/welcome-intro"}]},{"anchor":"API Reference","icon":"rectangle-terminal","groups":[{"group":"API Documentation - Legacy","pages":[{"title":"CSV Item Ingestion","href":"/api-reference/csvItemsIngestion"},{"title":"JSON Item Ingestion","href":"/api-reference/jsonItemsIngestion"}]},{"group":"API Documentation - Latest","pages":[{"group":"Companies","pages":[{"title":"Create Company","api":"POST https://api-staging.luladelivery.store/stores/company","playground":"simple","href":"/api-reference/companies/create-company"},{"title":"Get Company Details","api":"GET https://api-staging.luladelivery.store/stores/company","playground":"simple","href":"/api-reference/companies/get-company-details"},{"title":"Update Company","api":"PUT https://api-staging.luladelivery.store/stores/company/{company_id}","playground":"simple","href":"/api-reference/companies/update-company"},{"title":"Delete Company","api":"DELETE https://api-staging.luladelivery.store/stores/company/{company_id}","playground":"simple","href":"/api-reference/companies/delete-company"},{"title":"Offboard Company","api":"PUT https://api-staging.luladelivery.store/stores/company/{company_id}/offboard","playground":"simple","href":"/api-reference/companies/offboard-company"}]},{"group":"Stores","pages":[{"title":"Create Store","api":"POST https://api-staging.luladelivery.store/stores/store/","playground":"simple","href":"/api-reference/stores/create-store"},{"title":"Update Store","api":"PUT https://api-staging.luladelivery.store/stores/{store_id}?company_id={company_id}","playground":"simple","href":"/api-reference/stores/update-store"},{"title":"Get Store Status","api":"GET https://api-staging.luladelivery.store/stores/{store_id}/status?current_local_date={date}","playground":"simple","href":"/api-reference/stores/get-store-status"},{"title":"Change Store Status","api":"PUT https://api-staging.luladelivery.store/stores/{store_id}/status","playground":"simple","href":"/api-reference/stores/change-store-status"},{"title":"Get Store Tax Rate","api":"GET https://api-staging.luladelivery.store/stores/{store_id}/tax-rate","playground":"simple","href":"/api-reference/stores/get-store-tax-rate"},{"group":"Onboarding","pages":[{"title":"Start Onboarding","api":"PUT https://api-staging.luladelivery.store/stores/{store_id}/status","playground":"simple","href":"/api-reference/stores/onboarding/start-onboarding"},{"title":"Get Onboarding by ID","api":"GET https://api-staging.luladelivery.store/stores/onboarding/{onboarding_id}","playground":"simple","href":"/api-reference/stores/onboarding/get-onboarding-by-id"},{"title":"Get Onboarding by Store ID","api":"GET https://api-staging.luladelivery.store/stores/{store_id}/status?current_local_date={date}","playground":"simple","href":"/api-reference/stores/onboarding/get-onboarding-by-store-id"},{"title":"Get Onboarding by Company ID","api":"GET https://api-staging.luladelivery.store/stores/company/{company_id}/onboarding","playground":"simple","href":"/api-reference/stores/onboarding/get-onboarding-by-company-id"}]},{"group":"Store Employees","pages":[{"title":"Link User to Store","api":"PUT https://api-staging.luladelivery.store/stores/store-employees/{store_id}","playground":"simple","href":"/api-reference/stores/store-employees/link-user-to-store"},{"title":"Link Store to Employee","api":"POST https://api-staging.luladelivery.store/stores/store-employees/","playground":"simple","href":"/api-reference/stores/store-employees/link-store-to-employee"}]}]},{"group":"Catalog","pages":[{"title":"Catalog Updates","playground":"simple","href":"/api-reference/catalog/updates"},{"title":"Upsert Products using CSV","api":"POST {{micro_service_base_url}}/inventory-service-v2/companies/1000019/products/bulk/csv","playground":"simple","href":"/api-reference/catalog/upsert-products-csv"},{"title":"Upsert Products using JSON","api":"POST {{micro_service_base_url}}/inventory-service-v2/companies/1000019/products/bulk","playground":"simple","href":"/api-reference/catalog/upsert-products-json"},{"title":"Upsert Inventory","api":"POST {{micro_service_base_url}}/inventory-service-v2/companies/1000019/store/449235c1-3d04-4519-998b-40d2a621e5e0/inventory","playground":"simple","href":"/api-reference/catalog/upsert-inventory"},{"title":"Get Store Inventory","api":"GET {{micro_service_base_url}}/inventory/v2/{{store_id}}/inventory","playground":"simple","href":"/api-reference/catalog/get-store-inventory"},{"title":"Get Job Status Of Ingestion","api":"GET {{micro_service_base_url}}/inventory-service-v2/jobs/14109","playground":"simple","href":"/api-reference/catalog/get-job-status"},{"title":"Get Recommended Products","api":"GET {{micro_service_base_url}}/inventory/store/{{store_id}}/item/{{store_item_id}}/recommended-products","playground":"simple","href":"/api-reference/catalog/recommended-products"},{"group":"Modifiers","pages":[{"title":"Modifiers Overview","href":"/api-reference/catalog/modifiers"},{"title":"Create Modifier Group","api":"POST {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/","playground":"simple","href":"/api-reference/catalog/modifiers/create-modifier-group"},{"title":"Create Modifier Group Options","api":"POST {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/{{modifier_group_id}}/options","playground":"simple","href":"/api-reference/catalog/modifiers/create-modifier-group-options"},{"title":"Create Modifier Group Linked Items","api":"POST {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/{{modifier_group_id}}/mappings","playground":"simple","href":"/api-reference/catalog/modifiers/create-modifier-group-linked-items"},{"title":"Delete Modifier Group Option From Modifier Group","api":"DELETE {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/{{modifier_group_id}}/options","playground":"simple","href":"/api-reference/catalog/modifiers/delete-modifier-group-option"},{"title":"Delete Linked Items From Modifier Group","api":"DELETE {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/{{modifier_group_id}}/mappings","playground":"simple","href":"/api-reference/catalog/modifiers/delete-linked-items-from-modifier-group"},{"title":"Delete Modifier Group","api":"DELETE {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/{{modifier_group_id}}","playground":"simple","href":"/api-reference/catalog/modifiers/delete-modifier-group"},{"title":"Update Modifier Group","api":"PUT {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/","playground":"simple","href":"/api-reference/catalog/modifiers/update-modifier-group"},{"title":"Get List Of Modifier Groups","api":"GET {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/","playground":"simple","href":"/api-reference/catalog/modifiers/get-list-of-modifier-groups"},{"title":"Get Modifier Group Details","api":"GET {{micro_service_base_url}}/inventory/stores/{{store_id}}/modifier-groups/{{modifier_group_id}}","playground":"simple","href":"/api-reference/catalog/modifiers/get-modifier-group-details"}]}]},{"group":"Menus","pages":[{"title":"Menus Service Overview","href":"/api-reference/menus/menus-overview"},{"title":"Create Store Menu","api":"POST /stores/{{store_id}}/menu/","playground":"simple","href":"/api-reference/menus/create-store-menu"},{"title":"Upsert Store Menu","api":"PUT /stores/{{store_id}}/menu?menu_id={{menu_id}}","playground":"simple","href":"/api-reference/menus/upsert-store-menu"},{"title":"Delete Store Menu","api":"DELETE /stores/{{store_id}}/menu/{{menu_id}}","playground":"simple","href":"/api-reference/menus/delete-store-menu"},{"title":"Get Menu List","api":"GET /stores/{{store_id}}/menu/list?status=active\u0026sortBy=categories\u0026sortDirection=desc\u0026name=all","playground":"simple","href":"/api-reference/menus/get-menu-list"},{"title":"Sync Menu For All Stores","api":"POST /stores/menu/sync","playground":"simple","href":"/api-reference/menus/sync-menu-for-all-stores"},{"title":"Get All Active Menu of Store","api":"GET /stores/{{store_id}}/menu/","playground":"simple","href":"/api-reference/menus/get-all-active-menu-of-store"},{"title":"Get Store Menu Timings","api":"GET /stores/{{store_id}}/menu/timing?menu_ids={{menu_ids}}","playground":"simple","href":"/api-reference/menus/get-store-menu-timings"},{"group":"Menu Items","pages":[{"title":"Create Menu Item","api":"POST /stores/{{store_id}}/menu/items?active=true","playground":"simple","href":"/api-reference/menus/menu-items/create-menu-item"},{"title":"Delete Menu Item","api":"DELETE /stores/{{store_id}}/menus/{{menu_id}}/items/{{item_id}}","playground":"simple","href":"/api-reference/menus/menu-items/delete-menu"},{"title":"Update Menu Item","api":"PUT /stores/{{store_id}}/menus/{{menu_id}}/items/{{item_id}}","playground":"simple","href":"/api-reference/menus/menu-items/update-menu-item"}]},{"group":"Menu Rules","pages":[{"title":"Get Menu Rules","api":"GET /stores/{{store_id}}/menu-rules","playground":"simple","href":"/api-reference/menus/menu-rules/get-menu-rules"},{"title":"Upsert Menu Rules","api":"PUT /stores/{{store_id}}/menu-rules","playground":"simple","href":"/api-reference/menus/menu-rules/upsert-menu-rules"},{"title":"Get Menu Rules by ID","api":"GET /stores/{{store_id}}/menu-rules/{{rule_id}}","playground":"simple","href":"/api-reference/menus/menu-rules/get-menu-rules-by-id"}]}]},{"group":"Campaigns","pages":[{"title":"Campaigns Overview","playground":"simple","href":"/api-reference/campaigns/campaigns-overview"},{"title":"Create Campaign","api":"POST {{micro_service_base_url}}/stores/company/{{company_id}}/campaigns","playground":"simple","href":"/api-reference/campaigns/create-campaign"},{"title":"Get Campaigns","api":"GET {{micro_service_base_url}}/stores/company/{{company_id}}/campaigns","playground":"simple","href":"/api-reference/campaigns/get-campaigns"},{"title":"Get Campaign Details","api":"GET {{micro_service_base_url}}/stores/company/{{company_id}}/campaigns/{{campaign_id}}","playground":"simple","href":"/api-reference/campaigns/get-campaign-details"},{"title":"Update Campaign","api":"PUT {{stores_service_api_base_url}}/stores/company/{{company_id}}/campaigns/{{campaign_id}}/stores","playground":"simple","href":"/api-reference/campaigns/update-campaign"},{"title":"Delete Campaign","api":"DELETE {{stores_service_api_base_url}}/stores/{{store_id}}/status","playground":"simple","href":"/api-reference/campaigns/delete-campaign"},{"title":"Bulk Update Campaign","api":"POST {{micro_service_base_url}}/stores/company/{{company_id}}/campaigns/bulk","playground":"simple","href":"/api-reference/campaigns/bulk-update-campaign"},{"title":"Link Campaign to Stores","api":"GET {{stores_service_api_base_url}}/stores/company/{{company_id}}/campaigns/{{campaign_id}}/stores","playground":"simple","href":"/api-reference/campaigns/link-campaign-to-stores"},{"group":"Promotions","pages":[{"title":"Create Promotion","api":"POST {{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions","playground":"simple","href":"/api-reference/campaigns/promotions/create-promotion"},{"title":"Get Promotion Details","api":"GET {{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions/{{promotion_id}}","playground":"simple","href":"/api-reference/campaigns/promotions/get-promotion"},{"title":"Update Promotion","api":"PUT {{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions/{{promotion_id}}","description":"Update an existing promotion's configuration, including discount rules, eligibility criteria, scheduling, and display settings.","playground":"simple","href":"/api-reference/campaigns/promotions/update-promotion"},{"title":"Delete Promotion","api":"DELETE {{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions/{{promotion_id}}","playground":"simple","href":"/api-reference/campaigns/promotions/delete-promotion"},{"title":"Get All Promotions","api":"GET {{promotions_service_api_base_url}}/promotions/company/{{company_id}}/campaigns/{{campaign_id}}/promotions","description":"Retrieve a comprehensive list of all promotions within a campaign, with advanced filtering, sorting, and analytics capabilities.","playground":"simple","href":"/api-reference/campaigns/promotions/get-all-promotions"}]}]},{"group":"Orders","pages":[{"title":"Orders Management","playground":"simple","href":"/api-reference/orders/orders-overview"},{"title":"Get Incoming Orders","api":"GET {{orders_api_base_url}}/orders/","playground":"simple","href":"/api-reference/orders/get-incoming-orders"},{"title":"List All Orders","api":"GET {{micro_service_base_url}}/orders/","playground":"simple","href":"/api-reference/orders/list-all-orders"},{"title":"Get Orders Count","api":"GET {{orders_api_base_url}}/orders/counts/","playground":"simple","href":"/api-reference/orders/get-orders-count"},{"title":"Get Order Details","api":"GET {{orders_api_base_url}}/orders/details/","playground":"simple","href":"/api-reference/orders/get-order-details"},{"title":"Accept Incoming Order","api":"PUT {{orders_api_base_url}}/orders/accept/","playground":"simple","href":"/api-reference/orders/accept-incoming-order"},{"title":"Cancel Order","api":"POST {{orders_api_base_url}}/orders/cancel/","playground":"simple","href":"/api-reference/orders/cancel-order"},{"title":"Get Store Orders","api":"GET {{micro_service_base_url}}/orders/","playground":"simple","href":"/api-reference/orders/get-store-orders"},{"title":"Get Orders History","api":"GET {{orders_api_base_url}}/orders/history/","playground":"simple","href":"/api-reference/orders/get-orders-history"},{"title":"Create New Order","api":"POST {{orders_api_base_url}}/orders/create/","playground":"simple","href":"/api-reference/orders/create-new-order"},{"title":"Patch Order Cart","api":"PATCH {{micro_service_base_url}}/orders/{{order_id}}/patch-order","playground":"simple","href":"/api-reference/orders/patch-order-cart"},{"group":"Order Items","pages":[{"title":"Get Order Items","api":"GET {{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}","playground":"simple","href":"/api-reference/orders/order-items/get-order-items"},{"title":"Get All Order Items","api":"GET {{micro_service_base_url}}/orders/{{order_id}}/order-items","playground":"simple","href":"/api-reference/orders/order-items/get-all-order-items"},{"title":"Update Order Items","api":"PATCH {{micro_service_base_url}}/orders/{{order_id}}/order-items/{{order_item_id}}","playground":"simple","href":"/api-reference/orders/order-items/update-order-items"}]},{"group":"Order Issues","pages":[{"title":"Create Order Issue","api":"POST {{micro_service_base_url}}/orders/{{order_id}}/issues","playground":"simple","href":"/api-reference/orders/order-issues/create-order-issue"},{"title":"Update Order Issue","api":"PATCH {{micro_service_base_url}}/orders/{{order_id}}/issues/{{issue_id}}","playground":"simple","href":"/api-reference/orders/order-issues/update-order-issue"}]}]},{"group":"Legacy Endpoints","pages":[{"title":"Upload JSON file for item ingestion","api":"POST https://api-staging.luladelivery.store/inventory/ingestion/","href":"/api-reference/endpoint/upload-json"},{"title":"Post items for ingestion","api":"POST https://api-staging.luladelivery.store/inventory/ingestion/","href":"/api-reference/endpoint/post-items-for-ingestion"},{"title":"Upload CSV file for item ingestion","api":"POST https://api-staging.luladelivery.store/inventory/ingestion/csv","href":"/api-reference/endpoint/upload-csv"},{"title":"Get Job","api":"GET https://api-staging.luladelivery.store/inventory/ingestion/{id}","href":"/api-reference/endpoint/get-job"}]}]}]}]},"basePath":"","title":"Delete Promotion - Documentation Starter Kit","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","CodeSnippet-BBA8eWiP.js","getApiPlaygroundDisplay-DMK5GRGS.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","SectionHeading-AR_EzDYe.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js"]}