exportAssets

get

/ccadmin/v1/asset/export

Export Assets. Export catalog items as a csv file. There is no json response for this request. The browser will download the csv file directly from the server.

Request

Supported Media Types
Query Parameters
  • Comma-separated list of catalog IDs to which the assets are associated to. Blank value indicates assets from all catalogs. This parameter is ignored when either the type=catalog or ids parameter is not null.
  • Comma-separated list of asset IDs to export. Duplicates and non-matching IDs are ignored.
  • Boolean value indicating whether to include all items (of matching type) that are descendants of Unassigned Collections. Generally, such items are not associated with any catalog but it is not always true. This parameter is ignored when ids parameter is not null. Default value is true.
  • Site supported language (locale code) in which the items should be exported.
  • Offset in minutes between the client time zone and UTC time.
  • Case-sensitive. One of "catalog", "Product", "Collection", or "Variant", indicating the type of asset that should be exported.
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : exportAssets_response
Show Source

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |36010|Invalid value [ collections ] for parameter: type.| |13036|The language does not match any supported language for the site. Please select another language and try again.| |200105|Catalog NonExistingCatalogId not found in the repository| |200104|Blank catalog id passed|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top