Like an event webhook, a function webhook sends a JSON notification to a URL you specify each time something happens on your store. For example, you can configure the Shipping Calculator webhook to send a notification to an external shipping service every time a shopper requests shipping costs for an order.

While an external system only sends an HTTP status code in response to an event webhook POST request, a system must respond to a function webhook POST request with information in JSON format. You must implement the external system’s API to write code that processes the request and sends a response to Oracle Commerce Cloud. For example the Shipping Calculator webhook expects a set of shipping methods and their prices, which are displayed to the shopper who has requested them.

Oracle Commerce Cloud includes the following function webhooks:

Webhook

Description

Shipping Calculator

Integrates shipping services (such as UPS, USPS, or FedEx) into your store. See Integrate with External Shipping Calculators for more information.

Credit Card Payment

Integrates custom payment gateways that let your store accept credit card payments. See Create a Credit Card Payment Gateway Integration for more information.

Generic Payment

Integrates custom payment gateways that let your store accept various payment types. See Create a Generic Payment Gateway Integration for more information.

External Price Validation

Validates prices with an external pricing system. See Integrate with an External Pricing System for more information.

External Tax Calculation

Integrates tax processors that calculate sales tax in the shopping cart. See Configure Tax Processors for more information.

Order Approvals

Integrates systems that determine if an order placed on an account-based store requires approval. See Integrate with an external system for order approvals for more information.

External Price Group and Catalog

Integrates systems that determine which catalog and price group a shopper should use to create orders. See Assign Catalogs and Price Groups to Shoppers for more information.


Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices