Adding custom fields to CreateOrder Endpoint (Doc ID 2207395.1)

Last updated on DECEMBER 20, 2016

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Goal

On : NA version, Storefront

The createOrder endpoint doesn't contain custom fields.

According to the documentation available from 16.4 release [http://docs.oracle.com/cd/E77817_01/Cloud.16-4/ExtendingCC/html/s1203returncustompropertiesinthewebho01.html], in the section "Return custom properties in the webhook response":

"The webhook can also return an externalProperties object that specifies a list of the properties in the additionalProperties object that should be returned to the storefront in the response to the original createOrder request."

However, after adding the "externalProperties" field into the webhook response the response of createOrder endpoint doesn't contain the two fields we specified in the webhook response payload (the "boletoUrl" and "paymentType" fields)
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms