Update Merchant
Updates Merchant
In the update, the merchant will be updated according to the user of that merchant.
Resource URL
https://oms.sokochan.com/api/1.0/merchants/update
Parameter(s)
Name | Description | Type | Length | |
---|---|---|---|---|
merchant | Merchant Name | string | 22 | |
alias |
Alias | string | 180 | |
email |
string | 180 | ||
address |
Address | string | 250 | |
comment |
Comment | string | 50 | |
webhook_url |
Webhook URL | string | 300 |
curl -X PUT -H "Authorization: Basic ZnJlZDpmcmVk="\
-H "Content-Type: application/json"\ -d '{ "merchant": "M Test", "alias": "Test", "email": "sokochan@gmail.com", "address": "", "comment": "", "webhook_url": "3434343095849058-80984", }' " https://oms.sokochan.com/api/1.0/merchants/update"
{ "merchant": "M Test", "alias": "Test", "email": "sokochan@gmail.com", "address": "", "comment": "", "webhook_url": "3434343095849058-80984", }