PUT api/shoppingcart/commit
Request Information
URI Parameters
None.
Body Parameters
ShoppingCartCommit| Name | 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/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ShoppingCart| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyId | integer |
None. |
|
| CartId | string |
None. |
|
| PaymentUrl | string |
None. |
|
| CartDate | date |
None. |
|
| CustomerType | CustomerTypes |
None. |
|
| CreateAccount | boolean |
None. |
|
| ShipToBillingAddress | boolean |
None. |
|
| Notes | string |
None. |
|
| InitialTotalValue | decimal number |
None. |
|
| TotalDiscountValue | decimal number |
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. |
|
| BookingSourceId | integer |
None. |
|
| SellerId | integer |
None. |
|
| PromoCode | string |
None. |
|
| EventSourceTypeId | integer |
None. |
|
| LanguageId | integer |
None. |
|
| CartCustomers | Collection of ShoppingCartCustomer |
None. |
Response Formats
application/json, text/json
Sample:
{
"PropertyId": 1,
"CartId": "sample string 2",
"PaymentUrl": "sample string 3",
"CartDate": "2026-11-16T01:50:19.2109148+02:00",
"CustomerType": 0,
"CreateAccount": true,
"ShipToBillingAddress": true,
"Notes": "sample string 7",
"InitialTotalValue": 8.0,
"TotalDiscountValue": 9.0,
"TotalValue": 10.0,
"ShipppingExpenses": 11.1,
"PaymentType": 0,
"PaymentTransactionCode": "sample string 12",
"ReceiptCode": "sample string 13",
"CustomerAlias": "sample string 14",
"CustomerName": "sample string 15",
"CustomerSurname": "sample string 16",
"CompanyName": "sample string 17",
"Address": "sample string 18",
"Town": "sample string 19",
"Country": "sample string 20",
"ZipCode": "sample string 21",
"Email": "sample string 22",
"Phone": "sample string 23",
"UserPassword": "sample string 24",
"UserName": "sample string 25",
"ShippingAddress": "sample string 26",
"ShippingTown": "sample string 27",
"ShippingCountry": "sample string 28",
"ShippingZipCode": "sample string 29",
"PMSProperty": "sample string 30",
"PMSRoom": "sample string 31",
"PMSGuestName": "sample string 32",
"PMSReservationCode": "sample string 33",
"PMSAccount": "sample string 34",
"ArrivalDate": "2026-11-16T01:50:19.2109148+02:00",
"DepartureDate": "2026-11-16T01:50:19.2109148+02:00",
"FolderId": 37,
"FolderAlias": "sample string 38",
"CustomerId": 39,
"FolderNotes": "sample string 40",
"MemberId": "sample string 41",
"ExtReference1": "sample string 42",
"ExtReference2": "sample string 43",
"BookingSourceId": 44,
"SellerId": 45,
"PromoCode": "sample string 46",
"EventSourceTypeId": 47,
"LanguageId": 48,
"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,
"CustomerLanguageId": 9,
"Notes": "sample string 10",
"SendConfirmationEmail": true,
"JoinLoyaltyProgram": true,
"ExternalIdentityId": "sample string 13",
"ExternalProfileId": "sample string 14",
"CountryCode": "sample string 15",
"AgeGroup": "sample string 16",
"LoyaltyTierCode": "sample string 17",
"LoyaltyPoints": 1,
"ConsentIds": "sample string 18",
"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": "2026-11-16T01:50:19.2109148+02:00",
"CatalogPrice": 11.0,
"InitialUnitPrice": 12.0,
"Quantity": 13,
"UnitPrice": 14.0,
"DiscountPercent": 15.0,
"DiscountValue": 16.0,
"ProductPromotionId": 17,
"PriceListId": 18,
"CommercialPolicyId": 19,
"AppliedCommercialPolicies": [
{
"Id": 1,
"ShoppingCartCustomerItemId": 2,
"ProductPromotionId": 3,
"CommercialPolicyId": 4,
"AppliedAt": "2026-11-16T01:50:19.2109148+02:00",
"ApplyOrder": 6,
"BaseUnitPrice": 1.0,
"BaseQuantity": 1.0,
"BaseLineValue": 1.0,
"AdjustmentType": 0,
"AdjustmentValue": 1.0,
"DiscountPercentApplied": 1.0,
"DiscountValueApplied": 1.0,
"SurchargePercentApplied": 1.0,
"SurchargeValueApplied": 1.0,
"AllowsManualDiscount": true,
"ManualDiscountMinPercent": 1.0,
"ManualDiscountMaxPercent": 1.0,
"ExcludedFromInvoicePolicies": true,
"IsStackable": true,
"StackMethod": 0,
"AppliedSchedulingZoneId": 1,
"AppliedSchedulingZonePriceRank": 1,
"AppliedSchedulingZoneCode": "sample string 10",
"AppliedSchedulingZoneTitle": "sample string 11"
},
{
"Id": 1,
"ShoppingCartCustomerItemId": 2,
"ProductPromotionId": 3,
"CommercialPolicyId": 4,
"AppliedAt": "2026-11-16T01:50:19.2109148+02:00",
"ApplyOrder": 6,
"BaseUnitPrice": 1.0,
"BaseQuantity": 1.0,
"BaseLineValue": 1.0,
"AdjustmentType": 0,
"AdjustmentValue": 1.0,
"DiscountPercentApplied": 1.0,
"DiscountValueApplied": 1.0,
"SurchargePercentApplied": 1.0,
"SurchargeValueApplied": 1.0,
"AllowsManualDiscount": true,
"ManualDiscountMinPercent": 1.0,
"ManualDiscountMaxPercent": 1.0,
"ExcludedFromInvoicePolicies": true,
"IsStackable": true,
"StackMethod": 0,
"AppliedSchedulingZoneId": 1,
"AppliedSchedulingZonePriceRank": 1,
"AppliedSchedulingZoneCode": "sample string 10",
"AppliedSchedulingZoneTitle": "sample string 11"
}
],
"TherapistId": 20,
"ItemType": 0,
"Notes": "sample string 21"
},
{
"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": "2026-11-16T01:50:19.2109148+02:00",
"CatalogPrice": 11.0,
"InitialUnitPrice": 12.0,
"Quantity": 13,
"UnitPrice": 14.0,
"DiscountPercent": 15.0,
"DiscountValue": 16.0,
"ProductPromotionId": 17,
"PriceListId": 18,
"CommercialPolicyId": 19,
"AppliedCommercialPolicies": [
{
"Id": 1,
"ShoppingCartCustomerItemId": 2,
"ProductPromotionId": 3,
"CommercialPolicyId": 4,
"AppliedAt": "2026-11-16T01:50:19.2109148+02:00",
"ApplyOrder": 6,
"BaseUnitPrice": 1.0,
"BaseQuantity": 1.0,
"BaseLineValue": 1.0,
"AdjustmentType": 0,
"AdjustmentValue": 1.0,
"DiscountPercentApplied": 1.0,
"DiscountValueApplied": 1.0,
"SurchargePercentApplied": 1.0,
"SurchargeValueApplied": 1.0,
"AllowsManualDiscount": true,
"ManualDiscountMinPercent": 1.0,
"ManualDiscountMaxPercent": 1.0,
"ExcludedFromInvoicePolicies": true,
"IsStackable": true,
"StackMethod": 0,
"AppliedSchedulingZoneId": 1,
"AppliedSchedulingZonePriceRank": 1,
"AppliedSchedulingZoneCode": "sample string 10",
"AppliedSchedulingZoneTitle": "sample string 11"
},
{
"Id": 1,
"ShoppingCartCustomerItemId": 2,
"ProductPromotionId": 3,
"CommercialPolicyId": 4,
"AppliedAt": "2026-11-16T01:50:19.2109148+02:00",
"ApplyOrder": 6,
"BaseUnitPrice": 1.0,
"BaseQuantity": 1.0,
"BaseLineValue": 1.0,
"AdjustmentType": 0,
"AdjustmentValue": 1.0,
"DiscountPercentApplied": 1.0,
"DiscountValueApplied": 1.0,
"SurchargePercentApplied": 1.0,
"SurchargeValueApplied": 1.0,
"AllowsManualDiscount": true,
"ManualDiscountMinPercent": 1.0,
"ManualDiscountMaxPercent": 1.0,
"ExcludedFromInvoicePolicies": true,
"IsStackable": true,
"StackMethod": 0,
"AppliedSchedulingZoneId": 1,
"AppliedSchedulingZonePriceRank": 1,
"AppliedSchedulingZoneCode": "sample string 10",
"AppliedSchedulingZoneTitle": "sample string 11"
}
],
"TherapistId": 20,
"ItemType": 0,
"Notes": "sample string 21"
}
]
},
{
"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,
"CustomerLanguageId": 9,
"Notes": "sample string 10",
"SendConfirmationEmail": true,
"JoinLoyaltyProgram": true,
"ExternalIdentityId": "sample string 13",
"ExternalProfileId": "sample string 14",
"CountryCode": "sample string 15",
"AgeGroup": "sample string 16",
"LoyaltyTierCode": "sample string 17",
"LoyaltyPoints": 1,
"ConsentIds": "sample string 18",
"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": "2026-11-16T01:50:19.2109148+02:00",
"CatalogPrice": 11.0,
"InitialUnitPrice": 12.0,
"Quantity": 13,
"UnitPrice": 14.0,
"DiscountPercent": 15.0,
"DiscountValue": 16.0,
"ProductPromotionId": 17,
"PriceListId": 18,
"CommercialPolicyId": 19,
"AppliedCommercialPolicies": [
{
"Id": 1,
"ShoppingCartCustomerItemId": 2,
"ProductPromotionId": 3,
"CommercialPolicyId": 4,
"AppliedAt": "2026-11-16T01:50:19.2109148+02:00",
"ApplyOrder": 6,
"BaseUnitPrice": 1.0,
"BaseQuantity": 1.0,
"BaseLineValue": 1.0,
"AdjustmentType": 0,
"AdjustmentValue": 1.0,
"DiscountPercentApplied": 1.0,
"DiscountValueApplied": 1.0,
"SurchargePercentApplied": 1.0,
"SurchargeValueApplied": 1.0,
"AllowsManualDiscount": true,
"ManualDiscountMinPercent": 1.0,
"ManualDiscountMaxPercent": 1.0,
"ExcludedFromInvoicePolicies": true,
"IsStackable": true,
"StackMethod": 0,
"AppliedSchedulingZoneId": 1,
"AppliedSchedulingZonePriceRank": 1,
"AppliedSchedulingZoneCode": "sample string 10",
"AppliedSchedulingZoneTitle": "sample string 11"
},
{
"Id": 1,
"ShoppingCartCustomerItemId": 2,
"ProductPromotionId": 3,
"CommercialPolicyId": 4,
"AppliedAt": "2026-11-16T01:50:19.2109148+02:00",
"ApplyOrder": 6,
"BaseUnitPrice": 1.0,
"BaseQuantity": 1.0,
"BaseLineValue": 1.0,
"AdjustmentType": 0,
"AdjustmentValue": 1.0,
"DiscountPercentApplied": 1.0,
"DiscountValueApplied": 1.0,
"SurchargePercentApplied": 1.0,
"SurchargeValueApplied": 1.0,
"AllowsManualDiscount": true,
"ManualDiscountMinPercent": 1.0,
"ManualDiscountMaxPercent": 1.0,
"ExcludedFromInvoicePolicies": true,
"IsStackable": true,
"StackMethod": 0,
"AppliedSchedulingZoneId": 1,
"AppliedSchedulingZonePriceRank": 1,
"AppliedSchedulingZoneCode": "sample string 10",
"AppliedSchedulingZoneTitle": "sample string 11"
}
],
"TherapistId": 20,
"ItemType": 0,
"Notes": "sample string 21"
},
{
"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": "2026-11-16T01:50:19.2109148+02:00",
"CatalogPrice": 11.0,
"InitialUnitPrice": 12.0,
"Quantity": 13,
"UnitPrice": 14.0,
"DiscountPercent": 15.0,
"DiscountValue": 16.0,
"ProductPromotionId": 17,
"PriceListId": 18,
"CommercialPolicyId": 19,
"AppliedCommercialPolicies": [
{
"Id": 1,
"ShoppingCartCustomerItemId": 2,
"ProductPromotionId": 3,
"CommercialPolicyId": 4,
"AppliedAt": "2026-11-16T01:50:19.2109148+02:00",
"ApplyOrder": 6,
"BaseUnitPrice": 1.0,
"BaseQuantity": 1.0,
"BaseLineValue": 1.0,
"AdjustmentType": 0,
"AdjustmentValue": 1.0,
"DiscountPercentApplied": 1.0,
"DiscountValueApplied": 1.0,
"SurchargePercentApplied": 1.0,
"SurchargeValueApplied": 1.0,
"AllowsManualDiscount": true,
"ManualDiscountMinPercent": 1.0,
"ManualDiscountMaxPercent": 1.0,
"ExcludedFromInvoicePolicies": true,
"IsStackable": true,
"StackMethod": 0,
"AppliedSchedulingZoneId": 1,
"AppliedSchedulingZonePriceRank": 1,
"AppliedSchedulingZoneCode": "sample string 10",
"AppliedSchedulingZoneTitle": "sample string 11"
},
{
"Id": 1,
"ShoppingCartCustomerItemId": 2,
"ProductPromotionId": 3,
"CommercialPolicyId": 4,
"AppliedAt": "2026-11-16T01:50:19.2109148+02:00",
"ApplyOrder": 6,
"BaseUnitPrice": 1.0,
"BaseQuantity": 1.0,
"BaseLineValue": 1.0,
"AdjustmentType": 0,
"AdjustmentValue": 1.0,
"DiscountPercentApplied": 1.0,
"DiscountValueApplied": 1.0,
"SurchargePercentApplied": 1.0,
"SurchargeValueApplied": 1.0,
"AllowsManualDiscount": true,
"ManualDiscountMinPercent": 1.0,
"ManualDiscountMaxPercent": 1.0,
"ExcludedFromInvoicePolicies": true,
"IsStackable": true,
"StackMethod": 0,
"AppliedSchedulingZoneId": 1,
"AppliedSchedulingZonePriceRank": 1,
"AppliedSchedulingZoneCode": "sample string 10",
"AppliedSchedulingZoneTitle": "sample string 11"
}
],
"TherapistId": 20,
"ItemType": 0,
"Notes": "sample string 21"
}
]
}
]
}