---
schema_version: "1"
id: 9f9a2abc0c08fd058cca014212cde0816d79beda01d383fefdbc3e7bb29c0272
title: RetailStoreGroupAssignment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/sforce_api_objects_retailstoregroupassignment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_objects_retailstoregroupassignment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fb4a7cea07286cbfe43ec9792955938b057bdce722e575e911a3bffeaeb2b61d
description: Represents a junction between a retail store and a retail store group. This object is available in API version 52.0 and later.
---
# RetailStoreGroupAssignment

Represents a junction between a retail store and a retail store group. This object is available in API version 52.0 and later.

## Supported Calls

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

## Fields

### CurrencyIsoCode

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Currency used for a retail store.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user referenced this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user viewed this record.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: Unique identifier for the store.

### PriorityOrder

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The order in which a store and store group assignment takes precedence over another assignment of the same store to another store group.

### RetailLocationGroupId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The retail store group associated with the record.
    
    This is a relationship field.
- **Relationship Name**: RetailLocationGroup
- **Relationship Type**: Lookup
- **Refers To**: RetailLocationGroup

### RetailStoreId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The retail store associated with the record.
    
    This is a relationship field.
- **Relationship Name**: RetailStore
- **Relationship Type**: Lookup
- **Refers To**: RetailStore

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

- **[RetailStoreGroupAssignmentFeed](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")**: Feed tracking is available for the object.
- **[RetailStoreGroupAssignmentHistory](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")**: History is available for tracked fields of the object.