{"title":"Voucher Object Reference","slug":"voucher-object-reference","url":"https://support.storeconnect.com/articles/voucher-object-reference","url_markdown":"https://support.storeconnect.com/articles/voucher-object-reference.md","subtitle":null,"summary":"Vouchers can be used at checkout as payment","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, Voucher, s_c__Voucher__c, api, voucher fields, activate before date, activation deadline, activation code, opening balance, expires at, voucher status, voucher usage, recipient, resend email, voucher product, store credit, voucher lookup, voucher relationships","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\nVouchers can be used at checkout as payment\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__Voucher__c` |\n| **Label** | Voucher |\n| **Plural Label** | Vouchers |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Activate Before Datetime | `s_c__Activate_Before_Datetime__c` | DateTime | No | The date and time by which this Voucher must be activated. If not activated before this date, the Voucher can no longer be activated. |\n| Activated At | `s_c__Activated_At__c` | DateTime | No | Date and Time when the voucher is activated. |\n| Activation Code | `s_c__Activation_Code__c` | Text(80) | No | A unique code required to activate a voucher. |\n| Asset | `s_c__Asset_Id__c` | Lookup ([Asset](asset-object-reference)) | No | The asset linked to the Voucher, usually applicable for physical vouchers. |\n| Code | `s_c__Code__c` | Text(80) | No | The unique code for this Voucher that can be entered during checkout. |\n| Email Fields | `s_c__Email_Fields__c` | MultiselectPicklist | No | Auto generated value fields that will be included on the email |\n| Expires At | `s_c__Expires_At__c` | DateTime | No | The exact time at which this Voucher expires. The time zone used is per the users time zone setting in Salesforce and the time is then converted and saved as the equivalent time in UTC. If setting a future date, be sure to take any time zone changes into account. |\n| Opening Balance | `s_c__Opening_Balance__c` | Currency(18,2) | Yes | The initial value of this Voucher. |\n| Order Item | `s_c__Order_Item_Id__c` | Lookup ([OrderItem](orderitem-object-reference)) | No | The Order Item that this Voucher was purchased with. |\n| PIN | `s_c__Pin__c` | Text(80) | No | A PIN code used to activate or utilize the voucher. |\n| Product | `s_c__Product_Id__c` | Lookup ([Product2](product2-object-reference)) | No | The Product that defines what type of Voucher this is. |\n| Recipient | `s_c__Recipient_Id__c` | Lookup ([Contact](contact-object-reference)) | No | The Contact to send this Voucher to. |\n| Resend Email | `s_c__Resend_Email__c` | Checkbox | No | When checked, this will send the Voucher email to the Recipient_Id__c. |\n| Status | `s_c__Status__c` | Picklist | No | Shows the current state of the voucher, such as whether it is waiting to be activated, available for use, cancelled, or temporarily locked. |\n| Store | `s_c__Store_Id__c` | Lookup ([s_c__Store__c](store-object-reference)) | Yes | The Store that this Voucher belongs to. |\n| Usage | `s_c__Usage__c` | Picklist | Yes | Indicates whether the Voucher can be used on other Stores. |\n\n## Relationships\n\n| Field | Type | Related Object | Relationship Name |\n|-------|------|----------------|-------------------|\n| `s_c__Asset_Id__c` | Lookup | [Asset](asset-object-reference) | Vouchers |\n| `s_c__Order_Item_Id__c` | Lookup | [OrderItem](orderitem-object-reference) | Voucher_OrderItem |\n| `s_c__Product_Id__c` | Lookup | [Product2](product2-object-reference) | Voucher_Product |\n| `s_c__Recipient_Id__c` | Lookup | [Contact](contact-object-reference) | Voucher_Contact |\n| `s_c__Store_Id__c` | Lookup | [s_c__Store__c](store-object-reference) | Voucher_Stores |\n\n## Referenced by\n\nThese objects hold a lookup or master-detail relationship to **Voucher** (`s_c__Voucher__c`). Where the referring record exists to join things together, **Also links to** shows what it connects this object to.\n\n| Object | Field | Type | Relationship Name | Also links to |\n|--------|-------|------|-------------------|---------------|\n| [s_c__Voucher_Log__c](voucher-log-object-reference) | `s_c__Voucher_Id__c` | Lookup | Voucher_Logs | — |\n| [s_c__Voucher_Payment__c](voucher-payment-object-reference) | `s_c__Voucher_Id__c` | MasterDetail | Voucher_Payment_Vouchers | [s_c__Payment__c](payment-object-reference) |"}