StoreIntegratedService Integration and ServiceProviderType values
Key Takeaway
StoreIntegratedService connects a store to an integration. For a registered Apex service, Integration holds the RegisteredExternalService record's ID or [ServiceProviderType]__[DeveloperName], not the Apex class.
StoreIntegratedService is the object that connects a B2B Commerce store to the integration it should use for a checkout service such as pricing, inventory, tax, shipping or payment. Its ServiceProviderType field says what kind of service it is. Its Integration field says which integration provides it. A developer builds the integration (for example, an Apex class), registers it, and then uses StoreIntegratedService to map it to a specific store. The right field values depend on the kind of integration.
What a mapping record holds
A StoreIntegratedService record has three required fields:
StoreId: the unique ID of the store.ServiceProviderType: the type of integration service provider.Integration: which integration to use.
ServiceProviderType is a restricted picklist with these values: Flow, Inventory, Payment, Price, Promotions, Shipment and Tax. Promotions is available in API version 53.0 and later.