API Reference
Marketplace Callback
POST
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.
application/json- body
Update the AgriWebb marketplace to reflect the latest status of the current integration
type*"integration-status"Value in
"integration-status"data*The server will respond with the associated response type for your request type.
application/json- response
The result of an integration status update, including the url to redirect the user to and the list of allowed farms.
type*"integration-status"Value in
"integration-status"data*curl -X POST "https://example.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" ] }}