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. It can only reference legacy catalogs (version 1) and independent catalogs (version 2).
  • Boolean value indicating whether to combine the q parameter (SCIM query) with other parameters to further narrow down the results returned. Default value is false.
  • Filtered view (version 3) catalog ID. It allows to further narrow down the assets that are returned to those that are associated to the specified filtered view catalog. It can be used only when type is either Product or Variant and catalogIds parameter points to a single valid independent(version 2) catalog. Default value is blank.
  • 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.
  • SCIM query. If SCIM query is provided then other query parameters, such as ids, catalogIds, includeUnassignedCategoriesSubtree are ignored unless combineWithSCIM=true
  • 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