How to set 'continueOnMissingProduct' on the Commerce API GET /ccadmin/v1/products (listProducts)
Summary: When running the GET /ccadmin/v1/products API, the 'continueOnMissingProduct' does not function. This is Boolean which we are setting to true. API response is always '400 Bad Request'; error code "20031". this is indicating that one of the products is invalid or non-existent. Which this parameter should allow the APi to continue, as
Code Snippet (add any code snippets that support your topic, if applicable):
aXXXXXXXc1prd-admin.occa.ocs.oraclecloud.com/ccadmin/v1/products?productIds=INF146771_0006,INF146772_0004xxx,INF146774_0001,INF146775_0001&continueOnMissingProduct=true
NOTE: where INF146772_0004xxx does not exist as a product
Response:
{ "errorCode": "00000000", "message": "Error while retrieving the products", "errors": [ { "errorCode": "20031", "message": "Product Id INF146772_0004xxx is invalid or non-existent.", "moreInfo": "INF146772_0004xxx", "status": "400" } ], "status": "400"}