Bulk company addresses
POST/companies/:lookupKey/:lookupValue/addresses/bulk
Efficiently create or update multiple company addresses in a single API request with upsert functionality and comprehensive validation.
Key Features
- Bulk Operations: Process multiple addresses in a single request
- Upsert Functionality: Automatically create new or update existing addresses based on code
- Dynamic Lookup Keys: Access companies by
id
orsourceId
- Address Type Management: Support for delivery, billing, and custom address types
- Validation: Comprehensive field validation with detailed error reporting
Upsert Logic
- Code provided + exists: Update existing address
- Code provided + doesn't exist: Create new address with provided code
- No code provided: Create new address with auto-generated code
Request
Responses
- 200
- 400
- 404
Company bulk addresses - 200
Company bulk addresses - 400 (invalid schema)
Company bulk addresses - 404