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 Service. 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.


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