PUT api/shoppingcart/commit
Request Information
URI Parameters
None.
Body Parameters
ShoppingCartCommitName | Description | Type | Additional information |
---|---|---|---|
CartId | integer |
None. |
|
PaymentType | ShoppingCartPaymentTypes |
None. |
|
PaymentTransactionCode | string |
None. |
|
OrderId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CartId": 1, "PaymentType": 0, "PaymentTransactionCode": "sample string 2", "OrderId": 3 }
application/xml, text/xml
Sample:
<ShoppingCartCommit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.DataAccess"> <CartId>1</CartId> <OrderId>3</OrderId> <PaymentTransactionCode>sample string 2</PaymentTransactionCode> <PaymentType>RoomCharge</PaymentType> </ShoppingCartCommit>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ShoppingCartName | Description | Type | Additional information |
---|---|---|---|
CartId | string |
None. |
|
CartDate | date |
None. |
|
CustomerType | CustomerTypes |
None. |
|
CreateAccount | boolean |
None. |
|
ShipToBillingAddress | boolean |
None. |
|
Notes | string |
None. |
|
TotalValue | decimal number |
None. |
|
ShipppingExpenses | decimal number |
None. |
|
PaymentType | PaymentTypes |
None. |
|
PaymentTransactionCode | string |
None. |
|
ReceiptCode | string |
None. |
|
CustomerAlias | string |
None. |
|
CustomerName | string |
None. |
|
CustomerSurname | string |
None. |
|
CompanyName | string |
None. |
|
Address | string |
None. |
|
Town | string |
None. |
|
Country | string |
None. |
|
ZipCode | string |
None. |
|
string |
None. |
||
Phone | string |
None. |
|
UserPassword | string |
None. |
|
UserName | string |
None. |
|
ShippingAddress | string |
None. |
|
ShippingTown | string |
None. |
|
ShippingCountry | string |
None. |
|
ShippingZipCode | string |
None. |
|
PMSProperty | string |
None. |
|
PMSRoom | string |
None. |
|
PMSGuestName | string |
None. |
|
PMSReservationCode | string |
None. |
|
PMSAccount | string |
None. |
|
ArrivalDate | date |
None. |
|
DepartureDate | date |
None. |
|
FolderId | integer |
None. |
|
FolderAlias | string |
None. |
|
CustomerId | integer |
None. |
|
FolderNotes | string |
None. |
|
MemberId | string |
None. |
|
ExtReference1 | string |
None. |
|
ExtReference2 | string |
None. |
|
CartCustomers | Collection of ShoppingCartCustomer |
None. |
Response Formats
application/json, text/json
Sample:
{ "CartId": "sample string 1", "CartDate": "2025-05-04T18:54:19.5570747+03:00", "CustomerType": 0, "CreateAccount": true, "ShipToBillingAddress": true, "Notes": "sample string 5", "TotalValue": 6.1, "ShipppingExpenses": 7.1, "PaymentType": 0, "PaymentTransactionCode": "sample string 8", "ReceiptCode": "sample string 9", "CustomerAlias": "sample string 10", "CustomerName": "sample string 11", "CustomerSurname": "sample string 12", "CompanyName": "sample string 13", "Address": "sample string 14", "Town": "sample string 15", "Country": "sample string 16", "ZipCode": "sample string 17", "Email": "sample string 18", "Phone": "sample string 19", "UserPassword": "sample string 20", "UserName": "sample string 21", "ShippingAddress": "sample string 22", "ShippingTown": "sample string 23", "ShippingCountry": "sample string 24", "ShippingZipCode": "sample string 25", "PMSProperty": "sample string 26", "PMSRoom": "sample string 27", "PMSGuestName": "sample string 28", "PMSReservationCode": "sample string 29", "PMSAccount": "sample string 30", "ArrivalDate": "2025-05-04T18:54:19.5570747+03:00", "DepartureDate": "2025-05-04T18:54:19.5570747+03:00", "FolderId": 33, "FolderAlias": "sample string 34", "CustomerId": 35, "FolderNotes": "sample string 36", "MemberId": "sample string 37", "ExtReference1": "sample string 38", "ExtReference2": "sample string 39", "CartCustomers": [ { "Id": 1, "ShoppingCartId": 2, "CustomerName": "sample string 3", "CustomerSurname": "sample string 4", "CustomerGender": 0, "CustomerEmail": "sample string 5", "CustomerPhone": "sample string 6", "FolderId": 7, "CustomerId": 8, "Notes": "sample string 9", "Items": [ { "ItemId": 1, "ItemDescription": "sample string 2", "AppointmentDuration": 3, "AppointmentDate": "sample string 4", "AppointmentStartTime": "sample string 5", "AppId": 6, "LckId1": 7, "LckId2": 8, "LckId3": 9, "LockedDate": "2025-05-04T18:54:19.5580629+03:00", "Quantity": 11, "UnitPrice": 12.1, "ItemType": 0 }, { "ItemId": 1, "ItemDescription": "sample string 2", "AppointmentDuration": 3, "AppointmentDate": "sample string 4", "AppointmentStartTime": "sample string 5", "AppId": 6, "LckId1": 7, "LckId2": 8, "LckId3": 9, "LockedDate": "2025-05-04T18:54:19.5580629+03:00", "Quantity": 11, "UnitPrice": 12.1, "ItemType": 0 } ] }, { "Id": 1, "ShoppingCartId": 2, "CustomerName": "sample string 3", "CustomerSurname": "sample string 4", "CustomerGender": 0, "CustomerEmail": "sample string 5", "CustomerPhone": "sample string 6", "FolderId": 7, "CustomerId": 8, "Notes": "sample string 9", "Items": [ { "ItemId": 1, "ItemDescription": "sample string 2", "AppointmentDuration": 3, "AppointmentDate": "sample string 4", "AppointmentStartTime": "sample string 5", "AppId": 6, "LckId1": 7, "LckId2": 8, "LckId3": 9, "LockedDate": "2025-05-04T18:54:19.5580629+03:00", "Quantity": 11, "UnitPrice": 12.1, "ItemType": 0 }, { "ItemId": 1, "ItemDescription": "sample string 2", "AppointmentDuration": 3, "AppointmentDate": "sample string 4", "AppointmentStartTime": "sample string 5", "AppId": 6, "LckId1": 7, "LckId2": 8, "LckId3": 9, "LockedDate": "2025-05-04T18:54:19.5580629+03:00", "Quantity": 11, "UnitPrice": 12.1, "ItemType": 0 } ] } ] }
application/xml, text/xml
Sample:
<ShoppingCart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Web.Api.Models"> <Address>sample string 14</Address> <ArrivalDate>2025-05-04T18:54:19.5570747+03:00</ArrivalDate> <CartCustomers> <ShoppingCartCustomer> <CustomerEmail>sample string 5</CustomerEmail> <CustomerGender>NotDeclared</CustomerGender> <CustomerId>8</CustomerId> <CustomerName>sample string 3</CustomerName> <CustomerPhone>sample string 6</CustomerPhone> <CustomerSurname>sample string 4</CustomerSurname> <FolderId>7</FolderId> <Id>1</Id> <Items> <ShoppingCartCustomerItem> <AppId>6</AppId> <AppointmentDate>sample string 4</AppointmentDate> <AppointmentDuration>3</AppointmentDuration> <AppointmentStartTime>sample string 5</AppointmentStartTime> <ItemDescription>sample string 2</ItemDescription> <ItemId>1</ItemId> <ItemType>Treatment</ItemType> <LckId1>7</LckId1> <LckId2>8</LckId2> <LckId3>9</LckId3> <LockedDate>2025-05-04T18:54:19.5580629+03:00</LockedDate> <Quantity>11</Quantity> <UnitPrice>12.1</UnitPrice> </ShoppingCartCustomerItem> <ShoppingCartCustomerItem> <AppId>6</AppId> <AppointmentDate>sample string 4</AppointmentDate> <AppointmentDuration>3</AppointmentDuration> <AppointmentStartTime>sample string 5</AppointmentStartTime> <ItemDescription>sample string 2</ItemDescription> <ItemId>1</ItemId> <ItemType>Treatment</ItemType> <LckId1>7</LckId1> <LckId2>8</LckId2> <LckId3>9</LckId3> <LockedDate>2025-05-04T18:54:19.5580629+03:00</LockedDate> <Quantity>11</Quantity> <UnitPrice>12.1</UnitPrice> </ShoppingCartCustomerItem> </Items> <Notes>sample string 9</Notes> <ShoppingCartId>2</ShoppingCartId> </ShoppingCartCustomer> <ShoppingCartCustomer> <CustomerEmail>sample string 5</CustomerEmail> <CustomerGender>NotDeclared</CustomerGender> <CustomerId>8</CustomerId> <CustomerName>sample string 3</CustomerName> <CustomerPhone>sample string 6</CustomerPhone> <CustomerSurname>sample string 4</CustomerSurname> <FolderId>7</FolderId> <Id>1</Id> <Items> <ShoppingCartCustomerItem> <AppId>6</AppId> <AppointmentDate>sample string 4</AppointmentDate> <AppointmentDuration>3</AppointmentDuration> <AppointmentStartTime>sample string 5</AppointmentStartTime> <ItemDescription>sample string 2</ItemDescription> <ItemId>1</ItemId> <ItemType>Treatment</ItemType> <LckId1>7</LckId1> <LckId2>8</LckId2> <LckId3>9</LckId3> <LockedDate>2025-05-04T18:54:19.5580629+03:00</LockedDate> <Quantity>11</Quantity> <UnitPrice>12.1</UnitPrice> </ShoppingCartCustomerItem> <ShoppingCartCustomerItem> <AppId>6</AppId> <AppointmentDate>sample string 4</AppointmentDate> <AppointmentDuration>3</AppointmentDuration> <AppointmentStartTime>sample string 5</AppointmentStartTime> <ItemDescription>sample string 2</ItemDescription> <ItemId>1</ItemId> <ItemType>Treatment</ItemType> <LckId1>7</LckId1> <LckId2>8</LckId2> <LckId3>9</LckId3> <LockedDate>2025-05-04T18:54:19.5580629+03:00</LockedDate> <Quantity>11</Quantity> <UnitPrice>12.1</UnitPrice> </ShoppingCartCustomerItem> </Items> <Notes>sample string 9</Notes> <ShoppingCartId>2</ShoppingCartId> </ShoppingCartCustomer> </CartCustomers> <CartDate>2025-05-04T18:54:19.5570747+03:00</CartDate> <CartId>sample string 1</CartId> <CompanyName>sample string 13</CompanyName> <Country>sample string 16</Country> <CreateAccount>true</CreateAccount> <CustomerAlias>sample string 10</CustomerAlias> <CustomerId>35</CustomerId> <CustomerName>sample string 11</CustomerName> <CustomerSurname>sample string 12</CustomerSurname> <CustomerType>InhouseWithRoom</CustomerType> <DepartureDate>2025-05-04T18:54:19.5570747+03:00</DepartureDate> <Email>sample string 18</Email> <ExtReference1>sample string 38</ExtReference1> <ExtReference2>sample string 39</ExtReference2> <FolderAlias>sample string 34</FolderAlias> <FolderId>33</FolderId> <FolderNotes>sample string 36</FolderNotes> <MemberId>sample string 37</MemberId> <Notes>sample string 5</Notes> <PMSAccount>sample string 30</PMSAccount> <PMSGuestName>sample string 28</PMSGuestName> <PMSProperty>sample string 26</PMSProperty> <PMSReservationCode>sample string 29</PMSReservationCode> <PMSRoom>sample string 27</PMSRoom> <PaymentTransactionCode>sample string 8</PaymentTransactionCode> <PaymentType>RoomCharge</PaymentType> <Phone>sample string 19</Phone> <ReceiptCode>sample string 9</ReceiptCode> <ShipToBillingAddress>true</ShipToBillingAddress> <ShippingAddress>sample string 22</ShippingAddress> <ShippingCountry>sample string 24</ShippingCountry> <ShippingTown>sample string 23</ShippingTown> <ShippingZipCode>sample string 25</ShippingZipCode> <ShipppingExpenses>7.1</ShipppingExpenses> <TotalValue>6.1</TotalValue> <Town>sample string 15</Town> <UserName>sample string 21</UserName> <UserPassword>sample string 20</UserPassword> <ZipCode>sample string 17</ZipCode> </ShoppingCart>