- Fetches the store ID from the session.
- Checks the store associate authorization.
- Fetches and validates the store’s Business Manager credentials for
login on behalf from the session.
- If the store Business Manager credentials are invalid, marks the
store credentials as invalid. Both the store associate authorization and
the store Business Manager credentials must be valid for a successful
Output Parameters.
- Username and password are the store (login agent) credentials that
are set up as Business Manager credentials. There is one set of
credentials per store. The Commerce Cloud Endless Aisle reference app saves this
information in the app's preferences.
Location
Pipeline: EAAccount
Sub-pipeline:
AgentLogin
ISML (JSON Output Parameters): Output
Parameters/eaagentloginjson.isml
Output Parameters (Success)
- permissions
- allowItemPriceOverrideByAmount
- allowItemPriceOverrideByPercent
- allowItemPriceOverrideFixedPrice
- allowLOBO
- allowShippingOverrideByAmount
- allowShippingOverrideByPercent
- allowShippingOverrideFixed
- itemPriceOverrideMaxPercent
- shippingPriceOverrideMaxPercent
- allowManagerOverrides
- allowLOBO
- associateInfo
- firstName
- lastName
- permissionGroupId
Output Parameters (Error)