Home > @vsf-enterprise/sap-commerce-webservices-sdk > ExportApi > getExportedProducts

ExportApi.getExportedProducts() method

Used for product export. Depending on the timestamp parameter, it can return all products or only products modified after the given time. Get a list of product exports.

Signature:

getExportedProducts(baseSiteId: string, catalog?: string, currentPage?: number, fields?: string, pageSize?: number, timestamp?: string, version?: string, options?: any): Promise<import("axios").AxiosResponse<ProductList>>;

Parameters

Parameter Type Description
baseSiteId string Base site identifier
catalog string The catalog to retrieve products from. The catalog must be provided along with the version.
currentPage number The current result page requested.
fields string Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL
pageSize number The number of results returned per page.
timestamp string When this parameter is set, only products modified after the given time will be returned. This parameter should be in ISO-8601 format (for example, 2018-01-09T16:28:45+0000).
version string The catalog version. The catalog version must be provided along with the catalog.
options any Override http request option.

Returns:

Promise<import("axios").AxiosResponse<ProductList>>

Exceptions

{RequiredError} ExportApi