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 Code | Error Type |
404 | Requests to resources that don’t exist or are missing |
401 | Authentication or permission error, e.g. incorrect API keys |
400 | Invalid request, e.g. using an unsupported HTTP method |
500 | Server error |