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": "3cd677fd-fcbd-4414-95c0-da257c0aacab",
"Code": "sample string 2",
"Name": "sample string 3",
"Street1": "sample string 4",
"Street2": "sample string 5",
"CountryId": "13562a09-1778-4e61-8faf-4b87a4e8817f",
"CountryDescription": "sample string 7",
"StateId": "439e4744-cb3c-41db-833a-fdad2ee8f1a2",
"StateDescription": "sample string 9",
"ZipCode": "sample string 10",
"City": "sample string 11",
"TaxPayerId": "sample string 12",
"IndustryId": "5ae49dca-0b8e-41bd-a038-f806f627241c",
"IndustryDescription": "sample string 14",
"CreationDate": "2025-10-29T05:31:04.862157Z",
"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>13562a09-1778-4e61-8faf-4b87a4e8817f</CountryId> <CreationDate>2025-10-29T05:31:04.862157Z</CreationDate> <Custom0>sample string 22</Custom0> <Custom1>sample string 23</Custom1> <Custom2>sample string 24</Custom2> <Custom3>sample string 25</Custom3> <Id>3cd677fd-fcbd-4414-95c0-da257c0aacab</Id> <IndustryDescription>sample string 14</IndustryDescription> <IndustryId>5ae49dca-0b8e-41bd-a038-f806f627241c</IndustryId> <IsCodeAutomaticallyGenerated>true</IsCodeAutomaticallyGenerated> <Name>sample string 3</Name> <StateDescription>sample string 9</StateDescription> <StateId>439e4744-cb3c-41db-833a-fdad2ee8f1a2</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": "6b9fde98-325e-4d24-bfef-1cab9c54ed90",
"Code": "sample string 2",
"Name": "sample string 3",
"Street1": "sample string 4",
"Street2": "sample string 5",
"CountryId": "bc9a659d-d545-460e-93d8-a362c5383984",
"CountryDescription": "sample string 7",
"StateId": "30e8dd75-bc05-4faf-a8fd-8d20d3ea1555",
"StateDescription": "sample string 9",
"ZipCode": "sample string 10",
"City": "sample string 11",
"TaxPayerId": "sample string 12",
"IndustryId": "2ac914a8-41c6-454a-baeb-175a2ae0afde",
"IndustryDescription": "sample string 14",
"CreationDate": "2025-10-29T05:31:04.862157Z",
"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>bc9a659d-d545-460e-93d8-a362c5383984</CountryId> <CreationDate>2025-10-29T05:31:04.862157Z</CreationDate> <Custom0>sample string 22</Custom0> <Custom1>sample string 23</Custom1> <Custom2>sample string 24</Custom2> <Custom3>sample string 25</Custom3> <Id>6b9fde98-325e-4d24-bfef-1cab9c54ed90</Id> <IndustryDescription>sample string 14</IndustryDescription> <IndustryId>2ac914a8-41c6-454a-baeb-175a2ae0afde</IndustryId> <IsCodeAutomaticallyGenerated>true</IsCodeAutomaticallyGenerated> <Name>sample string 3</Name> <StateDescription>sample string 9</StateDescription> <StateId>30e8dd75-bc05-4faf-a8fd-8d20d3ea1555</StateId> <Street1>sample string 4</Street1> <Street2>sample string 5</Street2> <TaxPayerId>sample string 12</TaxPayerId> <ZipCode>sample string 10</ZipCode> </MerchantDto>