updateStatus: Cancel an order.

View source: R/updateStatus.R

updateStatusR Documentation

Cancel an order.

Description

Cancel the specified order using the order ID.

Usage

updateStatus(order, st = "canceled", token)

Arguments

order

The order ID can be obtained by using the order list function.

st

By default, the specified order is canceled.

token

The token is string value obtain from user ID settings in the NOBITEX. If you are not registered on the website, please use the provided link.

Examples


## Not run: 
tkn <- "CONTACT WITH AUTHOR"
x <- orderList(token = tkn)

# Ex. consider the first order recorded,
ID <- x[1]$id

# SELECT SPECIFY ID order from the list
updateStatus( ID, st = "canceled", token = tkn)

## End(Not run)

TSEtools documentation built on Jan. 8, 2026, 5:07 p.m.