Delete Order

Overview

In order to delete existing 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 deleting an order.

  • Have valid ID of an existing order

Endpoint

Example for such endpoint for TT server is:

https://tt.api.sellercloud.com/rest/api/Orders/{id}

Example for this endpoint for your server is:

https://{your_server_id}.api.sellercloud.com/rest/api/Orders/{id}

Request

  • Method Type: HttpDelete
  • Authorization: Use Bearer Token + token received from token authentication
  • Header info: Content-Type: application/json
  • Body info: ID of the inventory that will be deleted

Parameter

Data Type

Description

Is Required

id

string

ID of existing order

true

Response

  • If user is authenticated and provides a valid ID of an inventory, then response will be Status Code 200 => OK
  • 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?