POST Merchants
Creates a new merchant.
Request Information
URI Parameters
None.
Body Parameters
The data of the merchant.
MerchantDto| Name | 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. |
Request Formats
application/json, text/json
Sample:
{
"Id": "2bf2d03a-15d9-4768-931e-a7c637d83e28",
"Code": "sample string 2",
"Name": "sample string 3",
"Street1": "sample string 4",
"Street2": "sample string 5",
"CountryId": "f6f60156-154d-4b5f-9a9d-4e1a969f7f48",
"CountryDescription": "sample string 7",
"StateId": "bebad1f9-b0fc-4815-8fdc-cf6f96366de5",
"StateDescription": "sample string 9",
"ZipCode": "sample string 10",
"City": "sample string 11",
"TaxPayerId": "sample string 12",
"IndustryId": "77069690-20c9-45d7-9ec3-9312b20e13d3",
"IndustryDescription": "sample string 14",
"CreationDate": "2026-03-13T12:24:46.3105809Z",
"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>f6f60156-154d-4b5f-9a9d-4e1a969f7f48</CountryId> <CreationDate>2026-03-13T12:24:46.3105809Z</CreationDate> <Custom0>sample string 22</Custom0> <Custom1>sample string 23</Custom1> <Custom2>sample string 24</Custom2> <Custom3>sample string 25</Custom3> <Id>2bf2d03a-15d9-4768-931e-a7c637d83e28</Id> <IndustryDescription>sample string 14</IndustryDescription> <IndustryId>77069690-20c9-45d7-9ec3-9312b20e13d3</IndustryId> <IsCodeAutomaticallyGenerated>true</IsCodeAutomaticallyGenerated> <Name>sample string 3</Name> <StateDescription>sample string 9</StateDescription> <StateId>bebad1f9-b0fc-4815-8fdc-cf6f96366de5</StateId> <Street1>sample string 4</Street1> <Street2>sample string 5</Street2> <TaxPayerId>sample string 12</TaxPayerId> <ZipCode>sample string 10</ZipCode> </MerchantDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action, and if created returns the merchant as MerchantDto and the link to de merchant.
MerchantDto| Name | 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": "fbc91f48-7c55-47dd-901d-8a0e2d93b7a2",
"Code": "sample string 2",
"Name": "sample string 3",
"Street1": "sample string 4",
"Street2": "sample string 5",
"CountryId": "c3fd423b-8515-4690-8337-ba8383745575",
"CountryDescription": "sample string 7",
"StateId": "5a7a349e-d535-4c45-8c47-23fd4ece1c95",
"StateDescription": "sample string 9",
"ZipCode": "sample string 10",
"City": "sample string 11",
"TaxPayerId": "sample string 12",
"IndustryId": "1be62ba2-ea10-40e2-8e10-e6226a09a2f3",
"IndustryDescription": "sample string 14",
"CreationDate": "2026-03-13T12:24:46.5449727Z",
"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>c3fd423b-8515-4690-8337-ba8383745575</CountryId> <CreationDate>2026-03-13T12:24:46.5449727Z</CreationDate> <Custom0>sample string 22</Custom0> <Custom1>sample string 23</Custom1> <Custom2>sample string 24</Custom2> <Custom3>sample string 25</Custom3> <Id>fbc91f48-7c55-47dd-901d-8a0e2d93b7a2</Id> <IndustryDescription>sample string 14</IndustryDescription> <IndustryId>1be62ba2-ea10-40e2-8e10-e6226a09a2f3</IndustryId> <IsCodeAutomaticallyGenerated>true</IsCodeAutomaticallyGenerated> <Name>sample string 3</Name> <StateDescription>sample string 9</StateDescription> <StateId>5a7a349e-d535-4c45-8c47-23fd4ece1c95</StateId> <Street1>sample string 4</Street1> <Street2>sample string 5</Street2> <TaxPayerId>sample string 12</TaxPayerId> <ZipCode>sample string 10</ZipCode> </MerchantDto>