{"title":"Order Object Reference","slug":"order-object-reference","url":"https://support.storeconnect.com/articles/order-object-reference","url_markdown":"https://support.storeconnect.com/articles/order-object-reference.md","subtitle":null,"summary":"The Salesforce standard Order object, which StoreConnect extends to record web and POS sales. StoreConnect adds lookups for store, contact, outlet, register shift, collection point, the user who assisted the sale, and the originating subscription order.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, Order, Order, api","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `Order` |\n| **Label** | Order |\n| **Plural Label** | Orders |\n| **Type** | Standard Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Abandoned | `s_c__Abandoned__c` | Checkbox | No | The Abandoned__c field is set to true by StoreConnect if the order has a `Checkout_Step__c` of 'customer', 'shipping', 'terms_and_conditions', 'payment', 'failed' and 10 hours have passed since it was set. |\n| Order Assisted by User | `s_c__Assisted_By_User_Id__c` | Lookup ([User](user-object-reference)) | No | If the shopper selects a user from the \"Were you assisted to make this purchase?\" drop down during the last stage of checkout, then this field will be populated by the related User ID |\n| Browser | `s_c__Browser__c` | Text(255) | No | Shows the browser used by the customer. |\n| Cart Reference | `s_c__Cart_Reference__c` | TextArea | No | Used to link a web store Checkout session to its resulting Order. |\n| Checkout Deposit Amount | `s_c__Checkout_Deposit_Amount__c` | Currency(18,2) | No | The deposit amount recorded at order creation when the customer paid a deposit at web checkout, with the balance collected later. Blank when no deposit was used. |\n| Checkout Email | `s_c__Checkout_Email__c` | Email | No | Email added by the user at the point of checkout. In order transactional emails, this email is used. If empty, contact email is used |\n| Checkout Phone | `s_c__Checkout_Phone__c` | Phone | No | Phone added by the user at the point of checkout |\n| Checkout Shipping Email | `s_c__Checkout_Shipping_Email__c` | Email | No | Shipping Email (of recipient) added by user at the point of checkout. Sometimes this is different from ShipToContact's email. |\n| Checkout Shipping Phone | `s_c__Checkout_Shipping_Phone__c` | Phone | No | Phone number (of recipient) added by user at the point of checkout. Sometimes this is different from ShipToContact's phone. |\n| Checkout Step | `s_c__Checkout_Step__c` | Text(255) | No | The `Checkout_Step__c` field shows the step at which the checkout is up to. Valid values for this field are 'open', 'customer', 'shipping', 'terms_and_conditions', 'payment', 'complete', 'quotation_requested' and 'failed'.  Each stage represents the step the order is up to, so a order in state 'payment' means the customer is at (but not complete) on the payment step of the checkout process. |\n| Collection Point | `s_c__Collection_Point_Id__c` | Lookup ([s_c__Collection_Point__c](collection-point-object-reference)) | No | If the shopper picks up this order from a collection point, then that collection point will be referenced here. |\n| Requested Collection Time | `s_c__Collection_Time__c` | DateTime | No | The time the customer requested to pickup the item during checkout |\n| Contact Email | `s_c__Contact_Email__c` | Formula (Text) | No | This is a forumula field mirroring the `BillToContact.Email` field to be used in the Order Layout. |\n| Contact | `s_c__Contact_Id__c` | Lookup ([Contact](contact-object-reference)) | No | The standard Contact object that this order belongs to. |\n| Contact Mobile Phone | `s_c__Contact_Mobile_Phone__c` | Formula (Text) | No | This is a forumula field mirroring the `BillToContact.MobilePhone` field to be used in the Order Layout. |\n| Contact Phone | `s_c__Contact_Phone__c` | Formula (Text) | No | This is a forumula field mirroring the `BillToContact.Phone` field to be used in the Order Layout. |\n| Country | `s_c__Country__c` | Text(255) | No | Shows country of the customer. |\n| Customer Notes | `s_c__Customer_Notes_Long__c` | LongTextArea(10000) | No | Holds any notes supplied by the customer during checkout on the payment page of the checkout process. |\n| Device Type | `s_c__Device_Type__c` | Text(255) | No | Shows the device type used by the customer, eg Desktop/Mobile/Tablet. |\n| Ip Address | `s_c__Ip_Address__c` | Text(255) | No | Shows the IP Address of the customer. |\n| Language | `s_c__Language__c` | Text(255) | No | Shows the system language of the customer. |\n| Location | `s_c__Location__c` | Location | No | Shows the latitude and longitude of the customer. |\n| Memo | `s_c__Memo__c` | Text(80) | No | A short free-text note on this order. This field could be renamed and used, for example, to record table numbers. |\n| Outlet | `s_c__Outlet_Id__c` | Lookup ([s_c__Outlet__c](outlet-object-reference)) | No | For POS: The Outlet that created this Order (if applicable). For Web: the outlet where the stock comes from (which can also dictate pricing). |\n| POS Order Type | `s_c__POS_Order_Type__c` | Text(255) | No | The type of this Order, for example Layby. |\n| Payment Link | `s_c__Payment_Link__c` | Formula (Text) | No | Formula field providing a full link to the payment page for this Order. |\n| Platform | `s_c__Platform__c` | Text(255) | No | Shows the computer platform of the customer, eg Mac/Windows. |\n| Register Shift | `s_c__Register_Shift_Id__c` | Lookup ([s_c__Register_Shift__c](register-shift-object-reference)) | No | The Register Shift that created this order (if applicable). |\n| Screen Resolution | `s_c__Screen_Resolution__c` | Text(255) | No | Shows the screen resolution of the computer used by the customer. |\n| Send Confirmation Emails | `s_c__Send_Confirmation__c` | Checkbox | No | If true, send emails to the contact about this order as defined in the `Store__c.Transactional_Emails` association. |\n| Send POS Receipt Email | `s_c__Send_POS_Email__c` | Checkbox | No | If true, send a POS receipt email to the checkout email address as defined in the `Store__c.Transactional_Emails` association. |\n| Shipping Method Selected at Checkout | `s_c__Shipping_Method__c` | Text(255) | No | The shipping method selected by the customer during checkout. |\n| Shipping Notes | `s_c__Shipping_Notes__c` | LongTextArea(10000) | No | Holds any shipping notes supplied by the customer during checkout. |\n| Store | `s_c__Store_Id__c` | Lookup ([s_c__Store__c](store-object-reference)) | No | This represents the `Store__c` that this order was placed on. This also defines which set of Transactional Emails are sent to this order based on the `Store__c.Transactional_Emails` relationship. |\n| Submitted Date | `s_c__Submitted_Date__c` | DateTime | No | Contains the date when the order is created. Defaults to date/time now. Can be updated in case it needs to be altered. |\n| Original Subscription Order | `s_c__Subscription_Order_Id__c` | Lookup ([Order](order-object-reference)) | No | The original Order that is the source of this Order. When a subscription is renewed, it creates a new order object, which is then related back to the original subscription via this field. |\n| Test Order | `s_c__Test_Order__c` | Checkbox | No | A true value indicates that this order was placed as a Test Order. An order is a test order if the email address used during the order matches one of the test email address set via the `test_checkout_email_addresses` Store Variable. There should be a limited number of these. |\n| Timezone | `s_c__Timezone__c` | Text(255) | No | Shows the timezone of the customer. |\n| Total Earn Points Amount | `s_c__Total_Earn_Points_Amount__c` | Number(18,0) | No | The total number of points earned with this Order. |\n| Total Points Amount | `s_c__Total_Points_Amount__c` | Number(18,0) | No | The total number of points used for purchasing this Order. |\n| Total Taxes | `s_c__Total_Tax_Amount__c` | Currency(18,4) | No | The total taxes billed as part of this order, kept up to date as the order is changed. |\n| User Agent | `s_c__User_Agent__c` | Text(255) | No | Shows the customer's browser user agent string. |\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__Assisted_By_User_Id__c` | Lookup | [User](user-object-reference) | Assisted_Orders |\n| `s_c__Collection_Point_Id__c` | Lookup | [s_c__Collection_Point__c](collection-point-object-reference) | Collected_Orders |\n| `s_c__Contact_Id__c` | Lookup | [Contact](contact-object-reference) | Orders |\n| `s_c__Outlet_Id__c` | Lookup | [s_c__Outlet__c](outlet-object-reference) | Outlet_Orders |\n| `s_c__Register_Shift_Id__c` | Lookup | [s_c__Register_Shift__c](register-shift-object-reference) | Orders |\n| `s_c__Store_Id__c` | Lookup | [s_c__Store__c](store-object-reference) | Orders |\n| `s_c__Subscription_Order_Id__c` | Lookup | [Order](order-object-reference) | Generated_Subscription_Orders |\n\n## Referenced by\n\nThese objects hold a lookup or master-detail relationship to **Order** (`Order`). 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__Cart__c](cart-object-reference) | `s_c__Order_Id__c` | Lookup | Cart_Orders | — |\n| [s_c__Discount_Credit__c](discount-credit-object-reference) | `s_c__Order_Id__c` | Lookup | Discount_Credits | [s_c__Discount__c](discount-object-reference) |\n| [s_c__Form_Submission__c](form-submission-object-reference) | `s_c__Order_Id__c` | Lookup | Form_Submission_Order | — |\n| [Order](order-object-reference) | `s_c__Subscription_Order_Id__c` | Lookup | Generated_Subscription_Orders | — |\n| [s_c__Order_Campaign__c](order-campaign-object-reference) | `s_c__Order_Id__c` | MasterDetail | Order_Campaigns | — |\n| [s_c__Payment__c](payment-object-reference) | `s_c__Order_Id__c` | Lookup | Payments | — |\n| [s_c__Promotion_Credit__c](promotion-credit-object-reference) | `s_c__Order_Id__c` | Lookup | Order_Promotion_Credits | [s_c__Promotion_Action__c](promotion-action-object-reference), [s_c__Promotion__c](promotion-object-reference) |\n| [s_c__Promotion2_Usage__c](promotion2-usage-object-reference) | `s_c__Order_Id__c` | Lookup | Promotion2_Usages_Order | — |\n| [s_c__Reward_Usage__c](reward-usage-object-reference) | `s_c__Order_Id__c` | Lookup | Reward_Usages_Order | [s_c__Promotion2__c](promotion2-object-reference), [s_c__Reward__c](reward-object-reference) |\n| [s_c__Shipment__c](shipment-object-reference) | `s_c__Order_Id__c` | Lookup | Shipments | — |\n| [s_c__Subscription__c](subscription-object-reference) | `s_c__Delinquent_Order_Id__c` | Lookup | Delinquent_Subscription_Order | — |\n| [s_c__Subscription__c](subscription-object-reference) | `s_c__Order_Id__c` | Lookup | Subscription_Order | — |\n| [s_c__Subscription__c](subscription-object-reference) | `s_c__Renewal_Order_Id__c` | Lookup | Subscription_Renewal_Order | — |\n| [s_c__Subscription_Change__c](subscription-change-object-reference) | `s_c__Order_Id__c` | Lookup | Subscription_Changes_Order | — |\n\n\u003c!-- DIAGRAM OPPORTUNITY\n     This object is a hub: 7 outbound and 14 inbound relationships. An entity-relationship diagram grouping these by functional area would let a reader see its place in the model without reading two long tables.\n     Deferred to the diagram phase; remove this comment when a diagram is added. --\u003e"}