Delete Order

Overview

This endpoint allows you to delete a single existing sales order. To consume this endpoint, you must be an Authenticated User. As soon as you receive a valid token, you need to pass it to the call. Additionally, you need a valid Sellercloud Order ID. If the order has any Picked quantity, you must Unpick it first.

Endpoint

An example of this endpoint for server XX is:

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

For your server, the endpoint will be:

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
  • Path parameter: the Sellercloud ID of the sales order that will be deleted
Parameter Data Type Description Is Required
id integer The Sellercloud Order ID of the existing order. Yes

Response

  • If the user is authenticated and provides a valid Order ID of an order with no picked quantity, then the response will be Status Code 200 => OK.
  • If the user is not authenticated, then the response will be Status Code 401 => Not Valid Token.
  • In case of an error, the response will be  Status Code 500 => Internal Server Error.

Was this article helpful?

Next
Get Inventory Info for Single Product