{"title":"Permitted Restricted Product Object Reference","slug":"permitted-restricted-product-object-reference","url":"https://support.storeconnect.com/articles/permitted-restricted-product-object-reference","url_markdown":"https://support.storeconnect.com/articles/permitted-restricted-product-object-reference.md","subtitle":null,"summary":"Provides authorization to a customer to purchase a restricted product.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, Permitted Restricted Product, s_c__Permitted_Restricted_Product__c, api","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\nProvides authorization to a customer to purchase a restricted product. Approval can be scoped to an individual product via the `Product` lookup, or to an entire product category via the `Product Category` lookup — the latter grants access to all restricted products within that category without requiring a separate record per product.\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__Permitted_Restricted_Product__c` |\n| **Label** | Permitted Restricted Product |\n| **Plural Label** | Permitted Restricted Products |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Account | `s_c__Account_Id__c` | Lookup ([Account](account-object-reference)) | No |  |\n| Approved From | `s_c__Approved_From__c` | DateTime | No |  |\n| Approved Quantity | `s_c__Approved_Quantity__c` | Number(7,0) | No | How many items of the product a buyer is allowed to purchase. If a number has not been set or set to 0, 'Unlimited' should be checked. |\n| Approved Until | `s_c__Approved_Until__c` | DateTime | No |  |\n| Is Valid Approval? | `s_c__Is_Valid_Approval__c` | Formula (Checkbox) | No | Indicates whether restricted product is approved to be purchased for customer. To be permitted, current date/time must be within specified date range and purchased quantity must not exceed approved quantity unless unlimited is checked.  Primarily for system/internal use. |\n| Product Category | `s_c__Product_Category_Id__c` | Lookup ([s_c__Product_Category__c](product-category-object-reference)) | No | When set, this approval applies to all restricted products within the specified category. Use as an alternative to the Product lookup to grant category-level access without needing individual per-product approval records. |\n| Product | `s_c__Product_Id__c` | Lookup ([Product2](product2-object-reference)) | No |  |\n| Purchased Quantity | `s_c__Purchased_Quantity__c` | Number(7,0) | No | The number of items of this product purchased by this buyer (Account).  Based on the quantity sum of all non-voided permitted restricted items. |\n| Store | `s_c__Store_Id__c` | Lookup ([s_c__Store__c](store-object-reference)) | No |  |\n| Total Item Quantity | `s_c__Total_Item_Quantity__c` | Summary | No | Aggregate sum of all non-void permitted restricted items quantity For system internal use only. |\n| Unlimited | `s_c__Unlimited__c` | Checkbox | No | If checked, a buyer is allowed to purchase an unlimited number of items of the product. |\n\n## Relationships\n\n| Field | Type | Related Object | Relationship Name |\n|-------|------|----------------|-------------------|\n| `s_c__Account_Id__c` | Lookup | [Account](account-object-reference) | Account_Permitted_Restricted_Products |\n| `s_c__Product_Category_Id__c` | Lookup | [s_c__Product_Category__c](product-category-object-reference) | Permitted_Restricted_Products |\n| `s_c__Product_Id__c` | Lookup | [Product2](product2-object-reference) | Permitted_Restricted_Accounts |\n| `s_c__Store_Id__c` | Lookup | [s_c__Store__c](store-object-reference) | Permitted_Restricted_Products |\n\n## Referenced by\n\nThese objects hold a lookup or master-detail relationship to **Permitted Restricted Product** (`s_c__Permitted_Restricted_Product__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__Permitted_Restricted_Item__c](permitted-restricted-item-object-reference) | `s_c__Permitted_Restricted_Product_Id__c` | MasterDetail | Permitted_Restricted_Items | [OrderItem](orderitem-object-reference) |"}