Postman Collection
Use this when you want to hit the vendor-number endpoint from Postman (or another REST client) without writing code. You need the base URL and API key from your B1Link administrator.
Where to do it
In Postman: Create a request; set base URL and key in environment variables or secrets.
Request
| Item | Value |
|---|---|
| Method | PUT |
| URL | {{baseUrl}}/api/onboarding-request-erp-events/assign-erp-vendor-number-event |
| Content-Type | application/json |
| X-B1LINK-Signature | Pre-request script: Base64(HMAC-SHA256(body, API key)). |
Body
{
"Id": "<onboardingRequestErpEventId from webhook>",
"ErpVendorNumber": "YOUR-VENDOR-CODE"
}
Use the exact body string (compact, Id first) when computing the signature. Signature generation →
Check
- 204 = success. 401 = fix signature or key. 404 = wrong or already-used event ID.
- For a no-signature test: Simulating Events (test endpoint).