Newer Version Available

This content describes an older version of this product. View Latest

WebStoreNetwork

Represents the relationship between a web store and an experience site. This object is available in API version 49.0 and later.

Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

Special Access Rules

You must have store admin permission to access this object.

Fields

Field Details
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Name of the web store network.
NetworkId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
ID of the experience site associated with the web store.
This field is a relationship field.
Relationship Name
Network
Relationship Type
Lookup
Refers To
Network
WebStoreId
Type
reference
Properties
Create, Filter, Group, Sort
Description
ID of the web store associated with the experience site.
This field is a relationship field.
Relationship Name
WebStore
Relationship Type
Lookup
Refers To
WebStore

Usage

When you copy web store data between a sandbox and production, or between sandboxes, you can programmatically associate the copy with a different site by updating the corresponding WebStoreNetwork record. You can even change the association while the store is active. The site must use a template that’s compatible with the web store type, and the site can’t be associated with a store. Otherwise, you can change the association only by editing the web store in the UI.