➕ Bayi Oluştur
Yeni bir bayi oluşturur veya zaten aynı vergi numarasına ait bayi varsa bayiyi ilgili üye işyeri ile ilişkilendirir.POST https://api-test.fincraft.com.tr/api/v1/general/merchant-members/settings/create
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Yeni bir bayi oluşturur
POST https://api-test.fincraft.com.tr/api/v1/general/merchant-members/settings/create
{
"memberType": "PRIVATE_COMPANY",
"externalId": "MM-1001",
"name": "Demo Bayi",
"address": "İstanbul",
"email": "bayi@example.com",
"phoneNumber": "+905550000000",
"iban": "TR450006294767877926419521",
"contactName": "Ali",
"contactSurname": "Veli",
"taxNumber": "1234567890",
"taxOffice": "Beyоğlu"
}
| Parametre | Tip | Zorunlu | Validation | Açıklama |
|---|---|---|---|---|
memberType | MemberCompanyType | Evet | @NotNull | Şirket tipi (PRIVATE_COMPANY, LIMITED_OR_JOINT_STOCK_COMPANY) |
externalId | String | Evet | @NotBlank | Dış sistem üye/bayi ID |
name | String | Evet | @NotBlank | Üye/bayi adı |
address | String | Evet | @NotBlank | Adres |
email | String | Evet | @NotBlank, @Email | E-posta |
phoneNumber | String | Evet | @NotBlank | Telefon |
iban | String | Evet | @NotBlank | IBAN |
contactName | String | Evet | @NotBlank | İlgili kişi adı |
contactSurname | String | Evet | @NotBlank | İlgili kişi soyadı |
taxNumber | String | Evet | @NotBlank | Vergi numarası |
taxOffice | String | Evet | @NotBlank | Vergi dairesi |
curl -X POST https://api-test.fincraft.com.tr/api/v1/general/merchant-members/settings/create \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"memberType": "PRIVATE_COMPANY",
"externalId": "MM-1001",
"name": "Demo Bayi",
"address": "İstanbul",
"email": "bayi@example.com",
"phoneNumber": "+905550000000",
"iban": "TR450006294767877926419521",
"contactName": "Ali",
"contactSurname": "Veli",
"taxNumber": "1234567890",
"taxOffice": "Beyоğlu"
}'
