Hi,
When I log in as admin, it brings all orders. But when I login as a vendor, it does not bring orders.
incoming postman result;
[]
GET /wp-json/dokan/v1/orders/ HTTP/1.1
Host: localhost
Authorization: Basic aW5mb0BtdXppa3JleW9udS5jb206MTk4NzE5OAc=
cache-control: no-cache
Postman-Token: 828a0664-431f-400c-b5b2-72be6a5b846a
Hello @ediamin
you said you will be added to the new version?
dokan rest api document does not have a method to add bank account information how can I do it? I would like to post the name surname and iban number.
Hi @erkan41 you can use the /dokan/v1/stores/{store_id}
to add your bank account. Example request data object,
"payment": {
"bank": {
"ac_name": "Account name",
"ac_number": "12121",
"bank_name": "Bank Name",
"bank_addr": "Bank Address",
"routing_number": "123456789",
"iban": "128938298",
"swift": "FDKJV"
},
Hello @ediamin
When we try with postman only brings bank information. do I request the necessary information to add, edit or delete a bank account? when I try to edit the bank account with postman post method, it deletes the attached account.
Hi @ediamin
Waiting for your reply as soon as possible please.
@erkan41 Hello, thanks for noticing the bug. Right now you can just update the existing payment info of a vendor. If there is no payment method saved for the vendor, you can’t add any new payment info. This is a bug and we have already fixed it, which will be avaible in the next relase.
You can check the PR https://github.com/weDevsOfficial/dokan/pull/561 for refereance. Thanks
Hi @saimonh
I would ask for sample postman usage codes. Can you share a sample screenshot for adding a bank account to a reseller?