Adding custom fields to CreateOrder Endpoint
Last updated on MAY 18, 2018
Applies to:Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.
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)
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