Enhancement Request: Add The Ability To Update Product.childSKU Images Via importProcess

(Doc ID 2416545.1)

Last updated on JULY 13, 2018

Applies to:

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

Goal

[Request]
The 'Extending Oracle Commerce Cloud' guide Includes a section for 'Bulk Export and
Import', including the ability to import (or modify) a Product via a JSON
file.

https://docs.oracle.com/cd/E95861_01/Cloud.18B/ExtendingCC/html/s2808productspecificexportandimportfi01.html

https://docs.oracle.com/cd/E95861_01/Cloud.18B/ExtendingCC/html/s2808skuspecificexportandimportfields01.html

This feature is helpful to customers who would like to integrate Oracle
Commerce Cloud with an external service \ application and update properties
on a Product or SKU. However, currently the importProcess --does not-- allow
one to import a Product json file that updates the childSKU.images property
with a new set of images for that SKU. In order to associate an image to a
SKU, one has to first upload the image via /ccadmin/v1/files, and then
associate the image to the SKU via PUT /ccadmin/v1/skus/<sku_id>. Ideally, it
would helpful to have,

<> One should be able to use importProcess with a <PRODUCT>.json to update
properties on childSKUs, including the path, metadata, repositoryId, name,
url properties on the SKUs images property.

<> In addition one should be able query the Product via /ccadmin/v1/products,
and verify the properties on the childSKU was successfully added or updated
including the path, metadata, repositoryId, name, url properties on the image
property.

EXAMPLE
"images": [{
"metadata": {},
"name": "/products/abc.jpg",
"path": "/products/abc.jpg",
"tags": [],
"url": ""
}, {
"metadata": {},
"name": "/products/efg.jpg",
"path": "/products/efg.jpg",
"tags": [],
"url": ""
}, {
"metadata": {},
"name": "/products/123.jpg",
"path": "/products/123.jpg",
"tags": [],
"url": ""
}
],

<> In addition, one should be able to query the SKU directly via
/ccadmin/v1/skus, and see that the path, metadata, repositoryId, name, url
properties on the image property was successfully added or updated
successfully.

[Workaround]
Use PUT /ccadmin/v1/skus/<sku_id> to associate the Image to the SKU

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