---
schema_version: "1"
id: a7e1b9f4bdc98ce7a68f8774f7f7d7b19d1834a137aea80be405f522e24d9008
title: StoreAssortment
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/advanced-orders-for-telesales/references/standard-objects/store-assortment.md
canonical_url: https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/advanced-orders-for-telesales-objects/store-assortment.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 89a3340d2bc0e5329a3f0a41e35e3ba2d71ed8ac36eab1be8677daa839e526f4
products:
  - Advanced Orders for Telesales Developer Guide
  - Industries Developer Documentation
---
# StoreAssortment

Represents the assignment of an assortment to a specific retail store, account, or retail location group, defining the active date range and how the assignment was made (automated or direct). Used by Consumer Goods Cloud retail execution to determine which product assortment applies at a given store. This object is available in API version 68.0 and later.

## Supported Calls

`create()`, `delete()`, `describeLayout()`, `describeSObjects()`, `getDeleted()`, `getUpdated()`, `query()`, `retrieve()`, `search()`, `undelete()`, `update()`, `upsert()`

## Special Access Rules

Available only in orgs with Consumer Goods Cloud or Retail Execution features enabled.

## Fields

### AccountId

**Type:** reference

**Properties:** Create, Filter, Group, Nillable, Sort, Update

**Description:** The account (store or retail customer) that this assortment assignment applies to. This field is a relationship field.

**Relationship Name:** Account

**Refers To:** Account

### AssignmentType

**Type:** picklist

**Properties:** Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

**Description:** Indicates how the assortment was assigned to the store. Possible values are AutomatedAssignment—Automated Assignment and DirectAssignment—Direct Assignment.

### AssortmentId

**Type:** reference

**Properties:** Create, Filter, Group, Sort

**Description:** The assortment being assigned to the store. This field is a relationship field. It's the master in a master-detail relationship.

**Relationship Name:** Assortment

**Refers To:** Assortment

### CurrencyIsoCode

**Type:** picklist

**Properties:** Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

**Description:** The ISO code for the currency used in any currency amount fields on this record. Possible values are: AED (UAE Dirham), USD (U.S. Dollar), and every other active currency ISO code configured for the org. The default value is USD.

### EndDate

**Type:** date

**Properties:** Create, Filter, Group, Nillable, Sort, Update

**Description:** The date this assortment assignment ends being active at the store.

### LastReferencedDate

**Type:** dateTime

**Properties:** Filter, Nillable, Sort

**Description:** The timestamp when the current user last accessed this record or a related record.

### LastViewedDate

**Type:** dateTime

**Properties:** Filter, Nillable, Sort

**Description:** The timestamp when the current user last viewed this record.

### Name

**Type:** string

**Properties:** Autonumber, Defaulted on create, Filter, idLookup, Sort

**Description:** The auto-generated name (record identifier) of this store assortment assignment.

### RetailLocationGroupId

**Type:** reference

**Properties:** Create, Filter, Group, Nillable, Sort, Update

**Description:** The retail location group that this assortment assignment applies to. This field is a relationship field.

**Relationship Name:** RetailLocationGroup

**Refers To:** RetailLocationGroup

### RetailStoreId

**Type:** reference

**Properties:** Create, Filter, Group, Nillable, Sort, Update

**Description:** The retail store that this assortment assignment applies to. This field is a relationship field.

**Relationship Name:** RetailStore

**Refers To:** RetailStore

### StartDate

**Type:** date

**Properties:** Create, Filter, Group, Sort, Update

**Description:** The date this assortment assignment starts being active at the store.

## 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.

- [StoreAssortmentChangeEvent](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/change-event.md): Change events are available for the object.
- [StoreAssortmentFeed](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/feed.md): Feed tracking is available for the object.
- [StoreAssortmentHistory](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/history.md): History is available for tracked fields of the object.
- [StoreAssortmentOwnerSharingRule](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/owner-sharing-rule.md): Sharing rules are available for the object.
- [StoreAssortmentShare](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/share.md): Sharing is available for the object.
