POST Get Vendor Timeline
The POST Get Vendor Timeline method allows merchants to retrieve a detailed history of status-change events for a given vendor. This includes timestamps and event types such as when the vendor was Reviewed, Approved, Denied, Suspended, Unsuspended, or Deleted. It provides visibility into the vendor's lifecycle and compliance history, helping merchants track key actions over time.
Note: This API is supported in AndDone version 2.3 only.
API Endpoint |
https://api.uat.anddone.com/vendorapi/secure/merchants/vendors/timeline |
API Data | Details |
URI | /vendorapi/secure/merchants/vendors/timeline |
Method | POST |
Authorization | API Key Authorization |
Authorization | |
x-api-key | API key {env_merchantAccessKey} |
Request Headers | |
x-app-key | Merchant ID or App Key {env_merchantId} |
x-version | API version (e.g., 2.3) |
Origin | URL or IP address provided to AndDone as an allowed origin. |
Content-Type | application/json |
Request Parameters
Field Name | Data Type | Mandatory | Field Length | Description |
vendorId | String | true | NA | Unique vendor ID. |
Body Request Example (JSON)
{
"vendorId": "ZdOoLkod"
}
Response Parameters
Body Response Example (JSON)
[
{
"vendorStatus": "Reviewing",
"reason": null,
"eventDate": "12-05-2024 07:07:10",
"createdBy": "ProcurementManager"
},
{
"vendorStatus": "Approved",
"reason": "Verified and approved",
"eventDate": "12-05-2024 08:15:30",
"createdBy": "ApprovalManager"
},
{
"vendorStatus": "Suspended",
"reason": "Issue regarding vendor contract",
"eventDate": "12-15-2024 10:20:05",
"createdBy": "ComplianceTeam"
},
{
"vendorStatus": "Approved",
"reason": "Issue resolved",
"eventDate": "12-18-2024 12:45:15",
"createdBy": "SupportAdmin"
}
]