<Create/Update Listing in the Backend> Interface

Used for Looksrare/x2y2 backend listing

Request Address: /api/v2/meta/createOrUpdateOrderBackend

Request Method: POST

Request example:

{
    "id":2,
    "side":0, 
    "nftId":"434616516961730560",
    "chainName":"ETH",
    "contractAddress":"111",
    "tokenId":"123",
    "imageUrl":"456",
    "platformId":"386405378620468200",
    "status":"added",
    "price":"900000000000000000",
    "userAddress":"0x76336d2903e8f6d62cc3f5d05283108e3d2785e1",
    "paymentContract":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
    "paymentDecimals":"18",
    "paymentUrl":"https://swap.swftcoin.com/swft-v3/images/coins/ETH.png",
    "orderInfos":{}
}

Output example:

{
    "resCode": "100",
    "resMsg": "Success",
    "data": {
        "id": "2",
        "nft_id": "434616516961730560",
        "platform_id": "386405378620468200",
        "user_address": "0x76336d2903e8f6d62cc3f5d05283108e3d2785e1",
        "chain": "ETH",
        "contract_address": "111",
        "token_id": "123",
        "image_url": "456",
        "side": 0,
        "status": "added",
        "price": "900000000000000000",
        "payment_contract": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
        "payment_decimals": "18",
        "payment_token_url": "https://swap.swftcoin.com/swft-v3/images/coins/ETH.png",
        "order_infos": null,
        "hash": null,
        "create_time": "2022-05-13T07:42:40.000Z",
        "update_time": "2022-05-17T05:52:07.000Z"
    }
}

Last updated