Swoove 360
  • Overview
  • About
  • Authentication
  • Errors
  • API reference
    • Estimates
    • Delivery
    • Delivery Information
    • Update Delivery
    • Extras
    • Wallet
    • Service Zones
    • Webhook Reference
    • Models
Powered by GitBook
On this page

Was this helpful?

Errors

Swoove uses conventional HTTP response codes to indicate the success or failure of an API request.

As a general rule:

  • Codes in the 2xx range indicate success.

  • Codes in the 4xx the range indicates incorrect or incomplete parameters (e.g., a required parameter was omitted, or an operation failed with a 3rd party, etc.).

  • Codes in the 5xx range indicate an error with Swoove servers.

Swoove outputs an error message and an error code formatted in JSON:

Validation Error

{
  "success": false,
  "code": 400,
  "message": "A certain field was expected but was null or invalid"
  "responses": null
}
500
	
Getting Estimates Failed
PreviousAuthenticationNextAPI reference

Last updated 8 months ago

Was this helpful?