My Oracle Support Banner

POST /ccagent/v1/orders/copyOrder API Call Errors Out with "Order duplication failed" (Doc ID 3052554.1)

Last updated on OCTOBER 10, 2024

Applies to:

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

Symptoms

ISSUE :-

POST /ccagent/v1/orders/copyOrder API call errors out.

ERROR

{
  "errorCode": "28320",
  "message": "Order duplication failed",
  "status": "500"
}


STEPS TO REPLICATE

The issue can be reproduced at will with the following steps:

a) POST /ccagent/v1/orders/copyOrder with the payload below,

{
   "orderId": "oXXXXXX",
   "incompleteOrderId":"oXXXXXX",
   "exclude": {
       "commerceItem": [
           "priceInfo",
           "externalPriceDetails"
                   ],
       "order": [
           "approverMessages",
           "approvalSystemMessages",
           "dynamicPropertyMapString",
           "dynamicPropertyMapDouble",
           "dynamicPropertyMapBigString",
           "dynamicPropertyMapLong",
           "quoteInfo",
           "approverIds",
           "submittedDate",
           "originOfOrder",
           "createdByOrderId",
           "priceInfo",
           "externalOrderPriceDetails",
           "cancelReason",
           "shippingGroups",
           "relationships",
           "paymentGroups",
           "abandonmentInfo"
       ]
   }
}


b) Error thrown.


Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.