Standard Fulfillment Provider
The Standard Fulfillment Provider or CalloutIntegrationProvider is a provider for the order fulfillment usage type. A Fulfillment Designer can configure this provider.
The Standard Fulfillment Provider includes these features.
- Predefined payload with sales transaction items and fulfillment items data, including attribute values
- Fixed integration parameters such as timeouts, credentials, encoding styles, and path. See Integration Definition for Standard Fulfillment Provider for details about the integration parameters.
- Modified requests and responses via Omnistudio Integration Procedures
- Asynchronous interaction pattern. See Asynchronous Interaction Pattern.
- Request and response logging
- Error handling and retry policies. See Fallout Design and Management.
- Request transformation and response handling via integration procedures
To configure the callout settings for Standard Fulfillment Provider, see Configuration Steps.
This example shows a sample request payload structure with data for sales transaction items and fulfillment transaction items. This data is derived using context definition mappings that are defined through settings. See Context Definitions in Order Orchestration.
The step source ID of the fulfillment step, which is either a related order or fulfillment item, determines the payload composition with these considerations.
- If the step source ID is an order item, then all order items of the order are included in the payload under the SalesTransactionItems node.
- If the step source ID is a fulfillment item, then all fulfillment items of the fulfillment order are included in the payload under the FulfillmentTransactionItems node.
- If a product attribute doesn’t have a defined code, then the attribute is excluded from the payload.
Keep these considerations in mind for the request payload.
- The maximum request payload size limit is 12 MB.
- The default timeout period is five seconds, and the maximum timeout period is 120 seconds.
- The encoding style for fulfillment order line items, sales transaction items, and attributes can be configured through the Integration Definition for Standard Fulfillment Provider.
To verify if the callout request was successful, check the status value in the payload. If the status is undefined, then these HTTP codes indicate a successful response.
200201202203204205206302304
If the request isn’t successful, then the fulfillment step state is marked as Fatally Failed.
You can configure these additional features for the integration definition.
-
Select the Save the request and response as attachments to the record checkbox for the integration definition to save request and response payloads as attachments to the Integration Provider Execution record. Content publish limits apply when saving request and response payloads as attachments. Use Shield Platform Encryption for secure storage of sensitive information.
-
Define Input and Output Processors for the Integration Definition for the pre-processing of the standard fulfillment request before you send the request to an external system. See Omnistudio Integration Procedures.
See Create an Integration Definition.
-
Integration Definition for Standard Fulfillment Provider
Use supported attribute values of an integration definition for a Standard Fulfillment Provider to implement features as per your requirement.