Administrate

Unnamed DelegatesΒΆ

To place unnamed delegates, simply include the contact_id which will be the booking contact on the order object, and define a quantity on the item object.

curl -k -u (user):(password) https://YOUR-SUBDOMAIN/api/v2/orders \
    -H 'Content-type: application/json' \
    -d '{
        "contact_id": 47403,
        "company_id": 1,
        "items": [
            {"event_id": 216, "price": 123.00, "quantity": 3}
        ],
        "payment": {"amount": 1.23,
            "type": "Card",
            "currency": "GBP",
            "transaction_code": "abc123"
        },
        "external_id": "qwerty12345"
    }'

Example Response

{
    "msg": "order created",
    "order_id": 50
}