Uploads and assigns document images for a customer (identification document and driver license).
POST/api/customer/:customerId/document-images
This endpoint uploads up to 4 images via multipart/form-data using specific field names:
- documentFront: Front of identification document
- documentBack: Back of identification document
- licenseFront: Front of driver license
- licenseBack: Back of driver license
All fields are optional. Only provided images will be uploaded and assigned. Files are automatically renamed with normalized format: customer-{customerId}-{type}-{guid}.{ext} Content-Type must be multipart/form-data.
Request
Responses
- 200
- 400
- 403
- 404
Document images uploaded successfully
Unsupported media type or invalid data or Api Error
Unauthenticated user
Customer not found