Jump to content

Trigger Offer Approval

POST
https://sandbox.treddy.se/webhooks/v1/dealOfferApproved
Simulates the deal.dealOfferApproved event.

Parameters


webhook-secret
string
header

Request


Trigger deal offer approval.
Body
{
  "offerId": "92d14da0-bd21-4120-80e0-0746fe005d5f"
}
Schema
{
  "offerId": {
    "format": "uuid",
    "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}",
    "type": "string"
  }
}

Response body


HTTP STATUS CODE SUMMARY
204 - Successful operation
400 - Invalid input
401 - Not Authorized
403 - Forbidden
405 - Invalid input