This method is called to validate the connection information for a given order source.
The connection is valid
A response to indicate that there was either a module level client error or an external client error.
A response to indicate that the request failed to authenticate with the shipping provider.
A response to indicate that the module does not implement this endpoint.
A response indicates that the shipping service provider has denied a request due to too many requests.
A response indicating a server level error with the module.
A response indicating a server level error with the external world.
{- "transaction_id": "string",
- "auth": {
- "order_source_api_code": "string",
- "username": "string",
- "password": "string",
- "access_token": "string",
- "api_key": "string",
- "url": "string",
- "connection_context": {
- "property1": "string",
- "property2": "string"
}, - "connection_name": "string"
}
}
{- "detailed_errors": [
- {
- "standardized_error_code": "external_client_error",
- "external_error_code": "SYS_0001",
- "message": "This is a made up error message",
- "external_http_status_code": 400,
- "raw_external_context": "{transaction_id:'fake_transaction_id', error_code:'SYS_0001', error_message:'This is a made up error message' "
}, - {
- "standardized_error_code": "validation",
- "message": "This error represents a validation failure within the module."
}
]
}