Get Product Conditions

Updated 3 weeks ago ​by nussi

Overview

In order to get information for all product conditions in a single request, then you can consume the endpoint presented in this article. However in order to do that, 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 for getting conditions.

Endpoint

Example for such endpoint for TT server:

https://tt.api.sellercloud.com/rest/api/ProductConditions

For your server endpoint will be:

​https://{your_server_id}.api.sellercloud.com/rest/api/ProductConditions

Request

Information about expected request parameters can be found on swagger UI https://tt/api.sellercloud.com/rest/swagger.

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

Response

  • If user is authenticated, then response will be Status Code 200 => OK and information
{ 
[
{
"ConditionNote": "",
"NewEggDotComConditionID": 0,
"SearsCondition": 0,
"BuyDotComConditionID": 1,
"eBayConditionID": 1000,
"ClientID": 87,
"AmazonConditionID": 11,
"SortOrder": 1,
"ID": 276,
"ConditionName": "New",
"ReverbCondition": -1
},
.......
]
}

  • 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?