Request Payload Structure
This section describes the JSON payload format required when calling the vendor number assignment endpoint.
JSON Payload Format
{
"Id": "550e8400-e29b-41d4-a716-446655440000",
"ErpVendorNumber": "VENDOR-12345"
}
Field Descriptions
| Field | Type | Required | Description |
|---|---|---|---|
Id | GUID (string) | Yes | The onboarding request ERP event ID. Must match the id path parameter. |
ErpVendorNumber | string | Yes | The vendor number assigned by your ERP system. This is the identifier that will be stored in B1Link. |
Validation Rules
Idmust be a valid GUID formatIdmust match the path parameteridErpVendorNumbercannot be null or emptyErpVendorNumbershould be a meaningful identifier from your ERP system
Important Notes
⚠️ JSON Serialization Order Matters
The signature verification uses the exact JSON string representation. The JSON must be serialized with:
- No extra whitespace
- Properties in the order:
Idfirst, thenErpVendorNumber - Standard JSON formatting (no trailing commas, proper escaping)
The exact format used by B1Link for signature verification is:
{"Id":"<guid>","ErpVendorNumber":"<vendor-number>"}
Common Mistakes
❌ DO NOT:
- Add extra whitespace or indentation
- Change property order
- Use pretty-printed JSON
- Include trailing commas
✅ DO:
- Use compact JSON format
- Maintain property order:
Id, thenErpVendorNumber - Use UTF-8 encoding
Next Steps
- Signature Generation - Learn how to sign the payload
- Request Examples - See complete working examples