---
schema_version: "1"
id: 700f8f586adab28d86f20c7c39540dcddad1bc8b5cbae5fa17da97282140d40e
title: WebStoreShare
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_webstoreshare.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_webstoreshare.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0259ec5580a577e84fe18ca88daef38f392a7ae5b98fb78df913cdf944115621
description: Represents a sharing entry on a B2B or D2C store. This object is available in API version 45.0 and later.
---
# WebStoreShare

Represents a sharing entry on a B2B or D2C store. This object is available in API version 45.0 and later.

## Supported Calls

create(), delete(),, describeSObjects(), query(), retrieve(), update(), upsert()

## Special Access Rules

Your Salesforce admin can manage this object using standard Salesforce sharing rules and CRUD access for the WebStore.

## Fields

| Field | Details |
| --- | --- |
| AccessLevel | 
Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

A value that represents the type of sharing allowed.

Possible values are:

- All—Owner
- Edit—Read/Write
- Read—Read Only





 |
| ParentId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The ID of the parent folder for the record.

This field is a relationship field.

Relationship Name

Parent

Refers To

WebStore



 |
| RowCause | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Restricted picklist, Sort

Description

Reason that this sharing entry exists. If you’re creating a sharing entry, the only permitted value is Manual. If no value is specified, the field defaults to Manual. All other RowCause values are read-only. After the sharing entry is created, this field can’t be edited.

Possible values are:

- ALMAssignmentSharing—Actionable List Member Sharing Rule
- CompliantDataSharing—Compliant Data Sharing
- GuestParentImplicit—Associated guest user sharing
- GuestPersonImplicit—Associated Guest User Sharing
- GuestRule—Guest User Sharing Rule
- ImplicitChild—Account Sharing
- ImplicitParent—Associated record owner or sharing
- ImplicitPerson—Person Contact
- LearningAssignment—Learning Assignment Share
- LearningAssignmentImplicit—Learning Assignment Implicit Share
- LearningItemAssignment—Learning Item Assignment Share
- Manual—Manual Sharing
- MfgTargetShare—Manufacturing Target Sharing Rule
- ObligationAssigneeShare—Obligation Assignee Share
- Owner
- Rule—Sharing Rule
- SharingRecordCollection—Record Collection
- SurveyShare—Survey Sharing Rule
- Team—Sales Team
- Territory—Territory Assignment Rule
- Territory2AssociationManual—Territory Manual
- Territory2Forecast—Territory assignment for forecasting and reporting
- Territory2SplitsForecast—Territory Splits Share
- TerritoryManual—Territory Manual
- TerritoryRule—Territory Sharing Rule





 |
| UserOrGroupId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

ID of the User or Group that has been given access to the User. This field can’t be updated.

This field is a polymorphic relationship field.

Relationship Name

UserOrGroup

Refers To

Group, User



 |