Get Single Order

Updated 1 week ago ​by nussi

Overview

In order to retrieve metadata of an order, you must:

  • Be authenticated user

Information how you can authenticate can take from: Authentication

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

  • Have valid ID of an existing order

Endpoint

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

Request

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

Parameter

Data Type

Description

Is Required

id

integer

ID of existing order

true

Example: https://tt.api.sellercloud.com/rest/api/order/get/581

Response

  • If user is authenticated and provides a valid ID of an order, then response will be Status Code 200 => OK and order metadata in JSON format
  • If user is not authenticated, then response will be Status Code 401 => Not Valid Token
  • On server response => Status Code 500 => Internal Server Error

Attachments


How did we do?