Adding custom fields to CreateOrder Endpoint
(Doc ID 2207395.1)
Last updated on DECEMBER 16, 2019
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)
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document