EvilFreelancer/bookeo-api-php

View on GitHub
examples/holds.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

return [
    'productId'    => '285RNJ9RT141BEAC4082',
    'eventId'      => '285KX7H3M146B326D284_2015-03-31',
    'customer'     => [
        'firstName'    => 'Joe',
        'lastName'     => 'Smith',
        'emailAddress' => 'eng@bookeo.com',
        'phoneNumbers' => [
            [
                'number' => '123456',
                'type'   => 'mobile'
            ]
        ]
    ],
    'participants' => [
        'numbers' => [
            [
                'peopleCategoryId' => 'Cadults',
                'number'           => 1
            ],
            [
                'peopleCategoryId' => 'Cchildren',
                'number'           => 1
            ]
        ]
    ],
];