API System

Table of Contents

API Testing is fundamentally intended to reveal bugs in a single application. If not, the user can mess things up. This is one of the most challenging parts of QA Testing to assure that your application runs smoothly and properly across devices and browsers. Here is our API system which is a manual test to walk through to test theme functionality and how the theme responds to the content and settings.

Please go to the Theme settings > Extensions > install Traveler Rest API plugin

API System Image 1

Then you need to install the JWT Authentication for WP REST API plugin

Description of plugin

NOTE:

1-To enable this option you’ll need to edit your .htaccess file adding the follow:
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) – [E=HTTP_AUTHORIZATION:%1]

If your web server is Nginx, you don’t need to insert these lines(just ignore the notice)

2-To add the secret key edit your wp-config.php file and add a new constant called JWT_AUTH_SECRET_KEY
define(‘JWT_AUTH_SECRET_KEY’, ‘your-top-secret-key’);
define(‘JWT_AUTH_CORS_ENABLE’, true);

API System Image 2
API System Image 3

For account admin: Please go to Theme Options > Other options > Traveler Rest API Key, then please enter the key (the key you create yourself)

API System Image 4

POST            https://domain.com/wp-json/jwt-auth/v1/token

Login

Allows you to log into the system and get tokens

Parameters

Body

username*          string          User Name

password*           string          Password

Responses

200: OK 

				
					{
    "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbmV3bGF5b3V0LnRlc3QiLCJpYXQiOjE2NjM5MTY1NTgsIm5iZiI6MTY2MzkxNjU1OCwiZXhwIjoxNjY0NTIxMzU4LCJkYXRhIjp7InVzZXIiOnsiaWQiOiIxIn19fQ.sCfbbJJGndkerkfzanV2w4pPpNctw0wmyq-ZTqzmPgQ",
    "user_email": "contact@travelerwp.com",
    "user_nicename": "admin",
    "user_display_name": "admin"
}
				
			

GET            https://domain.com/wp-json/wp/v2/users/me

Information specific user

Get information about the user via his token

Authorization > Bearer Token: User Token

Note: Show only information of user via his token

Parameters

No parameters

Responses

200: OK 

				
					{
    "id": 1,
    "username": "admin",
    "name": "admin",
    "first_name": "mai",
    "last_name": "contact@travelerwp.com",
    "email": "contact@travelerwp.com",
    "url": "http://newlayout.test",
    "description": "",
    "link": "http://newlayout.test/author/admin/",
    "locale": "en_US",
    "nickname": "admin",
    "slug": "admin",
    "roles": [
        "administrator"
    ],
    "registered_date": "2022-09-20T03:28:46+00:00",
    "capabilities": {
        "switch_themes": true,
        "edit_themes": true,
        "activate_plugins": true,
        "edit_plugins": true,
        "edit_users": true,
        "edit_files": true,
        "manage_options": true,
        "moderate_comments": true,
        "manage_categories": true,
        "manage_links": true,
        "upload_files": true,
        "import": true,
        "unfiltered_html": true,
        "edit_posts": true,
        "edit_others_posts": true,
        "edit_published_posts": true,
        "publish_posts": true,
        "edit_pages": true,
        "read": true,
        "level_10": true,
        "level_9": true,
        "level_8": true,
        "level_7": true,
        "level_6": true,
        "level_5": true,
        "level_4": true,
        "level_3": true,
        "level_2": true,
        "level_1": true,
        "level_0": true,
        "edit_others_pages": true,
        "edit_published_pages": true,
        "publish_pages": true,
        "delete_pages": true,
        "delete_others_pages": true,
        "delete_published_pages": true,
        "delete_posts": true,
        "delete_others_posts": true,
        "delete_published_posts": true,
        "delete_private_posts": true,
        "edit_private_posts": true,
        "read_private_posts": true,
        "delete_private_pages": true,
        "edit_private_pages": true,
        "read_private_pages": true,
        "delete_users": true,
        "create_users": true,
        "unfiltered_upload": true,
        "edit_dashboard": true,
        "update_plugins": true,
        "delete_plugins": true,
        "install_plugins": true,
        "update_themes": true,
        "install_themes": true,
        "update_core": true,
        "list_users": true,
        "remove_users": true,
        "promote_users": true,
        "edit_theme_options": true,
        "delete_themes": true,
        "export": true,
        "loco_admin": true,
        "manage_postman_smtp": true,
        "manage_postman_logs": true,
        "administrator": true
    },
    "extra_capabilities": {
        "administrator": true
    },
    "avatar_urls": {
        "24": "http://0.gravatar.com/avatar/96bdb78f86a5ec9ee8f372fb8f606b1d?s=24&d=mm&r=g",
        "48": "http://0.gravatar.com/avatar/96bdb78f86a5ec9ee8f372fb8f606b1d?s=48&d=mm&r=g",
        "96": "http://0.gravatar.com/avatar/96bdb78f86a5ec9ee8f372fb8f606b1d?s=96&d=mm&r=g"
    },
    "meta": [],
    "_links": {
        "self": [
            {
                "href": "http://newlayout.test/wp-json/wp/v2/users/1"
            }
        ],
        "collection": [
            {
                "href": "http://newlayout.test/wp-json/wp/v2/users"
            }
        ]
    }
}
				
			

GET            https://domain.com/wp-json/traveler/services/tours

List Service of Tours

Allow you to receive the list of tours

Parameters

Body

orderby*                       string            ASC | DESC

order*                            string            ID | title | name | date

paged*                           int                 Number of pages

posts_per_page            int                  Number item

Responses

200: OK 

				
					{
    "success": true,
    "data": [
        {
            "ID": 8543,
            "url": "http://newlayout.test/st_tour/museum-of-american-history-through-music-tour-2/",
            "title": "Harvard: 70-Minute Hahvahd Tour",
            "image": false,
            "excerpt": "Arius massa maecenas et id dictumst mattis. Donec fringilla ac parturient posuere id phasellus erat elementum nullam lacus cursus rhoncus parturient vitae praesent quisque nascetur molestie quis"
        },
        {
            "ID": 6562,
            "url": "http://newlayout.test/st_tour/museum-of-american-history-through-music-tour/",
            "title": "Western Express Northbound",
            "image": false,
            "excerpt": "Arius massa maecenas et id dictumst mattis. Donec fringilla ac parturient posuere id phasellus erat elementum nullam lacus cursus rhoncus parturient vitae praesent quisque nascetur molestie quis"
        },
        {
            "ID": 8580,
            "url": "http://newlayout.test/st_tour/10-days-of-vacation-in-florence-resorts-2/",
            "title": "New York: Museum of Modern Art",
            "image": false,
            "excerpt": "Varius massa maecenas et id dictumst mattis. Donec fringilla ac parturient posuere id phasellus erat elementum nullam lacus cursus rhoncus parturient vitae praesent quisque nascetur molestie quis"
        },
        {
            "ID": 1616,
            "url": "http://newlayout.test/st_tour/10-days-of-vacation-in-florence-resorts/",
            "title": "Northern California Summer 2019",
            "image": false,
            "excerpt": "Varius massa maecenas et id dictumst mattis. Donec fringilla ac parturient posuere id phasellus erat elementum nullam lacus cursus rhoncus parturient vitae praesent quisque nascetur molestie quis"
        },
        {
            "ID": 8752,
            "url": "http://newlayout.test/st_tour/trip-of-new-york-discover-america-2/",
            "title": "Hollywood Sign Small Group Tour in Luxury Van",
            "image": false,
            "excerpt": "Arius massa maecenas et id dictumst mattis. Donec fringilla ac parturient posuere id phasellus erat elementum nullam lacus cursus rhoncus parturient vitae praesent quisque nascetur molestie quis"
        }
    ],
    "notice": "Found"
}
				
			

GET            https://domain.com/wp-json/traveler/services/hotel

List Service of Hotels

Allow you to receive the list of hotel

Parameters

Body

orderby*                       string            ASC | DESC

order*                            string            ID | title | name | date

paged*                           int                 Number of pages

posts_per_page            int                  Number item

Responses

200: OK 

				
					{
    "success": true,
    "data": [
        {
            "ID": 6556,
            "url": "http://newlayout.test/st_hotel/hyatt-centric-times-square/",
            "title": "Hyatt Centric Times Square",
            "image": false,
            "excerpt": "This boutique hotel in the Manhattan neighborhood of Nolita features a private."
        },
        {
            "ID": 6548,
            "url": "http://newlayout.test/st_hotel/hotel-wbf-hommachi/",
            "title": "Hotel WBF Hommachi",
            "image": false,
            "excerpt": "This boutique hotel in the Manhattan neighborhood of Nolita features a private rooftop and rooms with free WiFi. The Bowery subway station is 1 block from this New York hotel.\r\n\r\n"
        },
        {
            "ID": 4601,
            "url": "http://newlayout.test/st_hotel/hotel-wbf-kitasemba/",
            "title": "Castello Casole Hotel",
            "image": false,
            "excerpt": "This boutique hotel in the Manhattan neighborhood of Nolita features a private rooftop and rooms with free WiFi. The Bowery subway station is 1 block from this New York hotel.\r\n\r\n"
        },
        {
            "ID": 991,
            "url": "http://newlayout.test/st_hotel/hotel-stanford/",
            "title": "Hotel Stanford",
            "image": false,
            "excerpt": "This boutique hotel in the Manhattan neighborhood of Nolita features a private rooftop and rooms with free WiFi. The Bowery subway station is 1 block from this New York hotel.\r\n\r\n"
        },
        {
            "ID": 992,
            "url": "http://newlayout.test/st_hotel/hotel-edison/",
            "title": "Parian Holiday Villas",
            "image": false,
            "excerpt": "Ideally located in Times Square, this Manhattan hotel has been around since 1930. With distinct influences of the Art Deco era in the design of the lobby and the exterior, Hotel Edison offers classic and signature rooms and suites. The Empire State Building is only 1.6 kilometers away while the Jacob K. Javits is about […]"
        }
    ],
    "notice": "Found"
}
				
			

GET            https://domain.com/wp-json/traveler/services/activity

List Service of Activity

Allow you to receive the list of activity

Parameters

Body

orderby*                       string            ASC | DESC

order*                            string            ID | title | name | date

paged*                           int                 Number of pages

posts_per_page            int                  Number item

Responses

200: OK 

				
					{
    "success": true,
    "data": [
        {
            "ID": 9092,
            "url": "http://newlayout.test/st_activity/national-parks-tour-one-days-2-5-5-2/",
            "title": "Empire State Building Admission",
            "image": false,
            "excerpt": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."
        },
        {
            "ID": 9090,
            "url": "http://newlayout.test/st_activity/national-parks-tour-one-days-2-5-4-2-2-2-2/",
            "title": "Boat Tour of San Francisco Bay",
            "image": false,
            "excerpt": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."
        },
        {
            "ID": 9088,
            "url": "http://newlayout.test/st_activity/national-parks-tour-one-days-2-5-4-3-2-3/",
            "title": "Golden Gate Seaplane Tour",
            "image": false,
            "excerpt": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."
        },
        {
            "ID": 9086,
            "url": "http://newlayout.test/st_activity/national-parks-tour-one-days-2-5-6/",
            "title": "90-Minute Cruise & Open Bar in Miami",
            "image": false,
            "excerpt": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."
        },
        {
            "ID": 9084,
            "url": "http://newlayout.test/st_activity/national-parks-tour-one-days-2-5-4-2-4/",
            "title": "Dylan’s Famous Minibus Tour – Small Group Tour",
            "image": false,
            "excerpt": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."
        }
    ],
    "notice": "Found"
}
				
			

GET            https://domain.com/wp-json/traveler/services/rental

List Service of Rental

Allow you to receive the list of rental

Parameters

Body

orderby*                       string            ASC | DESC

order*                            string            ID | title | name | date

paged*                           int                 Number of pages

posts_per_page            int                  Number item

Responses

200: OK 

				
					{
    "success": true,
    "data": [
        {
            "ID": 1428,
            "url": "http://newlayout.test/st_rental/spacious-3-bedrooms-apt-near-champs-elysees-avenue/",
            "title": "Spacious 3 Bedrooms",
            "image": false,
            "excerpt": "Pharetra quis netus vel vehicula class vestibulum nisl donec hendrerit fermentum magna sed amet purus sit nec class sit fringilla tellus volutpat per eget molestie Platea suspendisse eget tortor pharetra magna nam senectus tristique cursus ut odio sollicitudin venenatis natoque dis maecenas magna dignissim sociosqu et sociis accumsan interdum dictum netus quis enim phasellus suscipit […]"
        },
        {
            "ID": 1426,
            "url": "http://newlayout.test/st_rental/new-year-sale-stylish-2-bedrooms-in-exclusive-chelsea-neighborhood/",
            "title": "Stylish 2 Bedrooms",
            "image": false,
            "excerpt": "Libero sem vitae sed donec conubia integer nisi integer rhoncus imperdiet orci odio libero est integer a integer tincidunt sollicitudin blandit fusce nibh leo vulputate lobortis egestas dapibus faucibus metus conubia maecenas cras potenti cum hac arcu rhoncus nullam eros dictum"
        },
        {
            "ID": 1427,
            "url": "http://newlayout.test/st_rental/lovely-parisian-apartment-in-an-authentic-parisian-setting/",
            "title": "Lovely Parisian",
            "image": false,
            "excerpt": "Libero sem vitae sed donec conubia integer nisi integer rhoncus imperdiet orci odio libero est integer a integer tincidunt sollicitudin blandit fusce nibh leo vulputate lobortis egestas dapibus faucibus metus conubia maecenas cras potenti cum hac arcu rhoncus nullam eros dictum torquent integer cursus bibendum sem sociis molestie tellus purus Quam fusce convallis ipsum malesuada […]"
        },
        {
            "ID": 1425,
            "url": "http://newlayout.test/st_rental/eiffel-tower-two-bedroom-apartment-spectacular-view/",
            "title": "TwoBee Apartment",
            "image": false,
            "excerpt": "Libero sem vitae sed donec conubia integer nisi integer rhoncus imperdiet orci odio libero est integer a integer tincidunt sollicitudin blandit fusce nibh leo vulputate lobortis egestas dapibus faucibus metus conubia maecenas cras potenti cum hac arcu rhoncus nullam eros dictum torquent integer cursus bibendum sem sociis molestie tellus purus Quam fusce convallis ipsum malesuada […]"
        },
        {
            "ID": 1420,
            "url": "http://newlayout.test/st_rental/nyc-waterfront-artist-studio/",
            "title": "Waterfront Artist Studio",
            "image": false,
            "excerpt": "Libero sem vitae sed donec conubia integer nisi integer rhoncus imperdiet orci odio libero est integer a integer tincidunt sollicitudin blandit fusce nibh leo vulputate lobortis egestas dapibus faucibus metus conubia maecenas cras potenti cum hac arcu rhoncus nullam eros dictum"
        }
    ],
    "notice": "Found"
}
				
			

GET            https://domain.com/wp-json/traveler/services/cars

List Service of Car

Allow you to receive the list of car

Parameters

Body

orderby*                       string            ASC | DESC

order*                            string            ID | title | name | date

paged*                           int                 Number of pages

posts_per_page            int                  Number item

Responses

200: OK 

				
					{
    "success": true,
    "data": [
        {
            "ID": 9616,
            "url": "http://newlayout.test/st_car/calibertuy-car/",
            "title": "CaliBertuy Car",
            "image": false,
            "excerpt": ""
        },
        {
            "ID": 9614,
            "url": "http://newlayout.test/st_car/caliberl-car/",
            "title": "CaliBerl Car",
            "image": false,
            "excerpt": ""
        },
        {
            "ID": 9612,
            "url": "http://newlayout.test/st_car/graber-car/",
            "title": "Graber Car",
            "image": false,
            "excerpt": ""
        },
        {
            "ID": 9608,
            "url": "http://newlayout.test/st_car/caliberlual-car/",
            "title": "CaliBerlual Car",
            "image": false,
            "excerpt": ""
        },
        {
            "ID": 9610,
            "url": "http://newlayout.test/st_car/gralbery-car/",
            "title": "Gralbery Car",
            "image": false,
            "excerpt": ""
        }
    ],
    "notice": "Found"
}
				
			

GET          https://domain.com/wp-json/traveler/services/tours/{id}

Tour Detail

Allow receiving tour details

Parameters

Body

date-start                       date            Date Start

date-end                       date            Date End

Responses

200: OK 

				
					{
    "success": true,
    "data": [
        {
            "ID": 1616,
            "title": "Northern California Summer 2019",
            "image": false,
            "excerpt": "Varius massa maecenas et id dictumst mattis. Donec fringilla ac parturient posuere id phasellus erat elementum nullam lacus cursus rhoncus parturient vitae praesent quisque nascetur molestie quis",
            "description": [
                "All brand icons are trademarks of their respective owners.\nThe use of these trademarks does not indicate endorsement of the trademark holder by Font Awesome, nor vice versa.\n\n"
            ],
            "availability": null,
            "min_price": [
                "150"
            ],
            "sale_price": [
                ""
            ],
            "rate_review": [
                "3.7"
            ],
            "is_featured": [
                "on"
            ],
            "gallery_tyle": [
                "grid"
            ],
            "id_location": [
                ""
            ],
            "gallery": [
                "https://via.placeholder.com/900x600?text=Traveler",
                "https://via.placeholder.com/900x600?text=Traveler",
                "https://via.placeholder.com/900x600?text=Traveler",
                "https://via.placeholder.com/900x600?text=Traveler",
                "https://via.placeholder.com/900x600?text=Traveler",
                "https://via.placeholder.com/900x600?text=Traveler",
                "https://via.placeholder.com/900x600?text=Traveler"
            ],
            "contact_email": [
                "abc@domain.com"
            ],
            "post_views_count": [
                ""
            ],
            "tour_min_price": [
                "500"
            ],
            "map_zoom": [
                "6"
            ],
            "video": [
                "https://www.youtube.com/watch?v=AmZ0WrEaf34"
            ],
            "gallery_style": [
                "grid"
            ],
            "price": [
                ""
            ],
            "max_people": [
                "10"
            ],
            "duration_day": [
                "5 days"
            ],
            "address": [
                "California, USA"
            ],
            "map_lat": [
                "36.617642193886944"
            ],
            "map_lng": [
                "-120.2541205702891"
            ],
            "tours_program": [
                "a:5:{i:0;a:3:{s:5:\"title\";s:27:\"Day 1: Arrive San Francisco\";s:5:\"image\";s:0:\"\";s:4:\"desc\";s:298:\"From the iconic to the unexpected, the city of San Francisco never ceases to surprise. Kick-start your effortlessly delivered Northern California holiday in the cosmopolitan hills of 'The City'. Join your Travel Director and fellow travellers for a Welcome Reception at your hotel.Welcome Reception\";}i:1;a:3:{s:5:\"title\";s:41:\"Day 2: San Francisco Sightseeing – Napa\";s:5:\"image\";s:0:\"\";s:4:\"desc\";s:277:\"Admire the eclectic mix of architecture, culture and cuisines of one of the world's most livable cities. Embark on a morning exploration that takes you from the lively tourist hotspot of Fisherman's Wharf to Union Square, a historical landmark linked to the American Civil War.\";}i:2;a:3:{s:5:\"title\";s:29:\"Day 3: Lake Tahoe Sightseeing\";s:5:\"image\";s:0:\"\";s:4:\"desc\";s:200:\"Enjoy a scenic drive through the Napa Valley area before boarding the Napa Valley Wine Train's lovingly restored Pullman cars for a taste of the golden age of rail travel and a enjoy a Regional Meal. \";}i:3;a:3:{s:5:\"title\";s:41:\"Day 4: Monterey, Carmel and 17-Mile Drive\";s:5:\"image\";s:0:\"\";s:4:\"desc\";s:199:\"The pinch me moments continue as we follow the sun-kissed California coast, cruising scenic 17-Mile Drive. We return to Monterey for a visit of Cannery Row, immortalised in the John Steinbeck novel. \";}i:4;a:3:{s:5:\"title\";s:57:\"Day 5: Monterey – Roaring Camp – Depart San Francisco\";s:5:\"image\";s:0:\"\";s:4:\"desc\";s:227:\"California's towering redwoods provide an imposing backdrop for this morning as we journey back in time to the era of lumberjacks and sawmills in a re-created 1890s logging camp, complete with general store and railroad depot. \";}}"
            ],
            "st_custom_layout": [
                ""
            ],
            "_dp_original": [
                "1610"
            ],
            "_alp_processed": [
                "1423026217"
            ],
            "is_sale_schedule": [
                "off"
            ],
            "check_in": [
                ""
            ],
            "check_out": [
                ""
            ],
            "is_meta_payment_gateway_st_submit_form": [
                "on"
            ],
            "is_meta_payment_gateway_st_paypal": [
                "on"
            ],
            "type_price": [
                "tour_price"
            ],
            "type_tour": [
                "daily_tour"
            ],
            "tours_booking_period": [
                "0"
            ],
            "discount": [
                "0"
            ],
            "st_tour_external_booking": [
                "off"
            ],
            "multi_location": [
                "_1957_,_275_,_1944_,_1945_,_1946_,_1947_,_284_,_1952_,_282_,_7965_,_7967_,_7970_"
            ],
            "st_google_map": [
                "a:4:{s:3:\"lat\";s:18:\"36.617642193886944\";s:3:\"lng\";s:18:\"-120.2541205702891\";s:4:\"zoom\";s:1:\"6\";s:4:\"type\";s:7:\"roadmap\";}"
            ],
            "duration_unit": [
                "day"
            ],
            "location_id": [
                ""
            ],
            "_wpb_vc_js_status": [
                "true"
            ],
            "adult_price": [
                "150"
            ],
            "child_price": [
                "100"
            ],
            "infant_price": [
                "50"
            ],
            "discount_by_adult": [
                "a:2:{i:0;a:4:{s:5:\"title\";s:13:\"Group 5 adult\";s:3:\"key\";s:1:\"5\";s:6:\"key_to\";s:0:\"\";s:5:\"value\";s:2:\"10\";}i:1;a:4:{s:5:\"title\";s:14:\"Group 10 adult\";s:3:\"key\";s:2:\"10\";s:6:\"key_to\";s:0:\"\";s:5:\"value\";s:2:\"20\";}}"
            ],
            "discount_by_child": [
                "a:2:{i:0;a:4:{s:5:\"title\";s:13:\"Group 5 child\";s:3:\"key\";s:1:\"5\";s:6:\"key_to\";s:0:\"\";s:5:\"value\";s:2:\"10\";}i:1;a:4:{s:5:\"title\";s:14:\"Group 10 child\";s:3:\"key\";s:2:\"10\";s:6:\"key_to\";s:0:\"\";s:5:\"value\";s:2:\"20\";}}"
            ],
            "price_sale": [
                "0"
            ],
            "st_country": [
                ""
            ],
            "st_street_number": [
                ""
            ],
            "st_route": [
                ""
            ],
            "st_sublocality_level_1": [
                ""
            ],
            "st_locality": [
                ""
            ],
            "st_administrative_area_level_2": [
                ""
            ],
            "st_administrative_area_level_1": [
                ""
            ],
            "enable_street_views_google_map": [
                "on"
            ],
            "show_agent_contact_info": [
                ""
            ],
            "is_meta_payment_gateway_st_stripe": [
                "on"
            ],
            "is_meta_payment_gateway_st_payfast": [
                "on"
            ],
            "hide_adult_in_booking_form": [
                "off"
            ],
            "hide_children_in_booking_form": [
                "off"
            ],
            "hide_infant_in_booking_form": [
                "off"
            ],
            "is_meta_payment_gateway_st_paypal_adaptivepayment": [
                "on"
            ],
            "discount_type": [
                "percent"
            ],
            "discount_by_people_type": [
                "percent"
            ],
            "min_people": [
                "1"
            ],
            "st_allow_cancel": [
                "on"
            ],
            "st_cancel_percent": [
                "20"
            ],
            "map_type": [
                "roadmap"
            ],
            "st_cancel_number_days": [
                "5"
            ],
            "is_meta_payment_gateway_st_authorize": [
                "on"
            ],
            "is_meta_payment_gateway_st_payu": [
                "on"
            ],
            "is_meta_payment_gateway_st_skrill": [
                "on"
            ],
            "is_meta_payment_gateway_st_twocheckout": [
                "on"
            ],
            "tour_price_by": [
                "person"
            ],
            "start_date_fixed": [
                "2018-09-13"
            ],
            "end_date_fixed": [
                "2018-09-15"
            ],
            "disable_children_name": [
                "on"
            ],
            "disable_infant_name": [
                "on"
            ],
            "is_meta_payment_gateway_st_dpo": [
                "on"
            ],
            "disable_adult_name": [
                "off"
            ],
            "tours_program_style": [
                "style1"
            ],
            "st_custom_layout_new": [
                "2"
            ],
            "tours_include": [
                "Specialized bilingual guide\nPrivate Transport\nEntrance fees (Cable and car and Moon Valley)\nBox lunch water, banana apple and chocolate"
            ],
            "tours_exclude": [
                "Additional Services\nInsurance\nDrink\nTickets"
            ],
            "tours_highlight": [
                "Visit the Museum of Modern Art in Manhattan\nSee amazing works of contemporary art, including Vincent van Gogh's The Starry Night\nCheck out Campbell's Soup Cans by Warhol and The Dance (I) by Matisse\nBehold masterpieces by Gauguin, Dali, Picasso, and Pollock\nEnjoy free audio guides available in English, French, German, Italian, Spanish, Portuguese"
            ],
            "tours_faq": [
                "a:4:{i:0;a:2:{s:5:\"title\";s:33:\"When and where does the tour end?\";s:4:\"desc\";s:267:\"Your tour will conclude in San Francisco on Day 8 of the trip. There are no activities planned for this day so you're free to depart at any time. We highly recommend booking post-accommodation to give yourself time to fully experience the wonders of this iconic city!\";}i:1;a:2:{s:5:\"title\";s:35:\"When and where does the tour start?\";s:4:\"desc\";s:353:\"Day 1 of this tour is an arrivals day, which gives you a chance to settle into your hotel and explore Los Angeles. The only planned activity for this day is an evening welcome meeting at 7pm, where you can get to know your guides and fellow travellers. Please be aware that the meeting point is subject to change until your final documents are released.\";}i:2;a:2:{s:5:\"title\";s:33:\"Do you arrange airport transfers?\";s:4:\"desc\";s:291:\"Airport transfers are not included in the price of this tour, however you can book for an arrival transfer in advance. In this case a tour operator representative will be at the airport to greet you. To arrange this please contact our customer service team once you have a confirmed booking.\";}i:3;a:2:{s:5:\"title\";s:22:\"What is the age range?\";s:4:\"desc\";s:279:\"This tour has an age range of 12-70 years old, this means children under the age of 12 will not be eligible to participate in this tour. However, if you are over 70 years please contact us as you may be eligible to join the tour if you fill out G Adventures self-assessment form.\";}}"
            ],
            "_wpml_media_duplicate": [
                "1"
            ],
            "_thumbnail_id": [
                "9183"
            ],
            "_edit_lock": [
                "1663915937:1"
            ]
        }
    ],
    "notice": "Found"
}{
    "success": true,
    "data": [
        {
            "ID": 1616,
            "title": "Northern California Summer 2019",
            "image": false,
            "excerpt": "Varius massa maecenas et id dictumst mattis. Donec fringilla ac parturient posuere id phasellus erat elementum nullam lacus cursus rhoncus parturient vitae praesent quisque nascetur molestie quis",
            "description": [
                "All brand icons are trademarks of their respective owners.\nThe use of these trademarks does not indicate endorsement of the trademark holder by Font Awesome, nor vice versa.\n\n"
            ],
            "availability": null,
            "min_price": [
                "150"
            ],
            "sale_price": [
                ""
            ],
            "rate_review": [
                "3.7"
            ],
            "is_featured": [
                "on"
            ],
            "gallery_tyle": [
                "grid"
            ],
            "id_location": [
                ""
            ],
            "gallery": [
                "https://via.placeholder.com/900x600?text=Traveler",
                "https://via.placeholder.com/900x600?text=Traveler",
                "https://via.placeholder.com/900x600?text=Traveler",
                "https://via.placeholder.com/900x600?text=Traveler",
                "https://via.placeholder.com/900x600?text=Traveler",
                "https://via.placeholder.com/900x600?text=Traveler",
                "https://via.placeholder.com/900x600?text=Traveler"
            ],
            "contact_email": [
                "abc@domain.com"
            ],
            "post_views_count": [
                ""
            ],
            "tour_min_price": [
                "500"
            ],
            "map_zoom": [
                "6"
            ],
            "video": [
                "https://www.youtube.com/watch?v=AmZ0WrEaf34"
            ],
            "gallery_style": [
                "grid"
            ],
            "price": [
                ""
            ],
            "max_people": [
                "10"
            ],
            "duration_day": [
                "5 days"
            ],
            "address": [
                "California, USA"
            ],
            "map_lat": [
                "36.617642193886944"
            ],
            "map_lng": [
                "-120.2541205702891"
            ],
            "tours_program": [
                "a:5:{i:0;a:3:{s:5:\"title\";s:27:\"Day 1: Arrive San Francisco\";s:5:\"image\";s:0:\"\";s:4:\"desc\";s:298:\"From the iconic to the unexpected, the city of San Francisco never ceases to surprise. Kick-start your effortlessly delivered Northern California holiday in the cosmopolitan hills of 'The City'. Join your Travel Director and fellow travellers for a Welcome Reception at your hotel.Welcome Reception\";}i:1;a:3:{s:5:\"title\";s:41:\"Day 2: San Francisco Sightseeing – Napa\";s:5:\"image\";s:0:\"\";s:4:\"desc\";s:277:\"Admire the eclectic mix of architecture, culture and cuisines of one of the world's most livable cities. Embark on a morning exploration that takes you from the lively tourist hotspot of Fisherman's Wharf to Union Square, a historical landmark linked to the American Civil War.\";}i:2;a:3:{s:5:\"title\";s:29:\"Day 3: Lake Tahoe Sightseeing\";s:5:\"image\";s:0:\"\";s:4:\"desc\";s:200:\"Enjoy a scenic drive through the Napa Valley area before boarding the Napa Valley Wine Train's lovingly restored Pullman cars for a taste of the golden age of rail travel and a enjoy a Regional Meal. \";}i:3;a:3:{s:5:\"title\";s:41:\"Day 4: Monterey, Carmel and 17-Mile Drive\";s:5:\"image\";s:0:\"\";s:4:\"desc\";s:199:\"The pinch me moments continue as we follow the sun-kissed California coast, cruising scenic 17-Mile Drive. We return to Monterey for a visit of Cannery Row, immortalised in the John Steinbeck novel. \";}i:4;a:3:{s:5:\"title\";s:57:\"Day 5: Monterey – Roaring Camp – Depart San Francisco\";s:5:\"image\";s:0:\"\";s:4:\"desc\";s:227:\"California's towering redwoods provide an imposing backdrop for this morning as we journey back in time to the era of lumberjacks and sawmills in a re-created 1890s logging camp, complete with general store and railroad depot. \";}}"
            ],
            "st_custom_layout": [
                ""
            ],
            "_dp_original": [
                "1610"
            ],
            "_alp_processed": [
                "1423026217"
            ],
            "is_sale_schedule": [
                "off"
            ],
            "check_in": [
                ""
            ],
            "check_out": [
                ""
            ],
            "is_meta_payment_gateway_st_submit_form": [
                "on"
            ],
            "is_meta_payment_gateway_st_paypal": [
                "on"
            ],
            "type_price": [
                "tour_price"
            ],
            "type_tour": [
                "daily_tour"
            ],
            "tours_booking_period": [
                "0"
            ],
            "discount": [
                "0"
            ],
            "st_tour_external_booking": [
                "off"
            ],
            "multi_location": [
                "_1957_,_275_,_1944_,_1945_,_1946_,_1947_,_284_,_1952_,_282_,_7965_,_7967_,_7970_"
            ],
            "st_google_map": [
                "a:4:{s:3:\"lat\";s:18:\"36.617642193886944\";s:3:\"lng\";s:18:\"-120.2541205702891\";s:4:\"zoom\";s:1:\"6\";s:4:\"type\";s:7:\"roadmap\";}"
            ],
            "duration_unit": [
                "day"
            ],
            "location_id": [
                ""
            ],
            "_wpb_vc_js_status": [
                "true"
            ],
            "adult_price": [
                "150"
            ],
            "child_price": [
                "100"
            ],
            "infant_price": [
                "50"
            ],
            "discount_by_adult": [
                "a:2:{i:0;a:4:{s:5:\"title\";s:13:\"Group 5 adult\";s:3:\"key\";s:1:\"5\";s:6:\"key_to\";s:0:\"\";s:5:\"value\";s:2:\"10\";}i:1;a:4:{s:5:\"title\";s:14:\"Group 10 adult\";s:3:\"key\";s:2:\"10\";s:6:\"key_to\";s:0:\"\";s:5:\"value\";s:2:\"20\";}}"
            ],
            "discount_by_child": [
                "a:2:{i:0;a:4:{s:5:\"title\";s:13:\"Group 5 child\";s:3:\"key\";s:1:\"5\";s:6:\"key_to\";s:0:\"\";s:5:\"value\";s:2:\"10\";}i:1;a:4:{s:5:\"title\";s:14:\"Group 10 child\";s:3:\"key\";s:2:\"10\";s:6:\"key_to\";s:0:\"\";s:5:\"value\";s:2:\"20\";}}"
            ],
            "price_sale": [
                "0"
            ],
            "st_country": [
                ""
            ],
            "st_street_number": [
                ""
            ],
            "st_route": [
                ""
            ],
            "st_sublocality_level_1": [
                ""
            ],
            "st_locality": [
                ""
            ],
            "st_administrative_area_level_2": [
                ""
            ],
            "st_administrative_area_level_1": [
                ""
            ],
            "enable_street_views_google_map": [
                "on"
            ],
            "show_agent_contact_info": [
                ""
            ],
            "is_meta_payment_gateway_st_stripe": [
                "on"
            ],
            "is_meta_payment_gateway_st_payfast": [
                "on"
            ],
            "hide_adult_in_booking_form": [
                "off"
            ],
            "hide_children_in_booking_form": [
                "off"
            ],
            "hide_infant_in_booking_form": [
                "off"
            ],
            "is_meta_payment_gateway_st_paypal_adaptivepayment": [
                "on"
            ],
            "discount_type": [
                "percent"
            ],
            "discount_by_people_type": [
                "percent"
            ],
            "min_people": [
                "1"
            ],
            "st_allow_cancel": [
                "on"
            ],
            "st_cancel_percent": [
                "20"
            ],
            "map_type": [
                "roadmap"
            ],
            "st_cancel_number_days": [
                "5"
            ],
            "is_meta_payment_gateway_st_authorize": [
                "on"
            ],
            "is_meta_payment_gateway_st_payu": [
                "on"
            ],
            "is_meta_payment_gateway_st_skrill": [
                "on"
            ],
            "is_meta_payment_gateway_st_twocheckout": [
                "on"
            ],
            "tour_price_by": [
                "person"
            ],
            "start_date_fixed": [
                "2018-09-13"
            ],
            "end_date_fixed": [
                "2018-09-15"
            ],
            "disable_children_name": [
                "on"
            ],
            "disable_infant_name": [
                "on"
            ],
            "is_meta_payment_gateway_st_dpo": [
                "on"
            ],
            "disable_adult_name": [
                "off"
            ],
            "tours_program_style": [
                "style1"
            ],
            "st_custom_layout_new": [
                "2"
            ],
            "tours_include": [
                "Specialized bilingual guide\nPrivate Transport\nEntrance fees (Cable and car and Moon Valley)\nBox lunch water, banana apple and chocolate"
            ],
            "tours_exclude": [
                "Additional Services\nInsurance\nDrink\nTickets"
            ],
            "tours_highlight": [
                "Visit the Museum of Modern Art in Manhattan\nSee amazing works of contemporary art, including Vincent van Gogh's The Starry Night\nCheck out Campbell's Soup Cans by Warhol and The Dance (I) by Matisse\nBehold masterpieces by Gauguin, Dali, Picasso, and Pollock\nEnjoy free audio guides available in English, French, German, Italian, Spanish, Portuguese"
            ],
            "tours_faq": [
                "a:4:{i:0;a:2:{s:5:\"title\";s:33:\"When and where does the tour end?\";s:4:\"desc\";s:267:\"Your tour will conclude in San Francisco on Day 8 of the trip. There are no activities planned for this day so you're free to depart at any time. We highly recommend booking post-accommodation to give yourself time to fully experience the wonders of this iconic city!\";}i:1;a:2:{s:5:\"title\";s:35:\"When and where does the tour start?\";s:4:\"desc\";s:353:\"Day 1 of this tour is an arrivals day, which gives you a chance to settle into your hotel and explore Los Angeles. The only planned activity for this day is an evening welcome meeting at 7pm, where you can get to know your guides and fellow travellers. Please be aware that the meeting point is subject to change until your final documents are released.\";}i:2;a:2:{s:5:\"title\";s:33:\"Do you arrange airport transfers?\";s:4:\"desc\";s:291:\"Airport transfers are not included in the price of this tour, however you can book for an arrival transfer in advance. In this case a tour operator representative will be at the airport to greet you. To arrange this please contact our customer service team once you have a confirmed booking.\";}i:3;a:2:{s:5:\"title\";s:22:\"What is the age range?\";s:4:\"desc\";s:279:\"This tour has an age range of 12-70 years old, this means children under the age of 12 will not be eligible to participate in this tour. However, if you are over 70 years please contact us as you may be eligible to join the tour if you fill out G Adventures self-assessment form.\";}}"
            ],
            "_wpml_media_duplicate": [
                "1"
            ],
            "_thumbnail_id": [
                "9183"
            ],
            "_edit_lock": [
                "1663915937:1"
            ]
        }
    ],
    "notice": "Found"
}
				
			

GET          https://domain.com/wp-json/traveler/services/activity/{id}

Activity Detail

Allow receiving activity details

Parameters

Body

date-start                       date            Date Start

date-end                        date            Date End

Responses

200: OK 

				
					{
    // Response
}
				
			

GET          https://domain.com/wp-json/traveler/services/hotel/{id}

Hotel Detail

Allow receiving hotel details

Parameters

Body

date-start                       date            Date Start

date-end                        date            Date End

Responses

200: OK 

				
					"{
""success"": true,
""data"": [
{
""ID"": 6556,
""title"": ""Hyatt Centric Times Square"",
""image"": false,
""excerpt"": ""This boutique hotel in the Manhattan neighborhood of Nolita features a private."",
""description"": ""Hyatt Centric Times Square New York guarantees guests a pleasant stay whether in New York for business or pleasure. Located 21.9 km from the city, this 4-star hotel commands an excellent location and provides access to the city's top attractions. Hyatt Centric Times Square New York also offers many facilities to enrich your stay in New York. Top features of the hotel include express check-in/check-out, coffee shop, elevator, Wi-Fi in public areas, and a concierge.\r\n\r\nStep into one of 487 inviting rooms and escape the stresses of the day with a wide range of amenities. After a long tiring day, the fitness center and spa are ideal places to relax. Discover an engaging blend of professional service and a wide array of features at Hyatt Centric Times Square New York. The property offers daily bottled water, coffee/tea, premium high speed internet access for multiple devices, local, or long distance and international phone calls, and 10% discount for lunch or dinner per room per day. A variety of discount promotions are also offered. Kindly contact the property for more details."",
""availability"": null,
""min_price"": [
""0""
],
""rate_review"": [
""4.7""
],
""price_avg"": [
""246.66666666667""
],
""_alp_processed"": [
""1423125732""
],
""price"": [
""""
],
""adult_number"": [
""""
],
""children_number"": [
""""
],
""bed_number"": [
""""
],
""room_footage"": [
""""
],
""gallery"": [
""9189,9188,9187,9186,9185,9184,9183""
],
""layout"": [
""600""
],
""address"": [
""Virginia, USA""
],
""email"": [
""email@domain.com""
],
""website"": [
""http://www.domain.com""
],
""phone"": [
""+658099999""
],
""map_lat"": [
""37.22668164367746""
],
""map_lng"": [
""-77.40168461878301""
],
""map_zoom"": [
""13""
],
""id_location"": [
""""
],
""total_sale_number"": [
""1""
],
""post_views_count"": [
""""
],
""_min_price_room_id"": [
""998""
],
""logo"": [
""http://shinetheme.com/travelerdata/mixmap/wp-content/uploads/2017/06/Hotel-Castello-di-Casole-logo.gif""
],
""st_custom_layout"": [
""6546""
],
""card_accepted"": [
""a:5:{i:0;s:11:\""master-card\"";i:1;s:3:\""jcb\"";i:2;s:9:\""union-pay\"";i:3;s:4:\""visa\"";i:4;s:16:\""american-express\"";}""
],
""hotel_star"": [
""5""
],
""is_featured"": [
""off""
],
""is_auto_caculate"": [
""on""
],
""hotel_booking_period"": [
""0""
],
""video"": [
""https://www.youtube.com/watch?v=8ad09ERqMK0""
],
""multi_location"": [
""_1957_,_275_,_1944_,_1945_,_1946_,_1947_,_284_,_1952_,_282_,_7965_,_7967_,_7970_""
],
""location_id"": [
""""
],
""_wpb_vc_js_status"": [
""true""
],
""st_google_map"": [
""a:4:{s:3:\""lat\"";s:17:\""37.22668164367746\"";s:3:\""lng\"";s:18:\""-77.40168461878301\"";s:4:\""zoom\"";s:2:\""13\"";s:4:\""type\"";s:7:\""roadmap\"";}""
],
""allow_full_day"": [
""on""
],
""check_in_time"": [
""3:00 PM""
],
""check_out_time"": [
""7:00 PM""
],
""min_book_room"": [
""0""
],
""hotel_policy"": [
""a:3:{i:0;a:2:{s:5:\""title\"";s:39:\""What kind of foowear is most suitable ?\"";s:18:\""policy_description\"";s:891:\""Morbi mollis vestibulum sollicitudin. Nunc in eros a justo facilisis rutrum. Aenean id ullamcorper libero. Vestibulum imperdiet nibh vel magna lacinia ultrices. Sed id interdum urna. Nam ac elit a ante commodo tristique. Duis lacus urna, condimentum a vehicula a, hendrerit ac nisi Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vulputate, tortor nec commodo ultricies, lectus nisl facilisis enim, vitae viverra urna nulla sed turpis. Nullam lacinia faucibus risus, a euismod lorem tincidunt id. Vestibulum imperdiet nibh vel magna lacinia ultrices. Sed id interdum urna. Nam ac elit a ante commodo tristique. Duis lacus urna, condimentum a vehicula a, hendrerit ac nisi Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vulputate, tortor nec commodo ultricies, vitae viverra urna nulla sed turpis. Nullam lacinia faucibus risus, a euismod lorem tincidunt id\"";}i:1;a:2:{s:5:\""title\"";s:34:\""Can i bring Alcohol top this trip?\"";s:18:\""policy_description\"";s:502:\""Duis lacus urna, condimentum a vehicula a, hendrerit ac nisi Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vulputate, tortor nec commodo ultricies, enim, vitae viverra urna nulla sed turpis. Nullam lacinia faucibus risus, a euismod lorem tincidunt id. Vestibulum imperdiet nibh vel magna lacinia ultrices. Sed id interdum urna. Nam ac elit a ante commodo tristique. Duis lacus urna, condimentum a vehicula a, hendrerit ac nisi Lorem ipsum dolor sit amet, consectetur adipiscing elit.\"";}i:2;a:2:{s:5:\""title\"";s:34:\""Can i bring Alcohol top this trip?\"";s:18:\""policy_description\"";s:524:\""Duis lacus urna, condimentum a vehicula a, hendrerit ac nisi Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vulputate, tortor nec commodo ultricies, lectus nisl facilisis enim, vitae viverra urna nulla sed turpis. Nullam lacinia faucibus risus, a euismod lorem tincidunt id. Vestibulum imperdiet nibh vel magna lacinia ultrices. Sed id interdum urna. Nam ac elit a ante commodo tristique. Duis lacus urna, condimentum a vehicula a, hendrerit ac nisi Lorem ipsum dolor sit amet, consectetur adipiscing elit.\"";}}""
],
""fax"": [
""+123456789""
],
""discount_text"": [
""Salehdgdfgfd""
],
""st_price_now"": [
""50""
],
""st_country"": [
""united-states""
],
""st_street_number"": [
""1601-1699""
],
""st_route"": [
""anchorage-street""
],
""st_sublocality_level_1"": [
""""
],
""st_locality"": [
""sarasota""
],
""st_administrative_area_level_2"": [
""sarasota-county""
],
""st_administrative_area_level_1"": [
""florida""
],
""enable_street_views_google_map"": [
""on""
],
""show_agent_contact_info"": [
""""
],
""map_type"": [
""roadmap""
],
""properties_near_by"": [
""""
],
""_yoast_wpseo_primary_hotel_facilities"": [
""""
],
""_yoast_wpseo_primary_hotel_theme"": [
""""
],
""_yoast_wpseo_content_score"": [
""60""
],
""_dp_original"": [
""6548""
],
""_wp_old_slug"": [
""sheraton-hotel""
],
""hotel_layout_style"": [
""1""
],
""_thumbnail_id"": [
""9189""
],
""_edit_lock"": [
""1656055077:1""
],
""_edit_last"": [
""1""
]
}
],
""notice"": ""Found""
}"
				
			

GET        https://domain.com/wp-json/traveler/services/rental/{id}

Rental Detail

Allow receiving rental details

Parameters

Body

date-start                       date            Date Start

date-end                        date            Date End

Responses

200: OK 

				
					"{
    ""success"": true,
    ""data"": [
        {
            ""ID"": 1428,
            ""title"": ""Spacious 3 Bedrooms"",
            ""image"": false,
            ""excerpt"": ""Pharetra quis netus vel vehicula class vestibulum nisl donec hendrerit fermentum magna sed amet purus sit nec class sit fringilla tellus volutpat per eget molestie Platea suspendisse eget tortor pharetra magna nam senectus tristique cursus ut odio sollicitudin venenatis natoque dis maecenas magna dignissim sociosqu et sociis accumsan interdum dictum netus quis enim phasellus suscipit […]"",
            ""description"": ""Pharetra quis netus vel vehicula class vestibulum nisl donec hendrerit fermentum magna sed amet purus sit nec class sit fringilla tellus volutpat per eget molestie<span class=\""booking-item-review-more\""> Platea suspendisse eget tortor pharetra magna nam senectus tristique cursus ut odio sollicitudin venenatis natoque dis maecenas magna dignissim sociosqu et sociis accumsan interdum dictum netus quis enim phasellus suscipit nunc donec purus dui himenaeos nulla sociosqu rhoncus dictumst fusce ultricies congue sapien porttitor maecenas fringilla ipsum nam lorem aliquam rhoncus elit himenaeos</span>\r\n\r\nPharetra quis netus vel vehicula class vestibulum nisl donec hendrerit fermentum magna sed amet purus sit nec class sit fringilla tellus volutpat per eget molestie<span class=\""booking-item-review-more\""> Platea suspendisse eget tortor pharetra magna nam senectus tristique cursus ut odio sollicitudin venenatis natoque dis maecenas magna dignissim sociosqu et sociis accumsan interdum dictum netus quis enim phasellus suscipit nunc donec purus dui himenaeos nulla sociosqu rhoncus dictumst fusce ultricies congue sapien porttitor maecenas fringilla ipsum nam lorem aliquam rhoncus elit himenaeos</span>"",
            ""availability"": null,
            ""min_price"": [
                """"
            ],
            ""sale_price"": [
                ""380""
            ],
            ""rate_review"": [
                ""2.1""
            ],
            ""gallery"": [
                ""9189,9188,9187,9186,9185,9184,9183""
            ],
            ""map_lat"": [
                ""37.4315734""
            ],
            ""map_lng"": [
                ""-78.65689420000001""
            ],
            ""map_zoom"": [
                ""13""
            ],
            ""price"": [
                ""380""
            ],
            ""agent_email"": [
                ""dannie.haui@gmail.com""
            ],
            ""agent_website"": [
                ""http://google.com""
            ],
            ""agent_phone"": [
                ""+654234234""
            ],
            ""post_views_count"": [
                """"
            ],
            ""address"": [
                ""Virginia, USA""
            ],
            ""custom_layout"": [
                ""1086""
            ],
            ""_thumbnail_id"": [
                ""9183""
            ],
            ""location_id"": [
                """"
            ],
            ""fetures"": [
                """"
            ],
            ""discount_rate"": [
                """"
            ],
            ""_dp_original"": [
                ""1426""
            ],
            ""_rental_adult"": [
                ""2""
            ],
            ""_rental_bedrooms"": [
                ""2""
            ],
            ""_rental_bathrooms"": [
                ""2""
            ],
            ""is_sale_schedule"": [
                ""off""
            ],
            ""rental_number"": [
                ""5""
            ],
            ""is_featured"": [
                ""off""
            ],
            ""rental_max_adult"": [
                ""3""
            ],
            ""rental_max_children"": [
                ""3""
            ],
            ""rentals_booking_period"": [
                ""0""
            ],
            ""is_meta_payment_gateway_st_submit_form"": [
                ""on""
            ],
            ""is_meta_payment_gateway_st_paypal"": [
                ""on""
            ],
            ""st_rental_external_booking"": [
                ""off""
            ],
            ""multi_location"": [
                ""_1957_,_275_,_7965_,_7967_,_7970_,_1944_,_1945_,_1946_,_1947_,_284_,_1952_,_282_""
            ],
            ""id_location"": [
                """"
            ],
            ""extra_price"": [
                ""a:3:{i:0;a:5:{s:5:\""title\"";s:5:\""Adult\"";s:10:\""extra_name\"";s:11:\""extra_adult\"";s:16:\""extra_max_number\"";s:1:\""2\"";s:11:\""extra_price\"";s:3:\""304\"";s:14:\""extra_required\"";s:3:\""off\"";}i:1;a:5:{s:5:\""title\"";s:8:\""Children\"";s:10:\""extra_name\"";s:14:\""extra_children\"";s:16:\""extra_max_number\"";s:1:\""4\"";s:11:\""extra_price\"";s:3:\""266\"";s:14:\""extra_required\"";s:3:\""off\"";}i:2;a:5:{s:5:\""title\"";s:12:\""Vip services\"";s:10:\""extra_name\"";s:13:\""extra_service\"";s:16:\""extra_max_number\"";s:1:\""5\"";s:11:\""extra_price\"";s:3:\""190\"";s:14:\""extra_required\"";s:3:\""off\"";}}""
            ],
            ""_wpb_vc_js_status"": [
                ""false""
            ],
            ""st_google_map"": [
                ""a:4:{s:3:\""lat\"";s:10:\""37.4315734\"";s:3:\""lng\"";s:18:\""-78.65689420000001\"";s:4:\""zoom\"";s:2:\""13\"";s:4:\""type\"";s:0:\""\"";}""
            ],
            ""enable_street_views_google_map"": [
                ""on""
            ],
            ""show_agent_contact_info"": [
                """"
            ],
            ""extra_price_unit"": [
                ""fixed""
            ],
            ""is_meta_payment_gateway_st_stripe"": [
                ""on""
            ],
            ""is_meta_payment_gateway_st_payfast"": [
                ""on""
            ],
            ""rentals_booking_min_day"": [
                ""1""
            ],
            ""st_street_number"": [
                ""20""
            ],
            ""st_locality"": [
                ""paris""
            ],
            ""st_route"": [
                ""place-des-vosges""
            ],
            ""st_sublocality_level_1"": [
                """"
            ],
            ""st_administrative_area_level_2"": [
                ""paris""
            ],
            ""st_administrative_area_level_1"": [
                ""ile-de-france""
            ],
            ""st_country"": [
                ""france""
            ],
            ""allow_full_day"": [
                ""on""
            ],
            ""discount_by_day"": [
                ""a:1:{i:0;a:4:{s:5:\""title\"";s:8:\""1-3 days\"";s:10:\""number_day\"";s:1:\""1\"";s:13:\""number_day_to\"";s:1:\""3\"";s:8:\""discount\"";s:2:\""10\"";}}""
            ],
            ""st_allow_cancel"": [
                ""on""
            ],
            ""st_cancel_percent"": [
                ""25""
            ],
            ""map_type"": [
                """"
            ],
            ""is_meta_payment_gateway_st_paypal_adaptivepayment"": [
                ""on""
            ],
            ""discount_type_no_day"": [
                ""percent""
            ],
            ""st_cancel_number_days"": [
                ""10""
            ],
            ""is_meta_payment_gateway_st_authorize"": [
                ""on""
            ],
            ""is_meta_payment_gateway_st_payu"": [
                ""on""
            ],
            ""is_meta_payment_gateway_st_skrill"": [
                ""on""
            ],
            ""is_meta_payment_gateway_st_twocheckout"": [
                ""on""
            ],
            ""distance_closest"": [
                ""a:6:{i:0;a:4:{s:5:\""title\"";s:6:\""Center\"";s:4:\""icon\"";s:72:\""http://travelerdata.wpengine.com/wp-content/uploads/2015/01/building.png\"";s:4:\""name\"";s:6:\""Center\"";s:8:\""distance\"";s:6:\""0.5 km\"";}i:1;a:4:{s:5:\""title\"";s:7:\""Airport\"";s:4:\""icon\"";s:71:\""http://travelerdata.wpengine.com/wp-content/uploads/2015/01/airport.png\"";s:4:\""name\"";s:7:\""Airport\"";s:8:\""distance\"";s:7:\""55.0 km\"";}i:2;a:4:{s:5:\""title\"";s:6:\""Market\"";s:4:\""icon\"";s:70:\""http://travelerdata.wpengine.com/wp-content/uploads/2015/01/market.png\"";s:4:\""name\"";s:6:\""Market\"";s:8:\""distance\"";s:6:\""2.0 km\"";}i:3;a:4:{s:5:\""title\"";s:10:\""Restaurant\"";s:4:\""icon\"";s:74:\""http://travelerdata.wpengine.com/wp-content/uploads/2015/01/restaurant.png\"";s:4:\""name\"";s:10:\""Restaurant\"";s:8:\""distance\"";s:6:\""0.5 km\"";}i:4;a:4:{s:5:\""title\"";s:3:\""Bar\"";s:4:\""icon\"";s:67:\""http://travelerdata.wpengine.com/wp-content/uploads/2015/01/bar.png\"";s:4:\""name\"";s:3:\""Bar\"";s:8:\""distance\"";s:6:\""0.2 km\"";}i:5;a:4:{s:5:\""title\"";s:5:\""Beach\"";s:4:\""icon\"";s:69:\""http://travelerdata.wpengine.com/wp-content/uploads/2015/01/beach.png\"";s:4:\""name\"";s:5:\""Beach\"";s:8:\""distance\"";s:6:\""3.0 km\"";}}""
            ],
            ""allow_group_day"": [
                ""on""
            ],
            ""_edit_last"": [
                ""1""
            ],
            ""disable_adult_name"": [
                ""off""
            ],
            ""disable_children_name"": [
                ""off""
            ],
            ""rental_bed"": [
                ""2""
            ],
            ""rental_size"": [
                ""100""
            ],
            ""rental_single_layout_v2"": [
                ""1""
            ],
            ""rental_bath"": [
                ""1""
            ],
            ""_edit_lock"": [
                ""1656056273:1""
            ],
            ""discount_type"": [
                ""percent""
            ],
            ""st_booking_option_type"": [
                ""instant""
            ],
            ""is_meta_payment_gateway_vina_stripe"": [
                ""on""
            ]
        }
    ],
    ""notice"": ""Found""
}"
				
			

GET         https://domain.com/wp-json/traveler/services/cars/{id}

Car Detail

Allow receiving car details

Parameters

Body

date-start                       date            Date Start

date-end                        date            Date End

Responses

200: OK 

				
					"{
    ""success"": true,
    ""data"": [
        {
            ""ID"": 9616,
            ""title"": ""CaliBertuy Car"",
            ""image"": false,
            ""excerpt"": """",
            ""description"": """",
            ""availability"": null,
            ""min_price"": [
                """"
            ],
            ""sale_price"": [
                """"
            ],
            ""rate_review"": [
                ""0""
            ],
            ""_edit_lock"": [
                ""1656295702:1""
            ],
            ""_edit_last"": [
                ""1""
            ],
            ""_thumbnail_id"": [
                ""9185""
            ],
            ""is_featured"": [
                ""off""
            ],
            ""st_google_map"": [
                ""a:4:{s:3:\""lat\"";s:10:\""40.7127753\"";s:3:\""lng\"";s:11:\""-74.0059728\"";s:4:\""zoom\"";s:2:\""22\"";s:4:\""type\"";s:0:\""\"";}""
            ],
            ""multi_location"": [
                ""_1945_""
            ],
            ""enable_street_views_google_map"": [
                ""on""
            ],
            ""st_booking_option_type"": [
                ""instant""
            ],
            ""fee_cancellation"": [
                ""on""
            ],
            ""pay_at_pick_up"": [
                ""on""
            ],
            ""unlimited_mileage"": [
                ""on""
            ],
            ""shuttle_to_car"": [
                ""on""
            ],
            ""car_type"": [
                ""car_transfer""
            ],
            ""price_type"": [
                ""passenger""
            ],
            ""num_passenger"": [
                ""6""
            ],
            ""journey"": [
                ""a:2:{i:0;a:5:{s:5:\""title\"";s:24:\""New York - San Francisco\"";s:13:\""transfer_from\"";s:3:\""275\"";s:11:\""transfer_to\"";s:4:\""1947\"";s:5:\""price\"";s:3:\""450\"";s:6:\""return\"";a:1:{i:0;s:3:\""yes\"";}}i:1;a:5:{s:5:\""title\"";s:22:\""New York - Dylan Hotel\"";s:13:\""transfer_from\"";s:3:\""275\"";s:11:\""transfer_to\"";s:3:\""533\"";s:5:\""price\"";s:3:\""580\"";s:6:\""return\"";a:1:{i:0;s:3:\""yes\"";}}}""
            ],
            ""is_custom_price"": [
                ""price_by_number""
            ],
            ""is_sale_schedule"": [
                ""off""
            ],
            ""number_car"": [
                ""1""
            ],
            ""st_car_external_booking"": [
                ""off""
            ],
            ""st_allow_cancel"": [
                ""off""
            ],
            ""st_cancel_percent"": [
                ""0""
            ],
            ""is_meta_payment_gateway_st_submit_form"": [
                ""on""
            ],
            ""id_location"": [
                """"
            ],
            ""location_id"": [
                """"
            ],
            ""map_lat"": [
                ""40.7127753""
            ],
            ""map_lng"": [
                ""-74.0059728""
            ],
            ""map_zoom"": [
                ""22""
            ],
            ""map_type"": [
                """"
            ],
            ""post_views_count"": [
                """"
            ]
        }
    ],
    ""notice"": ""Found""
}"
				
			

POST        https://domain.com/wp-json/traveler/tour-add-to-cart

Tour add to cart

Allow add to cart

Parameters

Body

item_id*                           int            Item ID

adult_number*                 int            Number Adult

child_number                   int            Number Children

infant_number                  int            Number Infant

starttime_tour                 date          Start time tour

check_in*                       date           Check in

check_out*                     date           Check out

token*                          string            Token of login

extra_price                  string            Extra Price

guest_title                   string            Guest title

guest_name                string            Guest name

hotel_package             string            Hotel Package

activity_package          string            Activity Package

car_name                     string            Car name

car_price                          int              Car price

car_quantity                  string            Car quantity

Responses

200: OK 

				
					"{
    ""data"": {
        ""8543"": {
            ""number"": 1,
            ""price"": 562.5,
            ""data"": {
                ""adult_price"": ""625"",
                ""child_price"": ""300"",
                ""infant_price"": ""100"",
                ""item_id"": ""8543"",
                ""adult_number"": ""1"",
                ""child_number"": 0,
                ""infant_number"": 0,
                ""starttime"": """",
                ""type_tour"": ""daily_tour"",
                ""price_type"": ""person"",
                ""extras"": null,
                ""extra_price"": 0,
                ""guest_title"": null,
                ""guest_name"": null,
                ""package_hotel"": [],
                ""package_hotel_price"": 0,
                ""package_activity"": [],
                ""package_activity_price"": 0,
                ""package_car"": [],
                ""package_car_price"": 0,
                ""package_flight"": [],
                ""package_flight_price"": 0,
                ""check_in"": ""07/19/2022"",
                ""check_out"": ""07/19/2022"",
                ""ori_price"": 562.5,
                ""commission"": 0,
                ""data_price"": {
                    ""adult_price"": 562.5,
                    ""child_price"": 0,
                    ""infant_price"": 0,
                    ""total_price"": 562.5,
                    ""total_price_origin"": 625,
                    ""total_bulk_discount"": 62.5,
                    ""total_bulk_diccount_child"": 0,
                    ""total_bulk_diccount_adult"": 62.5
                },
                ""discount_rate"": 0,
                ""discount_type"": ""percent"",
                ""duration"": ""4 days"",
                ""st_booking_post_type"": ""st_tours"",
                ""st_booking_id"": ""8543"",
                ""sharing"": """",
                ""duration_unit"": """",
                ""title_cart"": ""Harvard: 70-Minute Hahvahd Tour"",
                ""deposit_money"": {
                    ""type"": """",
                    ""amount"": """"
                },
                ""user_id"": 0
            },
            ""title"": ""Harvard: 70-Minute Hahvahd Tour""
        }
    },
    ""success"": true
}"
				
			

POST        https://domain.com/wp-json/traveler/hotel-add-to-cart

Hotel add to cart

Allow add to cart

Parameters

Body

item_id*                           int            Item ID

room_id*                          int            Room ID

room_num_search*        int            Room number search

number_room*                 int            Number Room

adult_number*                 int            Number Adult

child_number                   int            Number Children

check_in*                       date           Check in

check_out*                     date           Check out

token*                          string            Token of login

extra_price                  string            Extra Price

guest_title                   string            Guest title

guest_name                string            Guest name

Responses

200: OK 

				
					"{
    ""data"": {
        ""153"": {
            ""number"": 1,
            ""price"": 178,
            ""data"": {
                ""item_price"": 178,
                ""ori_price"": 178,
                ""sale_price"": 178,
                ""check_in"": ""07/27/2022"",
                ""check_out"": ""07/28/2022"",
                ""room_num_search"": 1,
                ""room_id"": 673,
                ""adult_number"": 1,
                ""child_number"": 0,
                ""extras"": null,
                ""extra_price"": 0,
                ""extra_type"": ""perday"",
                ""commission"": 0,
                ""discount_rate"": 0,
                ""guest_title"": null,
                ""guest_name"": null,
                ""total_price_origin"": 178,
                ""st_booking_post_type"": ""st_hotel"",
                ""st_booking_id"": ""153"",
                ""sharing"": """",
                ""duration_unit"": """",
                ""title_cart"": ""Studio Allston Hotel"",
                ""deposit_money"": {
                    ""type"": """",
                    ""amount"": """"
                },
                ""user_id"": 0
            },
            ""title"": ""Studio Allston Hotel""
        }
    },
    ""success"": true
}"
				
			

POST        https://domain.com/wp-json/traveler/rental-add-to-cart

Rental add to cart

Allow add to cart

Parameters

Body

token*                          string            Token of login

item_id*                           int            Item ID

start*                               Date            Starting date

end*                                Date            Ending date

adult_number*                 int            Number Adult

child_number                   int            Number Children

Responses

200: OK 

				
					{
    "data": {
        "1428": {
            "number": 1,
            "price": 760,
            "data": {
                "item_price": 760,
                "ori_price": 760,
                "check_in": "09/23/2022",
                "check_out": "09/25/2022",
                "adult_number": 1,
                "child_number": 1,
                "extras": null,
                "extra_price": 0,
                "commission": 0,
                "discount_rate": 0,
                "guest_title": null,
                "guest_name": null,
                "total_price_origin": 760,
                "st_booking_post_type": "st_rental",
                "st_booking_id": "1428",
                "sharing": "",
                "duration_unit": "",
                "title_cart": "Spacious 3 Bedrooms",
                "deposit_money": {
                    "type": "",
                    "amount": ""
                },
                "user_id": null
            },
            "title": "Spacious 3 Bedrooms"
        }
    },
    "success": true
}
				
			

POST        https://domain.com/wp-json/traveler/cars-add-to-cart

Car add to cart

Allow add to cart

Parameters

Body

token*                          string            Token of login

item_id*                           int            Item ID

location_id*                     int           Location ID

location_id_drop_off*    int           Location ID Dropping Off

pick-up-date*                date            Picking up date

drop-off-date*                date            Dropping off date

pick-up-time*                date            Picking up time

drop-off-time*                date            Dropping off time

Responses

200: OK 

				
					"{
    ""data"": {
        ""9612"": {
            ""number"": 1,
            ""price"": 0,
            ""data"": {
                ""check_in"": ""07/19/2022"",
                ""check_out"": ""07/22/2022"",
                ""check_in_time"": null,
                ""check_out_time"": ""11:59 PM"",
                ""check_in_timestamp"": 1658188800,
                ""check_out_timestamp"": 1658534340,
                ""location_id"": 275,
                ""location_id_drop_off"": 275,
                ""pick_up"": null,
                ""drop_off"": null,
                ""ori_price"": 0,
                ""item_price"": 0,
                ""sale_price"": 0,
                ""car_title_sale_price"": {
                    ""price"": 0,
                    ""title_price"": []
                },
                ""numberday"": 4,
                ""price_equipment"": 0,
                ""data_equipment"": null,
                ""price_destination"": 0,
                ""data_destination"": 0,
                ""commission"": 0,
                ""discount_rate"": 0,
                ""type_car"": ""st_cars"",
                ""distance"": 1,
                ""price_with_tax"": 0,
                ""st_booking_post_type"": ""st_cars"",
                ""st_booking_id"": ""9612"",
                ""sharing"": """",
                ""duration_unit"": ""day"",
                ""title_cart"": ""Graber Car"",
                ""deposit_money"": {
                    ""type"": """",
                    ""amount"": """"
                },
                ""user_id"": 0
            },
            ""title"": ""Graber Car""
        }
    },
    ""success"": true
}"
				
			

POST        https://domain.com/wp-json/traveler/activity-add-to-cart

Activity add to cart

Allow add to cart

Parameters

Body

token*                          string            Token of login

item_id*                           int            Item ID

adult_number*                 int            Number Adult

child_number*                 int            Number Childern

infant_number*                 int            Number Infants

check_in*                date            Picking up date

check_out*                date            Dropping off date

Responses

200: OK 

				
					"	"{
    ""data"": {
        ""9072"": {
            ""number"": 1,
            ""price"": 197,
            ""data"": {
                ""adult_price"": ""111"",
                ""child_price"": ""86"",
                ""infant_price"": ""55"",
                ""adult_number"": 1,
                ""child_number"": 1,
                ""infant_number"": 0,
                ""type_activity"": ""daily_activity"",
                ""extras"": [],
                ""extra_price"": 0,
                ""check_in"": ""07/19/2022"",
                ""check_out"": ""07/19/2022"",
                ""ori_price"": 197,
                ""commission"": 0,
                ""data_price"": {
                    ""adult_price"": 111,
                    ""child_price"": 86,
                    ""infant_price"": 0,
                    ""total_price"": 197,
                    ""total_price_origin"": 197,
                    ""total_bulk_discount"": 0,
                    ""total_bulk_diccount_child"": 0,
                    ""total_bulk_diccount_adult"": 0
                },
                ""discount_rate"": 0,
                ""guest_title"": null,
                ""guest_name"": null,
                ""discount_type"": ""percent"",
                ""duration"": ""5 Hours"",
                ""st_booking_post_type"": ""st_activity"",
                ""st_booking_id"": ""9072"",
                ""sharing"": """",
                ""duration_unit"": """",
                ""title_cart"": ""Treasure of the Nation Escape Game in Irvine"",
                ""deposit_money"": {
                    ""type"": """",
                    ""amount"": """"
                },
                ""user_id"": 0
            },
            ""title"": ""Treasure of the Nation Escape Game in Irvine""
        }
    },
    ""success"": true
}"
				
			

POST        https://domain.com/wp-json/traveler/checkout

Checkout

Checkout page

Parameters

Body

token*                          string            Token of login

st_first_name*            string            First Name

st_last_name*            string            Last Name

st_email*                      string            Email

st_phone*                      int            Phone Number

st_address                     string          Address

st_address2                   string         Address

st_city                            string         City

st_province                    string         City

st_zip_code                   int         Zip code

st_country                     string         Country

st_note                         string         Note

term_condition                       1

Responses

200: OK 

				
					"{
    ""success"": true,
    ""data"": {
        ""st_first_name"": ""nguyễn "",
        ""st_last_name"": ""cương"",
        ""st_email"": ""nhucuong1423@gmail"",
        ""st_phone"": ""0389627895"",
        ""st_address"": ""trung tu dong da ha noi"",
        ""st_address2"": """",
        ""st_city"": ""ha noi"",
        ""st_province"": ""viet nam"",
        ""st_zip_code"": ""10000"",
        ""st_country"": ""viet nam"",
        ""st_note"": """",
        ""st_payment_gateway"": ""st_submit_form"",
        ""term_condition"": ""1"",
        ""st_cart"": {
            ""987"": {
                ""number"": 1,
                ""price"": 1068,
                ""data"": {
                    ""item_price"": 1068,
                    ""ori_price"": 1068,
                    ""sale_price"": 1068,
                    ""check_in"": ""08/03/2022"",
                    ""check_out"": ""08/07/2022"",
                    ""room_num_search"": 1,
                    ""room_id"": 4584,
                    ""room_name"": ""Junior Suite"",
                    ""adult_number"": 2,
                    ""child_number"": 0,
                    ""extras"": null,
                    ""extra_price"": 0,
                    ""extra_type"": ""perday"",
                    ""commission"": 10,
                    ""discount_rate"": 0,
                    ""guest_title"": null,
                    ""guest_name"": null,
                    ""total_price_origin"": 1068,
                    ""st_booking_post_type"": ""st_hotel"",
                    ""st_booking_id"": ""987"",
                    ""sharing"": """",
                    ""duration_unit"": """",
                    ""title_cart"": ""Studio Allston Hotel"",
                    ""deposit_money"": {
                        ""type"": """",
                        ""amount"": """"
                    },
                    ""user_id"": ""1""
                },
                ""title"": ""Studio Allston Hotel""
            }
        }
    },
    ""notice"": ""Your order was submitted successfully!""
}"
				
			

POST        https://domain.com//wp-json/traveler/order/list-all

Order List All

Order List All

Parameters

Body

token*                          string            Token of login

Responses

200: OK 

				
					"{
    ""success"": true,
    ""data"": [
        {
            ""id"": ""8"",
            ""order_item_id"": ""9291"",
            ""type"": ""normal_booking"",
            ""check_in"": ""08/03/2022"",
            ""check_out"": ""08/07/2022"",
            ""starttime"": null,
            ""st_booking_post_type"": ""st_hotel"",
            ""st_booking_id"": ""987"",
            ""duration"": null,
            ""adult_number"": ""2"",
            ""child_number"": ""0"",
            ""infant_number"": ""0"",
            ""discount"": null,
            ""room_id"": ""4584"",
            ""room_num_search"": ""1"",
            ""check_in_timestamp"": ""1659484800"",
            ""check_out_timestamp"": ""1659830400"",
            ""status"": ""incomplete"",
            ""wc_order_id"": ""9291"",
            ""user_id"": ""1"",
            ""partner_id"": ""1"",
            ""created"": ""2022-07-25"",
            ""commission"": ""10"",
            ""total_order"": ""1068"",
            ""origin_id"": ""987"",
            ""cancel_percent"": null,
            ""cancel_refund"": null,
            ""cancel_refund_status"": null,
            ""return_id"": null,
            ""raw_data"": ""{\""item_price\"":1068,\""ori_price\"":1068,\""sale_price\"":1068,\""check_in\"":\""08\\/03\\/2022\"",\""check_out\"":\""08\\/07\\/2022\"",\""room_num_search\"":1,\""room_id\"":4584,\""room_name\"":\""Junior Suite\"",\""adult_number\"":2,\""child_number\"":0,\""extras\"":null,\""extra_price\"":0,\""extra_type\"":\""perday\"",\""commission\"":10,\""discount_rate\"":0,\""guest_title\"":null,\""guest_name\"":null,\""total_price_origin\"":1068,\""st_booking_post_type\"":\""st_hotel\"",\""st_booking_id\"":\""987\"",\""sharing\"":\""\"",\""duration_unit\"":\""\"",\""title_cart\"":\""Studio Allston Hotel\"",\""deposit_money\"":{\""type\"":\""\"",\""amount\"":\""\""},\""user_id\"":\""1\""}"",
            ""log_mail"": null,
            ""room_origin"": ""4584""
        },
        {
            ""id"": ""7"",
            ""order_item_id"": ""9289"",
            ""type"": ""normal_booking"",
            ""check_in"": ""08/03/2022"",
            ""check_out"": ""08/07/2022"",
            ""starttime"": null,
            ""st_booking_post_type"": ""st_hotel"",
            ""st_booking_id"": ""987"",
            ""duration"": null,
            ""adult_number"": ""2"",
            ""child_number"": ""0"",
            ""infant_number"": ""0"",
            ""discount"": null,
            ""room_id"": ""4584"",
            ""room_num_search"": ""1"",
            ""check_in_timestamp"": ""1659484800"",
            ""check_out_timestamp"": ""1659830400"",
            ""status"": ""incomplete"",
            ""wc_order_id"": ""9289"",
            ""user_id"": ""1"",
            ""partner_id"": ""1"",
            ""created"": ""2022-07-22"",
            ""commission"": ""10"",
            ""total_order"": ""1068"",
            ""origin_id"": ""987"",
            ""cancel_percent"": null,
            ""cancel_refund"": null,
            ""cancel_refund_status"": null,
            ""return_id"": null,
            ""raw_data"": ""{\""item_price\"":1068,\""ori_price\"":1068,\""sale_price\"":1068,\""check_in\"":\""08\\/03\\/2022\"",\""check_out\"":\""08\\/07\\/2022\"",\""room_num_search\"":1,\""room_id\"":4584,\""adult_number\"":2,\""child_number\"":0,\""extras\"":null,\""extra_price\"":0,\""extra_type\"":\""perday\"",\""commission\"":10,\""discount_rate\"":0,\""guest_title\"":null,\""guest_name\"":null,\""total_price_origin\"":1068,\""st_booking_post_type\"":\""st_hotel\"",\""st_booking_id\"":\""987\"",\""sharing\"":\""\"",\""duration_unit\"":\""\"",\""title_cart\"":\""Studio Allston Hotel\"",\""deposit_money\"":{\""type\"":\""\"",\""amount\"":\""\""},\""user_id\"":\""1\""}"",
            ""log_mail"": null,
            ""room_origin"": ""4584""
        },
        {
            ""id"": ""6"",
            ""order_item_id"": ""9288"",
            ""type"": ""normal_booking"",
            ""check_in"": ""08/03/2022"",
            ""check_out"": ""08/07/2022"",
            ""starttime"": null,
            ""st_booking_post_type"": ""st_hotel"",
            ""st_booking_id"": ""987"",
            ""duration"": null,
            ""adult_number"": ""2"",
            ""child_number"": ""0"",
            ""infant_number"": ""0"",
            ""discount"": null,
            ""room_id"": ""4584"",
            ""room_num_search"": ""1"",
            ""check_in_timestamp"": ""1659484800"",
            ""check_out_timestamp"": ""1659830400"",
            ""status"": ""incomplete"",
            ""wc_order_id"": ""9288"",
            ""user_id"": ""1"",
            ""partner_id"": ""1"",
            ""created"": ""2022-07-22"",
            ""commission"": ""10"",
            ""total_order"": ""1068"",
            ""origin_id"": ""987"",
            ""cancel_percent"": null,
            ""cancel_refund"": null,
            ""cancel_refund_status"": null,
            ""return_id"": null,
            ""raw_data"": ""{\""item_price\"":1068,\""ori_price\"":1068,\""sale_price\"":1068,\""check_in\"":\""08\\/03\\/2022\"",\""check_out\"":\""08\\/07\\/2022\"",\""room_num_search\"":1,\""room_id\"":4584,\""adult_number\"":2,\""child_number\"":0,\""extras\"":null,\""extra_price\"":0,\""extra_type\"":\""perday\"",\""commission\"":10,\""discount_rate\"":0,\""guest_title\"":null,\""guest_name\"":null,\""total_price_origin\"":1068,\""st_booking_post_type\"":\""st_hotel\"",\""st_booking_id\"":\""987\"",\""sharing\"":\""\"",\""duration_unit\"":\""\"",\""title_cart\"":\""Studio Allston Hotel\"",\""deposit_money\"":{\""type\"":\""\"",\""amount\"":\""\""},\""user_id\"":\""1\""}"",
            ""log_mail"": null,
            ""room_origin"": ""4584""
        },
        {
            ""id"": ""5"",
            ""order_item_id"": ""9286"",
            ""type"": ""normal_booking"",
            ""check_in"": ""08/02/2022"",
            ""check_out"": ""08/06/2022"",
            ""starttime"": null,
            ""st_booking_post_type"": ""st_hotel"",
            ""st_booking_id"": ""987"",
            ""duration"": null,
            ""adult_number"": ""2"",
            ""child_number"": ""0"",
            ""infant_number"": ""0"",
            ""discount"": null,
            ""room_id"": ""4584"",
            ""room_num_search"": ""1"",
            ""check_in_timestamp"": ""1659398400"",
            ""check_out_timestamp"": ""1659744000"",
            ""status"": ""incomplete"",
            ""wc_order_id"": ""9286"",
            ""user_id"": ""1"",
            ""partner_id"": ""1"",
            ""created"": ""2022-07-22"",
            ""commission"": ""10"",
            ""total_order"": ""1068"",
            ""origin_id"": ""987"",
            ""cancel_percent"": null,
            ""cancel_refund"": null,
            ""cancel_refund_status"": null,
            ""return_id"": null,
            ""raw_data"": ""{\""item_price\"":1068,\""ori_price\"":1068,\""sale_price\"":1068,\""check_in\"":\""08\\/02\\/2022\"",\""check_out\"":\""08\\/06\\/2022\"",\""room_num_search\"":1,\""room_id\"":4584,\""adult_number\"":2,\""child_number\"":0,\""extras\"":null,\""extra_price\"":0,\""extra_type\"":\""perday\"",\""commission\"":10,\""discount_rate\"":0,\""guest_title\"":null,\""guest_name\"":null,\""total_price_origin\"":1068,\""st_booking_post_type\"":\""st_hotel\"",\""st_booking_id\"":\""987\"",\""sharing\"":\""\"",\""duration_unit\"":\""\"",\""title_cart\"":\""Studio Allston Hotel\"",\""deposit_money\"":{\""type\"":\""\"",\""amount\"":\""\""},\""user_id\"":\""1\""}"",
            ""log_mail"": null,
            ""room_origin"": ""4584""
        },
        {
            ""id"": ""2"",
            ""order_item_id"": ""9277"",
            ""type"": ""normal_booking"",
            ""check_in"": ""08/02/2022"",
            ""check_out"": ""08/06/2022"",
            ""starttime"": null,
            ""st_booking_post_type"": ""st_hotel"",
            ""st_booking_id"": ""987"",
            ""duration"": null,
            ""adult_number"": ""1"",
            ""child_number"": ""0"",
            ""infant_number"": ""0"",
            ""discount"": null,
            ""room_id"": ""4584"",
            ""room_num_search"": ""1"",
            ""check_in_timestamp"": ""1659398400"",
            ""check_out_timestamp"": ""1659744000"",
            ""status"": ""incomplete"",
            ""wc_order_id"": ""9277"",
            ""user_id"": ""1"",
            ""partner_id"": ""1"",
            ""created"": ""2022-07-22"",
            ""commission"": ""10"",
            ""total_order"": ""1068"",
            ""origin_id"": ""987"",
            ""cancel_percent"": null,
            ""cancel_refund"": null,
            ""cancel_refund_status"": null,
            ""return_id"": null,
            ""raw_data"": ""{\""item_price\"":1068,\""ori_price\"":1068,\""sale_price\"":1068,\""check_in\"":\""08\\/02\\/2022\"",\""check_out\"":\""08\\/06\\/2022\"",\""room_num_search\"":1,\""room_id\"":4584,\""adult_number\"":1,\""child_number\"":0,\""extras\"":null,\""extra_price\"":0,\""extra_type\"":\""perday\"",\""commission\"":10,\""discount_rate\"":0,\""guest_title\"":null,\""guest_name\"":null,\""total_price_origin\"":1068,\""st_booking_post_type\"":\""st_hotel\"",\""st_booking_id\"":\""987\"",\""sharing\"":\""\"",\""duration_unit\"":\""\"",\""title_cart\"":\""Studio Allston Hotel\"",\""deposit_money\"":{\""type\"":\""\"",\""amount\"":\""\""},\""user_id\"":\""1\""}"",
            ""log_mail"": null,
            ""room_origin"": ""4584""
        }
    ],
    ""notice"": ""Found""
}a
				
			

POST        https://domain.com/wp-json/traveler/order/list-all

Order List All for account admin

Order List All for account admin

Parameters

Body

token                          string            Token of login

admin_key*               string            Theme Options > Other Options > Traveler Rest API Key

paged                          int            Number page

Responses

200: OK 

				
					{
    "success": true,
    "data": [
        {
            "id": "5",
            "order_item_id": "10166",
            "type": "normal_booking",
            "check_in": "09/25/2022",
            "check_out": "09/29/2022",
            "starttime": null,
            "st_booking_post_type": "st_hotel",
            "st_booking_id": "988",
            "duration": null,
            "adult_number": "1",
            "child_number": "0",
            "infant_number": "0",
            "discount": null,
            "room_id": "4583",
            "room_num_search": "1",
            "check_in_timestamp": "1664064000",
            "check_out_timestamp": "1664409600",
            "status": "incomplete",
            "wc_order_id": "10166",
            "user_id": "1",
            "partner_id": "1",
            "created": "2022-09-22",
            "commission": "0",
            "total_order": "976",
            "origin_id": "988",
            "cancel_percent": null,
            "cancel_refund": null,
            "cancel_refund_status": null,
            "return_id": null,
            "raw_data": "{\"item_price\":976,\"ori_price\":976,\"sale_price\":976,\"check_in\":\"09\\/25\\/2022\",\"check_out\":\"09\\/29\\/2022\",\"room_num_search\":1,\"room_id\":4583,\"adult_number\":1,\"child_number\":0,\"extras\":{\"value\":{\"extra_adult\":\"0\",\"extra_children\":\"0\",\"extra_service\":\"0\"},\"price\":{\"extra_adult\":\"195.2\",\"extra_children\":\"170.8\",\"extra_service\":\"122\"},\"title\":{\"extra_adult\":\"Adult\",\"extra_children\":\"Children\",\"extra_service\":\"Vip services\"}},\"extra_price\":0,\"extra_type\":\"perday\",\"commission\":0,\"discount_rate\":0,\"guest_title\":[\"mr\"],\"guest_name\":[\"mai\"],\"total_price_origin\":976,\"st_booking_post_type\":\"st_hotel\",\"st_booking_id\":988,\"sharing\":\"\",\"duration_unit\":\"\",\"title_cart\":\"EnVision Hotel Boston\",\"deposit_money\":{\"type\":\"\",\"amount\":\"\"},\"user_id\":1}",
            "log_mail": null,
            "room_origin": "4583"
        },
        {
            "id": "4",
            "order_item_id": "9651",
            "type": "normal_booking",
            "check_in": "12/12/2019",
            "check_out": "12/12/2019",
            "starttime": "",
            "st_booking_post_type": "st_tours",
            "st_booking_id": "8834",
            "duration": "8 hours",
            "adult_number": "1",
            "child_number": "0",
            "infant_number": "0",
            "discount": null,
            "room_id": null,
            "room_num_search": null,
            "check_in_timestamp": "1576108800",
            "check_out_timestamp": "1576108800",
            "status": "pending",
            "wc_order_id": "9651",
            "user_id": "137",
            "partner_id": "1",
            "created": "2019-12-12",
            "commission": "10",
            "total_order": "89",
            "origin_id": "8834",
            "cancel_percent": null,
            "cancel_refund": null,
            "cancel_refund_status": null,
            "return_id": null,
            "raw_data": "{\"adult_price\":\"100\",\"child_price\":\"600\",\"infant_price\":\"500\",\"adult_number\":1,\"child_number\":0,\"infant_number\":0,\"starttime\":\"\",\"type_tour\":\"daily_tour\",\"price_type\":\"person\",\"extras\":[],\"extra_price\":0,\"guest_title\":false,\"guest_name\":false,\"package_hotel\":[],\"package_hotel_price\":0,\"package_activity\":[],\"package_activity_price\":0,\"package_car\":[],\"package_car_price\":0,\"package_flight\":[],\"package_flight_price\":0,\"check_in\":\"12\\/12\\/2019\",\"check_out\":\"12\\/12\\/2019\",\"ori_price\":89,\"commission\":10,\"data_price\":{\"adult_price\":100,\"child_price\":0,\"infant_price\":0,\"total_price\":100},\"discount_rate\":11,\"duration\":\"8 hours\",\"st_booking_post_type\":\"st_tours\",\"st_booking_id\":\"8834\",\"sharing\":\"\",\"duration_unit\":\"\",\"deposit_money\":{\"type\":\"\",\"amount\":\"\"},\"user_id\":\"137\"}",
            "log_mail": null,
            "room_origin": null
        },
        {
            "id": "3",
            "order_item_id": "9635",
            "type": "normal_booking",
            "check_in": "12/10/2019",
            "check_out": "12/13/2019",
            "starttime": null,
            "st_booking_post_type": "st_cars",
            "st_booking_id": "9340",
            "duration": null,
            "adult_number": "0",
            "child_number": "0",
            "infant_number": "0",
            "discount": null,
            "room_id": null,
            "room_num_search": null,
            "check_in_timestamp": "1575936000",
            "check_out_timestamp": "1576195200",
            "status": "pending",
            "wc_order_id": "9635",
            "user_id": "1",
            "partner_id": "1",
            "created": "2019-10-31",
            "commission": "10",
            "total_order": "15",
            "origin_id": "9340",
            "cancel_percent": null,
            "cancel_refund": null,
            "cancel_refund_status": null,
            "return_id": null,
            "raw_data": "{\"check_in\":\"12\\/10\\/2019\",\"check_out\":\"12\\/13\\/2019\",\"check_in_time\":\"12:00 AM\",\"check_out_time\":\"12:00 AM\",\"check_in_timestamp\":1575936000,\"check_out_timestamp\":1576195200,\"location_id\":1957,\"location_id_drop_off\":null,\"pick_up\":\"United States\",\"drop_off\":\"United States\",\"ori_price\":15,\"item_price\":5,\"sale_price\":15,\"numberday\":3,\"price_equipment\":0,\"data_equipment\":[],\"price_destination\":0,\"data_destination\":0,\"commission\":10,\"discount_rate\":0,\"type_car\":\"st_cars\",\"distance\":1,\"price_with_tax\":16.5,\"st_booking_post_type\":\"st_cars\",\"st_booking_id\":\"9340\",\"sharing\":\"\",\"duration_unit\":\"day\",\"deposit_money\":{\"type\":\"\",\"amount\":\"\"},\"user_id\":1}",
            "log_mail": null,
            "room_origin": null
        },
        {
            "id": "2",
            "order_item_id": "9576",
            "type": "normal_booking",
            "check_in": "07/05/2019",
            "check_out": "07/12/2019",
            "starttime": null,
            "st_booking_post_type": "st_hotel",
            "st_booking_id": "981",
            "duration": null,
            "adult_number": "1",
            "child_number": "0",
            "infant_number": "0",
            "discount": null,
            "room_id": "4590",
            "room_num_search": "1",
            "check_in_timestamp": "1562284800",
            "check_out_timestamp": "1562889600",
            "status": "pending",
            "wc_order_id": "9576",
            "user_id": "22",
            "partner_id": "1",
            "created": "2019-06-26",
            "commission": "10",
            "total_order": "1764",
            "origin_id": "981",
            "cancel_percent": null,
            "cancel_refund": null,
            "cancel_refund_status": null,
            "return_id": null,
            "raw_data": "{\"item_price\":280,\"ori_price\":1764,\"check_in\":\"07\\/05\\/2019\",\"check_out\":\"07\\/12\\/2019\",\"room_num_search\":1,\"room_id\":4590,\"adult_number\":1,\"child_number\":0,\"extras\":{\"value\":{\"extra_adult\":\"0\",\"extra_children\":\"0\",\"extra_service\":\"0\"},\"price\":{\"extra_adult\":\"224\",\"extra_children\":\"196\",\"extra_service\":\"140\"},\"title\":{\"extra_adult\":\"Adult\",\"extra_children\":\"Children\",\"extra_service\":\"Vip services\"}},\"extra_price\":0,\"commission\":10,\"discount_rate\":10,\"guest_title\":false,\"guest_name\":false,\"st_booking_post_type\":\"st_hotel\",\"st_booking_id\":981,\"sharing\":\"\",\"duration_unit\":\"\",\"deposit_money\":{\"type\":\"\",\"amount\":\"\"},\"user_id\":\"22\"}",
            "log_mail": null,
            "room_origin": "4590"
        },
        {
            "id": "1",
            "order_item_id": "9574",
            "type": "normal_booking",
            "check_in": "07/08/2019",
            "check_out": "07/15/2019",
            "starttime": null,
            "st_booking_post_type": "st_hotel",
            "st_booking_id": "981",
            "duration": null,
            "adult_number": "1",
            "child_number": "0",
            "infant_number": "0",
            "discount": null,
            "room_id": "4590",
            "room_num_search": "1",
            "check_in_timestamp": "1562544000",
            "check_out_timestamp": "1563148800",
            "status": "pending",
            "wc_order_id": "9574",
            "user_id": "17",
            "partner_id": "1",
            "created": "2019-06-22",
            "commission": "10",
            "total_order": "1764",
            "origin_id": "981",
            "cancel_percent": null,
            "cancel_refund": null,
            "cancel_refund_status": null,
            "return_id": null,
            "raw_data": "{\"item_price\":280,\"ori_price\":1764,\"check_in\":\"07\\/08\\/2019\",\"check_out\":\"07\\/15\\/2019\",\"room_num_search\":1,\"room_id\":4590,\"adult_number\":1,\"child_number\":0,\"extras\":{\"value\":{\"extra_adult\":\"0\",\"extra_children\":\"0\",\"extra_service\":\"0\"},\"price\":{\"extra_adult\":\"224\",\"extra_children\":\"196\",\"extra_service\":\"140\"},\"title\":{\"extra_adult\":\"Adult\",\"extra_children\":\"Children\",\"extra_service\":\"Vip services\"}},\"extra_price\":0,\"commission\":10,\"discount_rate\":10,\"guest_title\":false,\"guest_name\":false,\"st_booking_post_type\":\"st_hotel\",\"st_booking_id\":981,\"sharing\":\"\",\"duration_unit\":\"\",\"deposit_money\":{\"type\":\"\",\"amount\":\"\"},\"user_id\":\"17\"}",
            "log_mail": null,
            "room_origin": "4590"
        }
    ],
    "notice": "Found"
}
				
			

GET        https://domain.com/wp-json/traveler/order/{order-id}

Order Detail

Order Detail

Parameters

Body

order-id                          string            order ID

Responses

200: OK 

				
					{
 "{
    ""success"": true,
    ""data"": {
        ""rate_review"": [
            ""0""
        ],
        ""st_first_name"": [
            ""nguyễn ""
        ],
        ""st_last_name"": [
            ""cương""
        ],
        ""st_email"": [
            ""nhucuong1423@gmail""
        ],
        ""st_phone"": [
            ""0389627895""
        ],
        ""st_address"": [
            ""trung tu dong da ha noi""
        ],
        ""st_address2"": [
            """"
        ],
        ""st_city"": [
            ""ha noi""
        ],
        ""st_province"": [
            ""viet nam""
        ],
        ""st_zip_code"": [
            ""10000""
        ],
        ""st_country"": [
            ""viet nam""
        ],
        ""st_note"": [
            """"
        ],
        ""id_user"": [
            ""1""
        ],
        ""item_price"": [
            ""1068""
        ],
        ""item_id"": [
            ""987""
        ],
        ""item_number"": [
            ""1""
        ],
        ""item_post_type"": [
            ""st_hotel""
        ],
        ""ori_price"": [
            ""1068""
        ],
        ""sale_price"": [
            ""1068""
        ],
        ""check_in"": ""08/03/2022"",
        ""check_out"": ""08/07/2022"",
        ""room_num_search"": ""1"",
        ""room_id"": ""4584"",
        ""room_name"": [
            ""Junior Suite""
        ],
        ""adult_number"": ""2"",
        ""child_number"": ""0"",
        ""extras"": [
            null
        ],
        ""extra_price"": [
            ""0""
        ],
        ""extra_type"": [
            ""perday""
        ],
        ""commission"": ""10"",
        ""discount_rate"": [
            ""0""
        ],
        ""guest_title"": [
            null
        ],
        ""guest_name"": [
            null
        ],
        ""total_price_origin"": [
            ""1068""
        ],
        ""st_booking_post_type"": ""st_hotel"",
        ""st_booking_id"": ""987"",
        ""sharing"": [
            """"
        ],
        ""duration_unit"": [
            """"
        ],
        ""title_cart"": [
            ""Studio Allston Hotel""
        ],
        ""deposit_money"": [
            ""a:2:{s:4:\""type\"";s:0:\""\"";s:6:\""amount\"";s:0:\""\"";}""
        ],
        ""user_id"": ""1"",
        ""st_tax"": [
            ""10""
        ],
        ""st_tax_percent"": [
            ""10""
        ],
        ""st_is_tax_included_listing_page"": [
            ""off""
        ],
        ""currency"": [
            ""a:9:{s:5:\""title\"";s:3:\""EUR\"";s:4:\""name\"";s:3:\""EUR\"";s:6:\""symbol\"";s:3:\""€\"";s:4:\""rate\"";s:1:\""1\"";s:20:\""booking_currency_pos\"";s:4:\""left\"";s:20:\""currency_rtl_support\"";s:3:\""off\"";s:18:\""thousand_separator\"";s:1:\"".\"";s:17:\""decimal_separator\"";s:1:\"",\"";s:26:\""booking_currency_precision\"";s:1:\""2\"";}""
        ],
        ""status"": ""incomplete"",
        ""st_cart_info"": [
            ""a:1:{i:987;a:4:{s:6:\""number\"";i:1;s:5:\""price\"";d:1068;s:4:\""data\"";a:25:{s:10:\""item_price\"";d:1068;s:9:\""ori_price\"";d:1068;s:10:\""sale_price\"";d:1068;s:8:\""check_in\"";s:10:\""08/03/2022\"";s:9:\""check_out\"";s:10:\""08/07/2022\"";s:15:\""room_num_search\"";i:1;s:7:\""room_id\"";i:4584;s:9:\""room_name\"";s:12:\""Junior Suite\"";s:12:\""adult_number\"";i:2;s:12:\""child_number\"";i:0;s:6:\""extras\"";N;s:11:\""extra_price\"";i:0;s:10:\""extra_type\"";s:6:\""perday\"";s:10:\""commission\"";d:10;s:13:\""discount_rate\"";d:0;s:11:\""guest_title\"";N;s:10:\""guest_name\"";N;s:18:\""total_price_origin\"";d:1068;s:20:\""st_booking_post_type\"";s:8:\""st_hotel\"";s:13:\""st_booking_id\"";s:3:\""987\"";s:7:\""sharing\"";s:0:\""\"";s:13:\""duration_unit\"";s:0:\""\"";s:10:\""title_cart\"";s:20:\""Studio Allston Hotel\"";s:13:\""deposit_money\"";a:2:{s:4:\""type\"";s:0:\""\"";s:6:\""amount\"";s:0:\""\"";}s:7:\""user_id\"";s:1:\""1\"";}s:5:\""title\"";s:20:\""Studio Allston Hotel\"";}}""
        ],
        ""total_price"": [
            ""1174.8""
        ],
        ""ip_address"": [
            ""::1""
        ],
        ""order_token_code"": [
            ""c3998491e9dcfeecb33b701f7b0a92da""
        ],
        ""data_prices"": [
            ""a:9:{s:12:\""origin_price\"";d:1068;s:10:\""sale_price\"";d:1068;s:12:\""coupon_price\"";i:0;s:11:\""total_price\"";d:1174.799999999999954525264911353588104248046875;s:13:\""deposit_price\"";d:1174.799999999999954525264911353588104248046875;s:17:\""booking_fee_price\"";i:0;s:18:\""total_price_origin\"";d:1068;s:14:\""price_with_tax\"";d:1174.799999999999954525264911353588104248046875;s:20:\""total_price_with_tax\"";d:1174.799999999999954525264911353588104248046875;}""
        ],
        ""booking_by"": [
            """"
        ],
        ""payment_method"": [
            ""st_submit_form""
        ],
        ""payment_method_name"": [
            ""Bank Transfer""
        ],
        ""id"": ""8"",
        ""order_item_id"": ""9291"",
        ""type"": ""normal_booking"",
        ""starttime"": null,
        ""duration"": null,
        ""infant_number"": ""0"",
        ""discount"": null,
        ""check_in_timestamp"": ""1659484800"",
        ""check_out_timestamp"": ""1659830400"",
        ""wc_order_id"": ""9291"",
        ""partner_id"": ""1"",
        ""created"": ""2022-07-25"",
        ""total_order"": ""1068"",
        ""origin_id"": ""987"",
        ""cancel_percent"": null,
        ""cancel_refund"": null,
        ""cancel_refund_status"": null,
        ""return_id"": null,
        ""raw_data"": ""{\""item_price\"":1068,\""ori_price\"":1068,\""sale_price\"":1068,\""check_in\"":\""08\\/03\\/2022\"",\""check_out\"":\""08\\/07\\/2022\"",\""room_num_search\"":1,\""room_id\"":4584,\""room_name\"":\""Junior Suite\"",\""adult_number\"":2,\""child_number\"":0,\""extras\"":null,\""extra_price\"":0,\""extra_type\"":\""perday\"",\""commission\"":10,\""discount_rate\"":0,\""guest_title\"":null,\""guest_name\"":null,\""total_price_origin\"":1068,\""st_booking_post_type\"":\""st_hotel\"",\""st_booking_id\"":\""987\"",\""sharing\"":\""\"",\""duration_unit\"":\""\"",\""title_cart\"":\""Studio Allston Hotel\"",\""deposit_money\"":{\""type\"":\""\"",\""amount\"":\""\""},\""user_id\"":\""1\""}"",
        ""log_mail"": null,
        ""room_origin"": ""4584""
    },
    ""notice"": ""Found""
}"
				
			

GET        https://domain.com/wp-json/traveler/activity-filter

Filter Activity

Filter Activity

Parameters

Body

price_range                 Number           Range of price

star_rate                      Number            Star Rate

activity_tax                   Number            Tax of activity

location_id                   Number            Location ID

start_date                    Date                    Starting Date

end_date                     Date                    Ending Date

posts_per_page         Number                    Posts per page

paged                           Number                    Number of page

Responses

200: OK 

				
					{
    "{
    ""success"": true,
    ""data"": [
        {
            ""ID"": ""1482"",
            ""title"": ""Voices Escape Room Game in Lancaster"",
            ""link"": ""http://localhost/modtel/st_activity/voices-escape-room-game-in-lancaster/"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""New Jersey"",
            ""rate_review"": ""5"",
            ""price"": ""600"",
            ""discount"": """",
            ""duration"": ""Full days""
        },
        {
            ""ID"": ""1483"",
            ""title"": ""Greenbar Distillery Tour & Tasting in Los Angeles"",
            ""link"": ""http://localhost/modtel/st_activity/greenbar-distillery-tour-tasting-in-los-angeles/"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""California"",
            ""rate_review"": ""5"",
            ""price"": ""200"",
            ""discount"": """",
            ""duration"": ""Multi days""
        },
        {
            ""ID"": ""1451"",
            ""title"": ""Three-Hour South Beach Lunch Tour"",
            ""link"": ""http://localhost/modtel/st_activity/three-hour-south-beach-lunch-tour/"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""San Francisco"",
            ""rate_review"": ""5"",
            ""price"": ""600"",
            ""discount"": ""15"",
            ""duration"": ""full days""
        }
    ],
    ""notice"": ""Found""
}"
}
				
			

GET        https://domain.com/wp-json/traveler/tour-filter

Filter Tour

Filter Tour

Parameters

Body

price_range                 Number           Range of price

star_rate                      Number            Star Rate

tour_tax                   Number            Tax of tour

location_id                   Number            Location ID

start_date                    Date                    Starting Date

end_date                     Date                    Ending Date

posts_per_page         Number                    Posts per page

paged                           Number                    Number of page

Responses

200: OK 

				
					{
   "{
    ""success"": true,
    ""data"": [
        {
            ""ID"": ""974"",
            ""title"": ""Western Blt From San Francisco"",
            ""link"": ""http://localhost/modtel/st_tour/western-blt-from-san-francisco/"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""New York City"",
            ""rate_review"": ""5"",
            ""price"": ""300"",
            ""discount"": """",
            ""duration_day"": ""5 hours""
        },
        {
            ""ID"": ""973"",
            ""title"": ""California and the Golden West Summer 2019"",
            ""link"": ""http://localhost/modtel/st_tour/california-and-the-golden-west-summer-2019/"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Delaware"",
            ""rate_review"": ""5"",
            ""price"": ""160"",
            ""discount"": """",
            ""duration_day"": ""full day""
        },
        {
            ""ID"": ""972"",
            ""title"": ""River Cruise Tour on the Seine Eum eu albucius perfecto"",
            ""link"": ""http://localhost/modtel/st_tour/river-cruise-tour-on-the-seine/"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""California"",
            ""rate_review"": ""5"",
            ""price"": ""200"",
            ""discount"": """",
            ""duration_day"": ""2 days""
        }
    ],
    ""notice"": ""Found""
}" // Response
}
				
			

GET        https://domain.com/wp-json/traveler/car-filter

Filter Car

Filter Car

Parameters

Body

price_range                 Number           Range of price

car_tax                         Number            Tax of car

location_id                   Number            Location ID

drop_off_date             Date                    Dropping Off Date

pick_up_date              Date                    Picking Up Date

drop_off_time             Time                    Dropping Off Time

pick_up_time              Time                    Picking Up Time

posts_per_page         Number                    Posts per page

paged                           Number                    Number of page

Responses

200: OK 

				
					{
    "{
    ""success"": true,
    ""data"": [
        {
            ""ID"": ""1291"",
            ""title"": ""Toyota Sequoia 4dr SUV"",
            ""link"": ""http://localhost/modtel/st_car/toyota-sequoia-4dr-suv/"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""avatar_html"": ""<a href=\""http://localhost/modtel/function-partner-page/?partner_id=1\"" target=\""_blank\"" title=\""modtel\""  class=\""service-avatar\""><img alt='' src='http://2.gravatar.com/avatar/bf24ad49df751c3f1d84ef7a41098099?s=70&#038;d=mm&#038;r=g' srcset='http://2.gravatar.com/avatar/bf24ad49df751c3f1d84ef7a41098099?s=140&#038;d=mm&#038;r=g 2x' class='avatar avatar-70 photo' height='70' width='70' loading='lazy' decoding='async'/></a>"",
            ""car_type"": ""Convertibles"",
            ""price"": ""72"",
            ""discount"": ""10"",
            ""pasenger"": 4,
            ""auto_transmission"": """",
            ""baggage"": 4,
            ""door"": 4,
            ""unit"": ""Day""
        },
        {
            ""ID"": ""1290"",
            ""title"": ""Toyota Sequoia Limited"",
            ""link"": ""http://localhost/modtel/st_car/toyota-sequoia-limited/"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""avatar_html"": ""<a href=\""http://localhost/modtel/function-partner-page/?partner_id=1\"" target=\""_blank\"" title=\""modtel\""  class=\""service-avatar\""><img alt='' src='http://2.gravatar.com/avatar/bf24ad49df751c3f1d84ef7a41098099?s=70&#038;d=mm&#038;r=g' srcset='http://2.gravatar.com/avatar/bf24ad49df751c3f1d84ef7a41098099?s=140&#038;d=mm&#038;r=g 2x' class='avatar avatar-70 photo' height='70' width='70' loading='lazy' decoding='async'/></a>"",
            ""car_type"": ""Convertibles"",
            ""price"": ""54"",
            ""discount"": ""10"",
            ""pasenger"": 4,
            ""auto_transmission"": """",
            ""baggage"": 4,
            ""door"": 4,
            ""unit"": ""Day""
        },
        {
            ""ID"": ""1289"",
            ""title"": ""Tesla Model 3"",
            ""link"": ""http://localhost/modtel/st_car/tesla-model-3/"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""avatar_html"": ""<a href=\""http://localhost/modtel/function-partner-page/?partner_id=1\"" target=\""_blank\"" title=\""modtel\""  class=\""service-avatar\""><img alt='' src='http://2.gravatar.com/avatar/bf24ad49df751c3f1d84ef7a41098099?s=70&#038;d=mm&#038;r=g' srcset='http://2.gravatar.com/avatar/bf24ad49df751c3f1d84ef7a41098099?s=140&#038;d=mm&#038;r=g 2x' class='avatar avatar-70 photo' height='70' width='70' loading='lazy' decoding='async'/></a>"",
            ""car_type"": ""Convertibles"",
            ""price"": ""70"",
            ""discount"": """",
            ""pasenger"": 4,
            ""auto_transmission"": """",
            ""baggage"": 4,
            ""door"": 4,
            ""unit"": ""Day""
        }
    ],
    ""notice"": ""Found""
}"
}
				
			

GET        https://domain.com/wp-json/traveler/hotel-filter

Filter Hotel

Filter Hotel

Parameters

Body

price_range                    Number           Range of price

star_rate                          Number           Star Rate

hotel_rate                        Number           Hotel Rate

hotel_tax                          Number           Hotel Tax

location_id                       Number            Location ID

start                                    Date                    Starting Date

end                                     Date                    Ending Date

adult_number                 Number                    Number of adult

children_num                  Number                    Number of children

room_num_search         Number                    Room number search

posts_per_page             Number                    Posts per page

paged                              Number                    Number of page

Responses

200: OK 

				
					{
"{
    ""success"": true,
    ""data"": [
        {
            ""ID"": ""90"",
            ""title"": ""Hotel WBF Hommachi"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Los Angeles"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€200.00""
        },
        {
            ""ID"": ""129"",
            ""title"": ""Parian Holiday Villas"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""California"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€185.00""
        },
        {
            ""ID"": ""67"",
            ""title"": ""Furama Chiang Mai"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Nevada"",
            ""rate_review"": ""4.8"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€180.00""
        },
        {
            ""ID"": ""130"",
            ""title"": ""Hotel Astotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Nevada"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€140.00""
        },
        {
            ""ID"": ""138"",
            ""title"": ""The May Fair Hotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Nevada"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€170.00""
        },
        {
            ""ID"": ""145"",
            ""title"": ""EnVision Hotel Boston"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Los Angeles"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€180.00""
        },
        {
            ""ID"": ""153"",
            ""title"": ""Studio Allston Hotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""California"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€160.00""
        },
        {
            ""ID"": ""172"",
            ""title"": ""Hotel Malte – Astotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Los Angeles"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€136.00""
        },
        {
            ""ID"": ""180"",
            ""title"": ""Hotel Ascot Opera"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Nevada"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€150.00""
        },
        {
            ""ID"": ""187"",
            ""title"": ""Grand Desert Resort"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Delaware"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€163.00""
        },
        {
            ""ID"": ""194"",
            ""title"": ""SLS Las Vegas Hotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Philadelphia"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€163.00""
        },
        {
            ""ID"": ""200"",
            ""title"": ""Stewart Hotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""New York City"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€160.00""
        },
        {
            ""ID"": ""209"",
            ""title"": ""Crowne Plaza Hotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""New Jersey"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€195.00""
        },
        {
            ""ID"": ""216"",
            ""title"": ""Castello Casole Hotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""New York City"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€150.00""
        },
        {
            ""ID"": ""223"",
            ""title"": ""Shinagawa Prince Hotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Delaware"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€200.00""
        },
        {
            ""ID"": ""230"",
            ""title"": ""Royal Garden Hotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""California"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€165.00""
        },
        {
            ""ID"": ""236"",
            ""title"": ""Park West Hotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""San Francisco"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€130.00""
        },
        {
            ""ID"": ""243"",
            ""title"": ""Hyatt Centric Times Square"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Philadelphia"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€155.00""
        },
        {
            ""ID"": ""250"",
            ""title"": ""Edwardian Kenilworth"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Virginia"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€254.00""
        },
        {
            ""ID"": ""257"",
            ""title"": ""Redac Gateway Hotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Los Angeles"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€136.00""
        },
        {
            ""ID"": ""264"",
            ""title"": ""Eastern Discovery"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""New York City"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€100.00""
        },
        {
            ""ID"": ""271"",
            ""title"": ""Southwest States"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""Los Angeles"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€150.00""
        },
        {
            ""ID"": ""279"",
            ""title"": ""TreeHouse Villas"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""California City, CA, USA"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€160.00""
        },
        {
            ""ID"": ""285"",
            ""title"": ""Vnahomes Aparhotel"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""location"": ""San Francisco"",
            ""rate_review"": ""5"",
            ""rate_text"": ""Excellent"",
            ""price"": ""€150.00""
        }
    ],
    ""notice"": ""Found""
}"
}
				
			

GET        https://domain.com/wp-json/traveler/rental-filter

Filter Rental

Filter Rental

Parameters

Body

price_range                    Number           Range of price

star_rate                          Number           Star Rate

rental_tax                          Number          Rental Tax

location_id                       Number            Location ID

start                                    Date                    Starting Date

end                                     Date                    Ending Date

adult_number                 Number                    Number of adult

children_num                  Number                    Number of children

posts_per_page             Number                    Posts per page

paged                              Number                    Number of page

Responses

200: OK 

				
					{
   "{
    ""success"": true,
    ""data"": [
        {
            ""ID"": ""1138"",
            ""title"": ""Studio"",
            ""link"": ""http://localhost/modtel/st_rental/studio/"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""avatar_html"": ""<a href=\""http://localhost/modtel/function-partner-page/?partner_id=1\"" target=\""_blank\"" title=\""modtel\""  class=\""service-avatar\""><img alt='' src='http://2.gravatar.com/avatar/bf24ad49df751c3f1d84ef7a41098099?s=70&#038;d=mm&#038;r=g' srcset='http://2.gravatar.com/avatar/bf24ad49df751c3f1d84ef7a41098099?s=140&#038;d=mm&#038;r=g 2x' class='avatar avatar-70 photo' height='70' width='70' loading='lazy' decoding='async'/></a>"",
            ""address"": ""Los Angeles"",
            ""price"": ""450"",
            ""people"": 7,
            ""bed"": 2,
            ""bath"": 2,
            ""rental_size"": 260,
            ""rate_review"": ""5"",
            ""discount"": null
        },
        {
            ""ID"": ""1137"",
            ""title"": ""Apartment"",
            ""link"": ""http://localhost/modtel/st_rental/apartment/"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""avatar_html"": ""<a href=\""http://localhost/modtel/function-partner-page/?partner_id=1\"" target=\""_blank\"" title=\""modtel\""  class=\""service-avatar\""><img alt='' src='http://2.gravatar.com/avatar/bf24ad49df751c3f1d84ef7a41098099?s=70&#038;d=mm&#038;r=g' srcset='http://2.gravatar.com/avatar/bf24ad49df751c3f1d84ef7a41098099?s=140&#038;d=mm&#038;r=g 2x' class='avatar avatar-70 photo' height='70' width='70' loading='lazy' decoding='async'/></a>"",
            ""address"": ""Nevada"",
            ""price"": ""280"",
            ""people"": 7,
            ""bed"": 2,
            ""bath"": 2,
            ""rental_size"": 250,
            ""rate_review"": ""5"",
            ""discount"": null
        },
        {
            ""ID"": ""1136"",
            ""title"": ""Townhome"",
            ""link"": ""http://localhost/modtel/st_rental/townhome/"",
            ""image"": ""https://via.placeholder.com/300x200"",
            ""avatar_html"": ""<a href=\""http://localhost/modtel/function-partner-page/?partner_id=1\"" target=\""_blank\"" title=\""modtel\""  class=\""service-avatar\""><img alt='' src='http://2.gravatar.com/avatar/bf24ad49df751c3f1d84ef7a41098099?s=70&#038;d=mm&#038;r=g' srcset='http://2.gravatar.com/avatar/bf24ad49df751c3f1d84ef7a41098099?s=140&#038;d=mm&#038;r=g 2x' class='avatar avatar-70 photo' height='70' width='70' loading='lazy' decoding='async'/></a>"",
            ""address"": ""San Francisco"",
            ""price"": ""360"",
            ""people"": 6,
            ""bed"": 3,
            ""bath"": 2,
            ""rental_size"": 250,
            ""rate_review"": ""5"",
            ""discount"": null
        }
    ],
    ""notice"": ""Found""
}"
}
				
			

POST        https://domain.com /wp-json/traveler/create-user

Create New User

Allow to create new user

Parameters

Body

username*                              string                    User Name

password*                               string                    Password

email*                                      string                    Email

first_name*                             string                    First Name

last_name*                             string                    last Name

Responses

200: OK 

				
					{
    "success": true,
    "message": "Register user success"
} 
				
			

POST        https://domain.com /wp-json/traveler/forgot-password

Forgot Password

Allow to restore password

Parameters

Body

email*                                      string                    Email

Responses

200: OK 

				
					{
    "success": true,
    "message": "Reset password success"
}
				
			

$79