X

List Existing Orders

With this action, all orders linked to the reseller are viewed via API.

Method / Endpoint

POST{{API_URL}} order/list

Request Parameters

Name Requirement Description
key Yes API Key

Sample cURL Request

curl --location 'https://example.com/api/reseller/order/list' \
--header 'Content-Type: application/json' \
--data '{
    "key": "UzZBSlBWeWk0UEcrVWxlU0RjS1B1dz09"
}'

Sample JSON Response

{
    "status": "successful",
    "total": 3,
    "data": [
        {
            "id": 3,
            "status": "active",
            "product_type": "hosting",
            "product_id": 33,
            "product_name": "S RESELLER",
            "period_type": "month",
            "period_duration": 1,
            "product_amount": "14.0000",
            "product_amount_f": "$14",
            "currency": "USD",
            "domain": "example123.com",
            "creation_date": "2024-01-27 07:09:50",
            "renewal_date": "2024-01-27 07:09:50",
            "due_date": "2024-02-27 07:09:50"
        },
        {
            "id": 2,
            "status": "active",
            "product_type": "software",
            "product_id": 21,
            "product_name": "Example a Script",
            "period_type": "none",
            "period_duration": 1,
            "product_amount": "99.0000",
            "product_amount_f": "$99",
            "currency": "USD",
            "domain": "newexample.com",
            "creation_date": "2024-01-27 07:04:52",
            "renewal_date": "2024-01-27 07:04:52",
            "due_date": "0000-00-00 00:00:00"
        },
        {
            "id": 1,
            "status": "active",
            "product_type": "hosting",
            "product_id": 15,
            "product_name": "CHEAP SSD 1",
            "period_type": "year",
            "period_duration": 1,
            "product_amount": "5.0000",
            "product_amount_f": "$5",
            "currency": "USD",
            "domain": "example.com",
            "creation_date": "2024-01-27 06:59:22",
            "renewal_date": "2024-01-27 06:59:22",
            "due_date": "2025-01-27 06:59:22"
        }
    ]
}
 
 

Kunt u de informatie die u zoekt niet vinden?

Maak een supportticket
Vond je het nuttig?
(4 keer bekeken / 0 mensen vonden het nuttig)
Top