AgriWebb API
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.

POST
/v2/marketplace/callback

Header Parameters

Authorizationstring

The only supported authorisation method is Basic ...

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"
}