PUT Subscriber/{subscriberId}/Location/{locationId}/Cart/{cartId}/Packages
Updates a package in a shopping cart. Use Item endpoints to update items within a package.
For contracts with autopays, the valid payment method types are CreditCards and AccountBalance.
The CreditCard specified must be the same across all contracts. The CreditCard specified will be stored to the consumer's profile and all existing autopays will now use it as their payment method.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subscriberId | string |
None. |
|
locationId | string |
None. |
|
cartId | string |
None. |
Body Parameters
CartPackageName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
CatalogPackage | CartCatalogPackage |
None. |
|
CartItems | Collection of globally unique identifier |
None. |
|
Discounts | Collection of globally unique identifier |
None. |
|
ContractPaymentMethod | PaymentMethod |
None. |
|
Pricing | CartPackagePricing |
None. |
|
Created | date |
None. |
|
UserId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "eebf5497-71fe-4e1e-a931-36025fcb9800", "CatalogPackage": { "Id": 1, "Name": "sample string 2", "Templates": [ { "Name": "sample string 1", "TemplateType": "sample string 2", "Metadata": [ { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] }, { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] } ] }, { "Name": "sample string 1", "TemplateType": "sample string 2", "Metadata": [ { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] }, { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] } ] } ], "Options": [ { "MetadataType": "sample string 1", "Items": [ { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } } ] }, { "MetadataType": "sample string 1", "Items": [ { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } } ] } ], "Rules": [ { "Rule": "sample string 1", "Values": [ "sample string 1", "sample string 2" ], "Key": "sample string 2", "Operation": "sample string 3" }, { "Rule": "sample string 1", "Values": [ "sample string 1", "sample string 2" ], "Key": "sample string 2", "Operation": "sample string 3" } ] }, "CartItems": [ "3b3bf508-6b75-4b4d-a51d-c9625da3ee0e", "a6d06eaa-082f-4632-b402-c718c8943e60" ], "Discounts": [ "fb37ba2d-e49b-4e34-97e7-4aa80a9ad1b6", "e282c774-e93d-4dff-a010-001edddf4b54" ], "ContractPaymentMethod": { "Name": "sample string 1", "Description": "sample string 2", "Type": "sample string 3", "PaymentMethodTypeId": 4, "Templates": [ { "Name": "sample string 1", "TemplateType": "sample string 2", "Metadata": [ { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] }, { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] } ] }, { "Name": "sample string 1", "TemplateType": "sample string 2", "Metadata": [ { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] }, { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] } ] } ], "Options": [ { "MetadataType": "sample string 1", "Items": [ { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } } ] }, { "MetadataType": "sample string 1", "Items": [ { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } } ] } ], "Rules": [ { "Rule": "sample string 1", "Values": [ "sample string 1", "sample string 2" ], "Key": "sample string 2", "Operation": "sample string 3" }, { "Rule": "sample string 1", "Values": [ "sample string 1", "sample string 2" ], "Key": "sample string 2", "Operation": "sample string 3" } ] }, "Pricing": { "AskingPrice": 1.0, "PurchasingPrice": 2.0, "NetPrice": 3.0, "Discount": 4.0, "NetDiscount": 5.0, "Tax": 6.0, "BaseAutopayPrice": 1.0, "AutopayDiscount": 1.0, "AutopayPrice": 1.0 }, "Created": "2024-11-21T06:15:02.430174-08:00", "UserId": "sample string 3" }
application/xml, text/xml
Sample:
<CartPackage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Carts"> <UserId xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Requests">sample string 3</UserId> <CartItems xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>3b3bf508-6b75-4b4d-a51d-c9625da3ee0e</d2p1:guid> <d2p1:guid>a6d06eaa-082f-4632-b402-c718c8943e60</d2p1:guid> </CartItems> <CatalogPackage> <Id>1</Id> <Name>sample string 2</Name> <Options xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item"> <d3p1:ItemOption> <d3p1:Items> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> </d3p1:Items> <d3p1:MetadataType>sample string 1</d3p1:MetadataType> </d3p1:ItemOption> <d3p1:ItemOption> <d3p1:Items> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> </d3p1:Items> <d3p1:MetadataType>sample string 1</d3p1:MetadataType> </d3p1:ItemOption> </Options> <Rules xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item"> <d3p1:ItemRule> <d3p1:Key>sample string 2</d3p1:Key> <d3p1:Operation>sample string 3</d3p1:Operation> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Values xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d3p1:Values> </d3p1:ItemRule> <d3p1:ItemRule> <d3p1:Key>sample string 2</d3p1:Key> <d3p1:Operation>sample string 3</d3p1:Operation> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Values xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d3p1:Values> </d3p1:ItemRule> </Rules> <Templates xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item.Metadata"> <d3p1:ItemMetadataTemplate> <d3p1:Metadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> </d3p1:Metadata> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:TemplateType>sample string 2</d3p1:TemplateType> </d3p1:ItemMetadataTemplate> <d3p1:ItemMetadataTemplate> <d3p1:Metadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> </d3p1:Metadata> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:TemplateType>sample string 2</d3p1:TemplateType> </d3p1:ItemMetadataTemplate> </Templates> </CatalogPackage> <ContractPaymentMethod xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Payments"> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Options xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item"> <d3p1:ItemOption> <d3p1:Items> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> </d3p1:Items> <d3p1:MetadataType>sample string 1</d3p1:MetadataType> </d3p1:ItemOption> <d3p1:ItemOption> <d3p1:Items> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> </d3p1:Items> <d3p1:MetadataType>sample string 1</d3p1:MetadataType> </d3p1:ItemOption> </d2p1:Options> <d2p1:PaymentMethodTypeId>4</d2p1:PaymentMethodTypeId> <d2p1:Rules xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item"> <d3p1:ItemRule> <d3p1:Key>sample string 2</d3p1:Key> <d3p1:Operation>sample string 3</d3p1:Operation> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Values xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d3p1:Values> </d3p1:ItemRule> <d3p1:ItemRule> <d3p1:Key>sample string 2</d3p1:Key> <d3p1:Operation>sample string 3</d3p1:Operation> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Values xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d3p1:Values> </d3p1:ItemRule> </d2p1:Rules> <d2p1:Templates xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item.Metadata"> <d3p1:ItemMetadataTemplate> <d3p1:Metadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> </d3p1:Metadata> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:TemplateType>sample string 2</d3p1:TemplateType> </d3p1:ItemMetadataTemplate> <d3p1:ItemMetadataTemplate> <d3p1:Metadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> </d3p1:Metadata> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:TemplateType>sample string 2</d3p1:TemplateType> </d3p1:ItemMetadataTemplate> </d2p1:Templates> <d2p1:Type>sample string 3</d2p1:Type> </ContractPaymentMethod> <Created>2024-11-21T06:15:02.430174-08:00</Created> <Discounts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>fb37ba2d-e49b-4e34-97e7-4aa80a9ad1b6</d2p1:guid> <d2p1:guid>e282c774-e93d-4dff-a010-001edddf4b54</d2p1:guid> </Discounts> <Id>eebf5497-71fe-4e1e-a931-36025fcb9800</Id> <Pricing> <AskingPrice>1</AskingPrice> <AutopayDiscount>1</AutopayDiscount> <AutopayPrice>1</AutopayPrice> <BaseAutopayPrice>1</BaseAutopayPrice> <Discount>4</Discount> <NetDiscount>5</NetDiscount> <NetPrice>3</NetPrice> <PurchasingPrice>2</PurchasingPrice> <Tax>6</Tax> </Pricing> </CartPackage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HTTP status code 200 Ok
HTTP status code 400 BadRequest
HTTP status code 401 Unauthorized
HTTP status code 403 Forbidden
Name | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
CatalogPackage | CartCatalogPackage |
None. |
|
CartItems | Collection of globally unique identifier |
None. |
|
Discounts | Collection of globally unique identifier |
None. |
|
ContractPaymentMethod | PaymentMethod |
None. |
|
Pricing | CartPackagePricing |
None. |
|
Created | date |
None. |
|
UserId | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "ae3c0076-93fc-4c58-bbf0-28cdc16c2ee2", "CatalogPackage": { "Id": 1, "Name": "sample string 2", "Templates": [ { "Name": "sample string 1", "TemplateType": "sample string 2", "Metadata": [ { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] }, { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] } ] }, { "Name": "sample string 1", "TemplateType": "sample string 2", "Metadata": [ { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] }, { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] } ] } ], "Options": [ { "MetadataType": "sample string 1", "Items": [ { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } } ] }, { "MetadataType": "sample string 1", "Items": [ { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } } ] } ], "Rules": [ { "Rule": "sample string 1", "Values": [ "sample string 1", "sample string 2" ], "Key": "sample string 2", "Operation": "sample string 3" }, { "Rule": "sample string 1", "Values": [ "sample string 1", "sample string 2" ], "Key": "sample string 2", "Operation": "sample string 3" } ] }, "CartItems": [ "044a974c-b5d1-470a-a7a7-b1a1df644f5e", "84e58ebd-aa8a-4e48-9a9f-e60533a758ba" ], "Discounts": [ "929e3372-1291-4246-b563-64d50edefafa", "1838cac4-6fbe-4144-947f-e70193e84a0d" ], "ContractPaymentMethod": { "Name": "sample string 1", "Description": "sample string 2", "Type": "sample string 3", "PaymentMethodTypeId": 4, "Templates": [ { "Name": "sample string 1", "TemplateType": "sample string 2", "Metadata": [ { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] }, { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] } ] }, { "Name": "sample string 1", "TemplateType": "sample string 2", "Metadata": [ { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] }, { "Key": "sample string 1", "Value": "sample string 2", "Type": "sample string 3", "Label": "sample string 4", "Rules": [ { "Rule": "sample string 1", "Value": "sample string 2" }, { "Rule": "sample string 1", "Value": "sample string 2" } ] } ] } ], "Options": [ { "MetadataType": "sample string 1", "Items": [ { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } } ] }, { "MetadataType": "sample string 1", "Items": [ { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, { "Name": "sample string 1", "Value": "sample string 2", "Properties": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } } ] } ], "Rules": [ { "Rule": "sample string 1", "Values": [ "sample string 1", "sample string 2" ], "Key": "sample string 2", "Operation": "sample string 3" }, { "Rule": "sample string 1", "Values": [ "sample string 1", "sample string 2" ], "Key": "sample string 2", "Operation": "sample string 3" } ] }, "Pricing": { "AskingPrice": 1.0, "PurchasingPrice": 2.0, "NetPrice": 3.0, "Discount": 4.0, "NetDiscount": 5.0, "Tax": 6.0, "BaseAutopayPrice": 1.0, "AutopayDiscount": 1.0, "AutopayPrice": 1.0 }, "Created": "2024-11-21T06:15:02.4325317-08:00", "UserId": "sample string 3" }
application/xml, text/xml
Sample:
<CartPackage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Carts"> <UserId xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Requests">sample string 3</UserId> <CartItems xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>044a974c-b5d1-470a-a7a7-b1a1df644f5e</d2p1:guid> <d2p1:guid>84e58ebd-aa8a-4e48-9a9f-e60533a758ba</d2p1:guid> </CartItems> <CatalogPackage> <Id>1</Id> <Name>sample string 2</Name> <Options xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item"> <d3p1:ItemOption> <d3p1:Items> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> </d3p1:Items> <d3p1:MetadataType>sample string 1</d3p1:MetadataType> </d3p1:ItemOption> <d3p1:ItemOption> <d3p1:Items> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> </d3p1:Items> <d3p1:MetadataType>sample string 1</d3p1:MetadataType> </d3p1:ItemOption> </Options> <Rules xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item"> <d3p1:ItemRule> <d3p1:Key>sample string 2</d3p1:Key> <d3p1:Operation>sample string 3</d3p1:Operation> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Values xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d3p1:Values> </d3p1:ItemRule> <d3p1:ItemRule> <d3p1:Key>sample string 2</d3p1:Key> <d3p1:Operation>sample string 3</d3p1:Operation> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Values xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d3p1:Values> </d3p1:ItemRule> </Rules> <Templates xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item.Metadata"> <d3p1:ItemMetadataTemplate> <d3p1:Metadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> </d3p1:Metadata> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:TemplateType>sample string 2</d3p1:TemplateType> </d3p1:ItemMetadataTemplate> <d3p1:ItemMetadataTemplate> <d3p1:Metadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> </d3p1:Metadata> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:TemplateType>sample string 2</d3p1:TemplateType> </d3p1:ItemMetadataTemplate> </Templates> </CatalogPackage> <ContractPaymentMethod xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Payments"> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Options xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item"> <d3p1:ItemOption> <d3p1:Items> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> </d3p1:Items> <d3p1:MetadataType>sample string 1</d3p1:MetadataType> </d3p1:ItemOption> <d3p1:ItemOption> <d3p1:Items> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> <d3p1:ItemOptionItem> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Properties xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 1</d7p1:Key> <d7p1:Value>sample string 2</d7p1:Value> </d7p1:KeyValueOfstringstring> <d7p1:KeyValueOfstringstring> <d7p1:Key>sample string 3</d7p1:Key> <d7p1:Value>sample string 4</d7p1:Value> </d7p1:KeyValueOfstringstring> </d3p1:Properties> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemOptionItem> </d3p1:Items> <d3p1:MetadataType>sample string 1</d3p1:MetadataType> </d3p1:ItemOption> </d2p1:Options> <d2p1:PaymentMethodTypeId>4</d2p1:PaymentMethodTypeId> <d2p1:Rules xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item"> <d3p1:ItemRule> <d3p1:Key>sample string 2</d3p1:Key> <d3p1:Operation>sample string 3</d3p1:Operation> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Values xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d3p1:Values> </d3p1:ItemRule> <d3p1:ItemRule> <d3p1:Key>sample string 2</d3p1:Key> <d3p1:Operation>sample string 3</d3p1:Operation> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Values xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d3p1:Values> </d3p1:ItemRule> </d2p1:Rules> <d2p1:Templates xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item.Metadata"> <d3p1:ItemMetadataTemplate> <d3p1:Metadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> </d3p1:Metadata> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:TemplateType>sample string 2</d3p1:TemplateType> </d3p1:ItemMetadataTemplate> <d3p1:ItemMetadataTemplate> <d3p1:Metadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> <d3p1:ItemMetadata> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Label>sample string 4</d3p1:Label> <d3p1:Rules> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> <d3p1:ItemMetadataRule> <d3p1:Rule>sample string 1</d3p1:Rule> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadataRule> </d3p1:Rules> <d3p1:Type>sample string 3</d3p1:Type> <d3p1:Value>sample string 2</d3p1:Value> </d3p1:ItemMetadata> </d3p1:Metadata> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:TemplateType>sample string 2</d3p1:TemplateType> </d3p1:ItemMetadataTemplate> </d2p1:Templates> <d2p1:Type>sample string 3</d2p1:Type> </ContractPaymentMethod> <Created>2024-11-21T06:15:02.4325317-08:00</Created> <Discounts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>929e3372-1291-4246-b563-64d50edefafa</d2p1:guid> <d2p1:guid>1838cac4-6fbe-4144-947f-e70193e84a0d</d2p1:guid> </Discounts> <Id>ae3c0076-93fc-4c58-bbf0-28cdc16c2ee2</Id> <Pricing> <AskingPrice>1</AskingPrice> <AutopayDiscount>1</AutopayDiscount> <AutopayPrice>1</AutopayPrice> <BaseAutopayPrice>1</BaseAutopayPrice> <Discount>4</Discount> <NetDiscount>5</NetDiscount> <NetPrice>3</NetPrice> <PurchasingPrice>2</PurchasingPrice> <Tax>6</Tax> </Pricing> </CartPackage>