curl --location -g --request POST '{{ecommercev2_url}}/brokers' \
--header 'x-client: {{client}}' \
--header 'accept-language: {{acceptLanguage}}' \
--header 'Content-Type: application/json' \
--header 'x-access-token;' \
--data-raw '{
"basicInformation": {
"fullName": {
"en": "John Smith",
"ar": "جون سميث"
},
"companyName": {
"en": "Global Trading Co.",
"ar": "شركة التجارة العالمية"
},
"customsLicenseNumber": "CL123456",
"commercialRegistrationNumber": "CR789012",
"taxIdentificationNumber": "TIN345678",
"authorizedCountry": "SA",
"yearsOfExperience": "5"
},
"bankAccount": {
"bankName": {
"en": "National Bank",
"ar": "البنك الوطني"
},
"accountNumber": "1234567890",
"accountHolderName": "John Smith",
"iban": "SA0380000000608010167519",
"swiftCode": "NCBKSARI"
},
"financial": {
"startDate": "2024-01-01T00:00:00Z",
"endDate": "2024-12-31T23:59:59Z",
"attachments": [
{
"_id": "507f1f77bcf86cd799439012",
"path": "https://example.com/images/mens-accessories-2.jpg",
"service": "thumbnail"
}
]
},
"contract": {
"headOfficeAddress": "123 Business Street, Riyadh, Saudi Arabia",
"email": "john.smith@example.com",
"phoneNumber": "+966501234567"
}
}'