Documentation generated
at 04.02.2023 23:29:05

Virtual Cart Orders

Order status
GET public/virtual-cart/order/status/:uuid
API Token required

Returns the status of an order

URL-Parameter

Feld Datentyp Beschreibung
uuid string The order uuid received from the placed order. Example: f0f9e9ec-52ab-4ea5-8c6b-c2d75e4e6300 required

Response-Params

Feld Datentyp Beschreibung
id int The order ID.
ordernum int The ordernum.
date date The order date.
promocode string The promocode used with this order.
amount int Total credit used for this order.
invoiceid int Invoice ID corresponding to this order.
cancelled boolean Whether this order has been cancelled by an administrator.
active boolean Whether this order has been manually reviewed by an administrator.
status_label string The status of this order.
items_provisioned boolean Whether all hostings and domains in this order have been provisioned and are ready to use.
hostings object[] List of hostings ordered.
domains object[] List of domains ordered.
upgrades object[] List of hosting upgrades ordered.
curl -X GET \
-G 'https://api.pph.sh/public/virtual-cart/order/status/<uuid>' \
-H 'Authorization: Bearer ${ACCESS_TOKEN}' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "id": 58337,
        "ordernum": 9707281021,
        "date": "2021-05-10T00:57:11.000000Z",
        "promocode": "VS20",
        "amount": 3.12,
        "invoiceid": false,
        "cancelled": false,
        "active": false,
        "status_label": "Pending",
        "items_provisioned": true,
        "hostings": [
            {
                "id": 30325,
                "product_name": "Linux vServer Power Duo",
                "product_group": "Power SSD vServer",
                "module": [],
                "packageid": 287,
                "ipaddress": "137.74.140.77",
                "active": true,
                "domain": "63475-41003.pph-server.de",
                "status": "Ausgeliefert",
                "billingcycle": "Monthly",
                "created_at": "2021-05-09T22:00:00.000000Z",
                "next_due_date": "2021-06-09T22:00:00.000000Z",
                "next_due_in": 30,
                "amount": 3.12,
                "firstpaymentamount": 3.12,
                "has_invoice": false,
                "cancellation": false
            }
        ],
        "domains": [],
        "upgrades": []
    }
}