POST api/Merchant/UpdateMerchant

Request Information

URI Parameters

None.

Body Parameters

Merchant_party
NameDescriptionTypeAdditional information
id

integer

None.

userid

integer

None.

merchantname

string

None.

creditcode

string

None.

name

string

None.

phone

string

None.

adminname

string

None.

adminphone

string

None.

adminpwd

string

None.

region

string

None.

address

string

None.

businesslicense

string

None.

otherbusinesslicenses

string

None.

state

integer

None.

reason

string

None.

countiaddress

string

None.

audittime

date

None.

modificationtime

date

None.

createtime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "userid": 1,
  "merchantname": "sample string 2",
  "creditcode": "sample string 3",
  "name": "sample string 4",
  "phone": "sample string 5",
  "adminname": "sample string 6",
  "adminphone": "sample string 7",
  "adminpwd": "sample string 8",
  "region": "sample string 9",
  "address": "sample string 10",
  "businesslicense": "sample string 11",
  "otherbusinesslicenses": "sample string 12",
  "state": 1,
  "reason": "sample string 13",
  "countiaddress": "sample string 14",
  "audittime": "2025-11-08T18:35:22.9071033+08:00",
  "modificationtime": "2025-11-08T18:35:22.9080691+08:00",
  "createtime": "2025-11-08T18:35:22.9080691+08:00"
}

application/xml, text/xml

Sample:
<Merchant_party xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GanziPrefectureWebAPI">
  <address>sample string 10</address>
  <adminname>sample string 6</adminname>
  <adminphone>sample string 7</adminphone>
  <adminpwd>sample string 8</adminpwd>
  <audittime>2025-11-08T18:35:22.9071033+08:00</audittime>
  <businesslicense>sample string 11</businesslicense>
  <countiaddress>sample string 14</countiaddress>
  <createtime>2025-11-08T18:35:22.9080691+08:00</createtime>
  <creditcode>sample string 3</creditcode>
  <id>1</id>
  <merchantname>sample string 2</merchantname>
  <modificationtime>2025-11-08T18:35:22.9080691+08:00</modificationtime>
  <name>sample string 4</name>
  <otherbusinesslicenses>sample string 12</otherbusinesslicenses>
  <phone>sample string 5</phone>
  <reason>sample string 13</reason>
  <region>sample string 9</region>
  <state>1</state>
  <userid>1</userid>
</Merchant_party>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseEntity
NameDescriptionTypeAdditional information
code

integer

None.

msg

Object

None.

doc1

Object

None.

doc2

Object

None.

doc3

Object

None.

doc4

Object

None.

doc5

Object

None.

doc6

Object

None.

doc7

Object

None.

doc8

Object

None.

doc9

Object

None.

doc10

Object

None.

doc11

Object

None.

doc12

Object

None.

doc13

Object

None.

doc14

Object

None.

doc15

Object

None.

doc16

Object

None.

phone

Object

None.

state

integer

None.

isStudy

integer

None.

count

integer

None.

count1

integer

None.

count2

integer

None.

pager

integer

None.

id

integer

None.

specialList

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": {},
  "doc1": {},
  "doc2": {},
  "doc3": {},
  "doc4": {},
  "doc5": {},
  "doc6": {},
  "doc7": {},
  "doc8": {},
  "doc9": {},
  "doc10": {},
  "doc11": {},
  "doc12": {},
  "doc13": {},
  "doc14": {},
  "doc15": {},
  "doc16": {},
  "phone": {},
  "state": 20,
  "isStudy": 21,
  "count": 22,
  "count1": 23,
  "count2": 24,
  "pager": 25,
  "id": 26,
  "specialList": "sample string 27"
}

application/xml, text/xml

Sample:
<ResponseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GanziPrefectureWebAPI.Models">
  <code>1</code>
  <count>22</count>
  <count1>23</count1>
  <count2>24</count2>
  <doc1 />
  <doc10 />
  <doc11 />
  <doc12 />
  <doc13 />
  <doc14 />
  <doc15 />
  <doc16 />
  <doc2 />
  <doc3 />
  <doc4 />
  <doc5 />
  <doc6 />
  <doc7 />
  <doc8 />
  <doc9 />
  <id>26</id>
  <isStudy>21</isStudy>
  <msg />
  <pager>25</pager>
  <phone />
  <specialList>sample string 27</specialList>
  <state>20</state>
</ResponseEntity>