Create Basic Catalog Export

Updated 4 weeks ago ​by nussi

Overview

In order to perform a basic type of catalog data export, you must:

  • Be authenticated user

For information on how you can authenticate, see: Authentication

As soon as you do authentication and receive a valid token, it needs to be passed on the call to the server.

Endpoint

Example for such endpoint for TT server is https://tt.api.sellercloud.com/rest/api/Catalog/Exports/Basic

Request

  • Method Type: HttpPost
  • Authorization: Use Bearer Token + token received from token authentication
  • Header info: Content-Type: application/json

Request Model

Field Name

Type

Description

StandardExportKind

string

Type of the basic export to be performed. Use the value of "Key" or "Value" fields from the response of getting basic exports metadata.

ProductIds

Array of strings

Pass the product SKUs to export data for as an array of strings.

Response

  • If user is authenticated then response will be Status Code 200 => OK.
    Some of the exports will generate a queued job and the response model will contain the queued job link.
    For other types of basic exports the response contains the name of the generated file and its contents in the form of a Base64 encoded string. From the encoded string you can generate the file which contains exported product data.
  • If user is not authenticated, then response will be Status Code 401 => Not Valid Token
  • On server response => Status Code 500 => Internal Server Error


How did we do?