Product Export via Plugin

Overview

In order to do product export via plugin, 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.

Plugins

Getting available plugins can be done from here:

https://tt.api.sellercloud.com/rest/api/Catalog/Exports/ViaPlugin/Metadata

Current example is for TT server. For your server it will be:

https://{server_id}.api.sellercloud.com/rest/api/Catalog/Exports/ViaPlugin/Metadata

Plugin will be used for doing products export.

Endpoint for exporting via Plugin

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

For your server:

https://{server_id}.api.sellercloud.com/rest/api/Catalog/ViaPlugin

Request

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

Request Model

Field NameTypeDescription
PluginProfileKeystringPlugin key received from above endpoint.
FileFormatstringFile format type of exported data.
ProductIdsArray of stringsList of product SKUs.

Response

  • If user is authenticated then response will be Status Code 200 => OK and a queued job link.
  • If user is not authenticated, then response will be Status Code 401 => Not Valid Token
  • On server response => Status Code 500 => Internal Server Error

Demo in c#

Was this article helpful?

Next
Get Single Vendor