MetaPath API
  • API Introduction
    • General Instruction
    • Major Blockchain Name Conventions
  • Cross-platform Aggregator Interface
    • Token Swap Flow
    • Get <The Token List> Interface
    • <Price Inquiry> Interface
    • <Swap> Interface
    • <BlackList> Interface
  • Upload gas free orders
  • Aggregate NFTs Interface V1.0
    • Get <Basic Information> Interface
    • Get <NFT List> Interface
    • <Price Inquiry> Interface
    • <Swap> Interface
    • Get <NFT List Held by User> Interface
  • Aggregate NFTs Interface V2.0
    • Get <Latest Collections> Interface
    • Get <Top NFT Collections> Interface
    • <List Page> Interface
    • Get <NFT Details> Interface
    • Get <NFT Details> Other Related Interface
    • <Price Inquiry> Interface
    • <Swap> Interface
    • <Batch Purchase> Interface
  • List Related Interface
    • Get <User's NFT> Interface
    • Get <Listed NFT List (My List)> Interface
    • <Create/Update Listing> Interface
    • <Create/Update Listing in the Backend> Interface
    • <Cancel Listing> Interface
    • <Change Listing> Interface
  • Swap Information Related Interface
    • <Add Swap Information> Interface
    • <Get Swap Information List> Interface
    • <Get Detailed Transation Infromation > Interface
Powered by GitBook
On this page
  1. List Related Interface

<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
}

Previous<Cancel Listing> InterfaceNextSwap Information Related Interface

Last updated 2 years ago