GET Merchants/{id}
Gets a merchant by it's ID, represented as MerchantDto.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the merchant. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
The merchant data.
MerchantDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Code | string |
None. |
|
Name | string |
None. |
|
Street1 | string |
None. |
|
Street2 | string |
None. |
|
CountryId | globally unique identifier |
None. |
|
CountryDescription | string |
None. |
|
StateId | globally unique identifier |
None. |
|
StateDescription | string |
None. |
|
ZipCode | string |
None. |
|
City | string |
None. |
|
TaxPayerId | string |
None. |
|
IndustryId | globally unique identifier |
None. |
|
IndustryDescription | string |
None. |
|
CreationDate | date |
None. |
|
ContactName | string |
None. |
|
ContactEmail | string |
None. |
|
ContactPhone1 | string |
None. |
|
ContactPhone2 | string |
None. |
|
Active | boolean |
None. |
|
IsCodeAutomaticallyGenerated | boolean |
None. |
|
Custom0 | string |
None. |
|
Custom1 | string |
None. |
|
Custom2 | string |
None. |
|
Custom3 | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "4f991c70-c99a-4cf7-86aa-f62bac2cc0c5", "Code": "sample string 2", "Name": "sample string 3", "Street1": "sample string 4", "Street2": "sample string 5", "CountryId": "7e6f87f3-b70c-4cb7-96c8-43db24f4d4dc", "CountryDescription": "sample string 7", "StateId": "dbd533f7-1dac-431d-877e-62c6fc446b64", "StateDescription": "sample string 9", "ZipCode": "sample string 10", "City": "sample string 11", "TaxPayerId": "sample string 12", "IndustryId": "74e9f6ed-dead-4809-b6d5-5ffd502507d2", "IndustryDescription": "sample string 14", "CreationDate": "2025-09-13T08:01:35.8097184Z", "ContactName": "sample string 16", "ContactEmail": "sample string 17", "ContactPhone1": "sample string 18", "ContactPhone2": "sample string 19", "Active": true, "IsCodeAutomaticallyGenerated": true, "Custom0": "sample string 22", "Custom1": "sample string 23", "Custom2": "sample string 24", "Custom3": "sample string 25" }
application/xml, text/xml
Sample:
<MerchantDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <Active>true</Active> <City>sample string 11</City> <Code>sample string 2</Code> <ContactEmail>sample string 17</ContactEmail> <ContactName>sample string 16</ContactName> <ContactPhone1>sample string 18</ContactPhone1> <ContactPhone2>sample string 19</ContactPhone2> <CountryDescription>sample string 7</CountryDescription> <CountryId>7e6f87f3-b70c-4cb7-96c8-43db24f4d4dc</CountryId> <CreationDate>2025-09-13T08:01:35.8097184Z</CreationDate> <Custom0>sample string 22</Custom0> <Custom1>sample string 23</Custom1> <Custom2>sample string 24</Custom2> <Custom3>sample string 25</Custom3> <Id>4f991c70-c99a-4cf7-86aa-f62bac2cc0c5</Id> <IndustryDescription>sample string 14</IndustryDescription> <IndustryId>74e9f6ed-dead-4809-b6d5-5ffd502507d2</IndustryId> <IsCodeAutomaticallyGenerated>true</IsCodeAutomaticallyGenerated> <Name>sample string 3</Name> <StateDescription>sample string 9</StateDescription> <StateId>dbd533f7-1dac-431d-877e-62c6fc446b64</StateId> <Street1>sample string 4</Street1> <Street2>sample string 5</Street2> <TaxPayerId>sample string 12</TaxPayerId> <ZipCode>sample string 10</ZipCode> </MerchantDto>