Share via


Commerce Foundation StoreProfile CommerceUpdate

The StoreProfile Commerce Server 2009 commerce entity provides update operation capability for the Commerce Server StoreObject profile. The StoreProfile Commerce Server 2009 commerce entity supports the delete operation via the CommerceUpdateOperation_StoreProfile message handler definition.

Syntax

        var updateStoreProfile = new CommerceUpdate<CommerceEntity>("StoreProfile");
      

Operation Sequence Components

Operation Sequence Component

Description

StoreProfileLoader

Responsible for populating the operation cache with the Commerce Server profile objects

StoreProfileAddressesProcessor

Responsible for performing operations on addresses for a store

StoreProfileCommitter

Responsible for executing create and update operations

StoreProfileResponseBuilder

Responsible for creating the response for operations targeting a store profile

StoreProfileAddressesResponseBuilder

Responsible for populating an operation response based on related address profile

Related Operation

Description

CommerceCreateRelatedItem<Address>

(Address)

Creates and adds a new address to the system. At a minimum, you need to specify the following information when creating an address:

PropertyDescription
AddressNameA user friendly name for this address.
Line1The streets address, PO Box, and so on.
StateProvinceCodeThe code for the state or province. For example, ON for Ontario.
ZipPostalCodeThe zip code or postal code.
CountryRegionCodeThe code for the country. For example, CA for Canada.

CommerceUpdateRelatedItem<Address> (Address)

Updates an address to the system.

CommerceUpdateRelatedItem<Address> (Address)

Deletes an address to the system.

CommerceCreateRelatedItem<Address>

(PreferredAddress)

Creates and adds a new preferred address to the system. At a minimum, you need to specify the following information when creating an address:

PropertyDescription
AddressNameA user friendly name for this address.
Line1The streets address, PO Box, and so on.
StateProvinceCodeThe code for the state or province. For example, ON for Ontario.
ZipPostalCodeThe zip code or postal code.
CountryRegionCodeThe code for the country. For example, CA for Canada.

CommerceUpdateRelatedItem<Address> (PreferredAddress)

Updates a preferred address to the system.

Exceptions

Microsoft Multi-Channel Commerce Foundation can throw the following exception during this operation:

  • FaultException<GeneralOperationFault>

See Also

Other Resources

Commerce Foundation StoreProfile

CommerceUpdate