⬆️Request and Response

Request to the API endpoint

Delete a given order for the indicated account

DELETE https://api.alephcrm.com/v2/orders

Query Parameters

Name
Type
Description

API_KEY*

String

(default=none)

accountId *

Integer

(default=none)

orderId

Integer

revertStock

Boolean

Parameters details

API_KEY

The API_KEY that was provided.

accountId

The Alephee account ID of the shipping label you are trying to get.

orderId

Alephee internal ID to identify the order.

revertStock

Indicates if you want to reverse the stock movement and return the inventory quantities to the products after deleting an order. For example, an order was created that includes 5 units of product "XYZ". Those 5 units were removed from the available stock of the product. When the order is deleted, the stock movement will be reversed, and the 5 units will be returned to the "XYZ" product available stock. The user indicates whether he wants this behavior or not.

Last updated