<Change Listing> Interface

Change listing status through the platform order number, including added, cancelling, cancelled, fulfilled

Request Address: /api/v2/meta/updateOrderStatus

Request Method: POST

Request Parameters:

Field Name
Field Description
Type
Notes

orderId

Platform Order ID

string

payload

Other Payload Fields

object

Payload Field

Field Name
Field Description
Type
Notes

status

Order status change: added, cancelling, cancelled, fulfilled

string

hash

On-chain transaction hash

string

Request example:

{
  "orderId": "1111", //orderId string
  "payload": {
    "status": "added", //(required) Status Type string added, cancelling, cancelled, fulfilled
    "hash": "" //(optional)Satus Type string On-chain transaction hash
  }
}

Output example: data is the number of affected records

{
    "resCode": "100",
    "resMsg": "Success",
    "data": 1
}

Last updated