Digitally sign an awarded auction
POST/company/bid-auctions/:code/sign
Allows the winning carrier to digitally sign the auction award. The signature must be a legible image of an identity document or handwritten signature.
File Requirements:
- Format: JPEG or PNG
- Maximum size: 5MB
- Minimum resolution: 300x100px
cURL Example:
curl -X POST \
-H Authorization: Bearer {token} \
-F signImage=@signature.png \
https://api.demo.cargoffer.com/company/bid-auctions/TRANS-12345/sign
Request
Responses
- 200
- 400
- 401
Registration successfully signed. The auction status changes to 'completed'.
Invalid signature data. Possible causes:
- File is not a valid image
- Size exceeds the limit
- Format not supported
Unauthorized. Possible causes:
- Invalid or expired JWT token
- User is not the auction winner
- Auction is not in 'awarded' status