Introduction

WP Travel 6.5+ is fully integrated with the WordPress Rest API. Which means WP Travel allows data to be created, read, updated, and deleted using requests in JSON format and using WordPress REST API Authentication methods. 

The current WP REST API integration version is v1 which takes a first-order position in endpoints.

Errors

While accessing API you may face the errors, that can be categorized into four types

Error CodeError Type
404Requests to resources that don’t exist or are missing
401Authentication or permission error, e.g. incorrect API keys
400Invalid request, e.g. using an unsupported HTTP method
500Server error