API Reference
Marketplace Callback
POST /v2/marketplace/callback
Update the AgriWebb marketplace to reflect the latest status of the current integration. The current status of functional or non-functional, as well as errors, can be reported back to AgriWebb and displayed to the user.
Header Parameters
Authorizationstring
The only supported authorisation method is Bearer ...
Update the AgriWebb marketplace to reflect the latest status of the current integration
typestring
Value in
"integration-status"dataobject
Provide AgriWebb with any breadcrumbs as to why the integration might be in its current state.
typestring
Value in
"integration-error"dataobject
Response Body
curl -X POST "https://api.agriwebb.com/v2/marketplace/callback" \
-H "Authorization: string" \
-H "Content-Type: application/json" \
-d '{
"type": "integration-status",
"data": {}
}'{
"type": "integration-status",
"data": {
"redirectURL": "string",
"allowedFarmIds": [
"string"
]
}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}