Excerpt | ||
---|---|---|
Use this method to delete a Standing Order.
|
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
Request
URL: https://api.kometsales.com/api/v2/standing-order/item?standingOrderItemId={standingOrderItemId}&standingOrderId={standingOrderId}
Method: DELETE
Content-Type: Application/JSON
Header
authenticationToken (required)(string:50)
Komet Sales security token.
Input parameters
standingOrderId (required)(integer:20)
Komet Sales Standing Order ID.
You can get this value from the standing-order.create API method.
standingOrderItemId (required)(number:20)
The Komet Sales Standing Order item ID.
You can get this value from the standing-order.create API method.
Code Block |
---|
curl -X 'DELETE' \ 'https://api.kometsales.com/api/v2/standing-order/item?standingOrderItemId={131215}&standingOrderId={950413}' \ -H 'key: authenticationToken' \ -H 'value: u0j3ij91k2r58g6s0grbi02dor' \ -H 'type: text' |
Response
status (integer:1)
Transaction status.
Valid values: 1 = Success | 0 = Failure
message (string:500)
Transaction status description.
Code Block |
---|
{ "message": "Standing Order Item was deleted successfully.", "status": 1 } |
We've encountered an issue exporting this macro. Please try exporting this page again later.