Promotion Credit Object Reference
Overview
A record of the promotion actually applied at the time of the order so that if the promotion is changed in the future, the credit applied to the order does not change. This is often automatically generated. Each promotion credit counts against the promotion's usage limit.
| Property |
Value |
| API Name |
s_c__Promotion_Credit__c |
| Label |
Promotion Credit |
| Plural Label |
Promotion Credits |
| Type |
Custom Object |
Fields
| Field Label |
API Name |
Type |
Required |
Description |
| Action |
s_c__Action__c |
Picklist |
Yes |
A record of how the promotion was applied to the shopping cart. The actual value is copied from the related Promotion_Action__c.Action__c. |
| Calculation Type |
s_c__Calculation__c |
Picklist |
Yes |
A record of what calculation was used for the promotion on the shopping cart. The actual value is copied from the related Promotion_Action__c.Calculation__c. |
| Credit Value Points |
s_c__Credit_Value_Points__c |
Number(18,0) |
No |
The calculated credit value in points applied to the order as a result of applying this particular Promotion Action. |
| Credit Value |
s_c__Credit_Value__c |
Currency(18,2) |
Yes |
The calculated credit value applied to the order as a result of applying this particular Promotion Action. |
| Discount Percentage |
s_c__Discount_Percent__c |
Percent(18,2) |
No |
The percent value used in the promotion. This is populated when Calculation__c is set as "Discount Percentage". |
| Discount Value Points |
s_c__Discount_Value_Points__c |
Number(18,0) |
No |
The fixed amount in points used in the promotion. This is populated when Calculation__c is set as "Discount Amount." |
| Discount Amount |
s_c__Discount_Value__c |
Currency(18,2) |
No |
The fixed amount used in the promotion. This is populated when Calculation__c is set as "Discount Amount." |
| Order |
s_c__Order_Id__c |
Lookup (Order) |
No |
The order this promotion was used on. |
| Promo Code Used |
s_c__Promo_Code_Used__c |
Text(255) |
Yes |
A record of the promo code used. |
| Promotion Action |
s_c__Promotion_Action_Id__c |
Lookup (s_c__Promotion_Action__c) |
Yes |
The promotion action used. |
| Promotion |
s_c__Promotion_Id__c |
Lookup (s_c__Promotion__c) |
Yes |
The promotion applied to the order. |
| Qualifying Quantity |
s_c__Qualifying_Quantity__c |
Number(18,0) |
No |
The number of items a user purchased for the discount to apply. |
| StoreConnect External ID |
s_c__sC_Id__c |
Text(36) |
No |
StoreConnect External ID, do not modify in Salesforce |
Relationships
| Field |
Type |
Related Object |
Relationship Name |
s_c__Order_Id__c |
Lookup |
Order |
Order_Promotion_Credits |
s_c__Promotion_Action_Id__c |
Lookup |
s_c__Promotion_Action__c |
Promotion_Credits |
s_c__Promotion_Id__c |
Lookup |
s_c__Promotion__c |
Promotion_Credits |
Last updated March 6, 2025