Likewize
API Services

Global Trade Platform API Services

Core API services that power the Global Trade Platform's functionality.

GetTripPrice API

The GetTripPrice API returns pricing details for a specific trade transaction. It calculates the value based on various factors including condition, specifications, and market trends.

Key Features:

  • Real-time price calculation
  • Condition-based valuation
  • Market trend adjustments
  • Regional pricing support

Response:

Returns full price details including base value, adjustments, and final price.

GetTripsQuestions API

The GetTripsQuestions API returns a set of questions that need to be answered for a specific trade transaction. These questions help determine the condition and value of the item being traded.

Key Features:

  • Dynamic question generation
  • Product-specific question sets
  • Conditional question flows
  • Multi-language support

Response:

Returns a list of questions with possible answers and validation rules.

TradeStatusUpdate API

The TradeStatusUpdate API allows you to update the status of a trade transaction and returns the updated status information. It's used to track the progress of trades through the system.

Key Features:

  • Status tracking and history
  • Event-based notifications
  • Automated workflow triggers
  • Audit logging

Response:

Returns updated trade status with timestamp and change details.

SubmitAssessment API

The SubmitAssessment API is used to submit detailed information about an item being traded. It calculates the post-inspection value based on the submitted details and returns this information.

Key Features:

  • Comprehensive assessment data collection
  • Automated valuation algorithms
  • Photo and document attachment support
  • Validation and verification checks

Response:

Returns calculated inspection value and assessment details.

API Authentication

All GTP APIs require authentication using OAuth 2.0 tokens. The authorization flow starts with obtaining authorization, then getting an authorization token. This token is then used for all subsequent API calls.

Authentication Steps:

  1. Obtain authorization from the authorization server
  2. Exchange the authorization code for an access token
  3. Include the access token in the Authorization header of all API requests
  4. Refresh the token when it expires