{"title":"Discount Credit Object Reference","slug":"discount-credit-object-reference","url":"https://support.storeconnect.com/articles/discount-credit-object-reference","url_markdown":"https://support.storeconnect.com/articles/discount-credit-object-reference.md","subtitle":null,"summary":"A record of the discount actually applied at the time of the order, generally used for tracking and audit purposes. This record is autogenerated and ideally should not be manually updated.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, Discount Credit, s_c__Discount_Credit__c, api","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\nA record of the discount actually applied at the time of the order, generally used for tracking and audit purposes. This record is autogenerated and ideally should not be manually updated.\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__Discount_Credit__c` |\n| **Label** | Discount Credit |\n| **Plural Label** | Discount Credits |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Calculation Type | `s_c__Calculation_Type__c` | Picklist | Yes | How the discount was applied: as a percentage, a dollar value, or a replacement price. |\n| 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 discount. For the replacement points, the credit value is the product's original list points minus the discounted points. |\n| 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 discount. For the replacement price, the credit value is the product's original list price minus the discounted price. |\n| Discount | `s_c__Discount_Id__c` | Lookup ([s_c__Discount__c](discount-object-reference)) | No | The Discount object that was applied to the related order. |\n| Discounted Points | `s_c__Discounted_Points__c` | Number(18,0) | No | The set amount in points applied if the Calculation_Type__c is set to Discounted Price. |\n| Discounted Price | `s_c__Discounted_Price__c` | Currency(18,2) | No | The set price applied if the Calculation_Type__c is set to Discounted Price. |\n| Order | `s_c__Order_Id__c` | Lookup ([Order](order-object-reference)) | No | The Order object that the discount was applied to. |\n| Discount Percentage | `s_c__Percent_Discount__c` | Percent(18,2) | No | The percentage of discount applied if the Calculation_Type__c is set to Discount Percentage. |\n| Qualifying Quantity | `s_c__Qualifying_Quantity__c` | Number(18,0) | No | [Future use] How many items did the user need to purchase of the scope before this discount was applied to all items in the scope. |\n| Discount Points Amount | `s_c__Value_Discount_Points__c` | Number(18,0) | No | The amount of discount in points applied if the Calculation_Type__c is set to Discount Amount. |\n| Discount Amount | `s_c__Value_Discount__c` | Currency(18,2) | No | The amount of discount applied if the Calculation_Type__c is set to Discount Amount. |\n| StoreConnect External ID | `s_c__sC_Id__c` | Text(36) | No | StoreConnect External ID, do not modify in Salesforce |\n\n## Relationships\n\n| Field | Type | Related Object | Relationship Name |\n|-------|------|----------------|-------------------|\n| `s_c__Discount_Id__c` | Lookup | [s_c__Discount__c](discount-object-reference) | Discount_Credits |\n| `s_c__Order_Id__c` | Lookup | [Order](order-object-reference) | Discount_Credits |"}