POST Merchants
Creates a new merchant.
Request Information
URI Parameters
None.
Body Parameters
The data of the merchant.
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. |
Request Formats
application/json, text/json
Sample:
{ "Id": "f85c4405-ef0d-42c6-bbaa-5e1bedfbad36", "Code": "sample string 2", "Name": "sample string 3", "Street1": "sample string 4", "Street2": "sample string 5", "CountryId": "351d2797-38df-4e2e-8c1d-c919c536e019", "CountryDescription": "sample string 7", "StateId": "ff241c0d-638c-4684-b04d-89cf465bab0a", "StateDescription": "sample string 9", "ZipCode": "sample string 10", "City": "sample string 11", "TaxPayerId": "sample string 12", "IndustryId": "ea407369-6aff-4f9f-8259-40746367d39f", "IndustryDescription": "sample string 14", "CreationDate": "2025-04-25T16:21:01.2354438Z", "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>351d2797-38df-4e2e-8c1d-c919c536e019</CountryId> <CreationDate>2025-04-25T16:21:01.2354438Z</CreationDate> <Custom0>sample string 22</Custom0> <Custom1>sample string 23</Custom1> <Custom2>sample string 24</Custom2> <Custom3>sample string 25</Custom3> <Id>f85c4405-ef0d-42c6-bbaa-5e1bedfbad36</Id> <IndustryDescription>sample string 14</IndustryDescription> <IndustryId>ea407369-6aff-4f9f-8259-40746367d39f</IndustryId> <IsCodeAutomaticallyGenerated>true</IsCodeAutomaticallyGenerated> <Name>sample string 3</Name> <StateDescription>sample string 9</StateDescription> <StateId>ff241c0d-638c-4684-b04d-89cf465bab0a</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.
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": "a67d3c46-5986-4eb3-9df0-d85b6218757c", "Code": "sample string 2", "Name": "sample string 3", "Street1": "sample string 4", "Street2": "sample string 5", "CountryId": "50061df4-ff79-4e8f-9645-df0aeb0a56d5", "CountryDescription": "sample string 7", "StateId": "cd039983-287d-4b7d-bb42-ae102fb79f53", "StateDescription": "sample string 9", "ZipCode": "sample string 10", "City": "sample string 11", "TaxPayerId": "sample string 12", "IndustryId": "7faa53cc-21d7-4641-aa64-3c0c00bdbda4", "IndustryDescription": "sample string 14", "CreationDate": "2025-04-25T16:21:01.2510674Z", "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>50061df4-ff79-4e8f-9645-df0aeb0a56d5</CountryId> <CreationDate>2025-04-25T16:21:01.2510674Z</CreationDate> <Custom0>sample string 22</Custom0> <Custom1>sample string 23</Custom1> <Custom2>sample string 24</Custom2> <Custom3>sample string 25</Custom3> <Id>a67d3c46-5986-4eb3-9df0-d85b6218757c</Id> <IndustryDescription>sample string 14</IndustryDescription> <IndustryId>7faa53cc-21d7-4641-aa64-3c0c00bdbda4</IndustryId> <IsCodeAutomaticallyGenerated>true</IsCodeAutomaticallyGenerated> <Name>sample string 3</Name> <StateDescription>sample string 9</StateDescription> <StateId>cd039983-287d-4b7d-bb42-ae102fb79f53</StateId> <Street1>sample string 4</Street1> <Street2>sample string 5</Street2> <TaxPayerId>sample string 12</TaxPayerId> <ZipCode>sample string 10</ZipCode> </MerchantDto>