Skip to main content

SpendingRulesSdkResultDTO

Spending rules data transfer object containing rule metadata and available rewards

Properties​

PropertyTypeDescription
metadataobjectMetadata for the spending rule including icons and product information
metadata.collectionProductsobject[]Products from collections with their variants
metadata.iconsobject[]Icons for different sizes
metadata.productsobject[]Product information
metadata.variantsobject[]Product variant information
rewardsSpendingRulesRewardDTOAvailable rewards that can be redeemed
ruleOmit<SpendingRulesEntity["rule"], "versionId" | "customerTags">Rule configuration and settings