PUT Subscriber/{subscriberId}/Location/{locationId}/Cart/{cartId}/Items
Updates an item in a shopping cart
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subscriberId | string |
None. |
|
locationId | string |
None. |
|
cartId | string |
None. |
Body Parameters
CartItemName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Item | CatalogItem |
None. |
|
Pricing | CartItemPricing |
None. |
|
RecipientConsumerId | integer |
None. |
|
Quantity | integer |
None. |
|
Created | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "736bda92-253e-4df4-9c8e-7d3c73da95e0", "Item": { "Id": "sample string 1", "Name": "sample string 2", "Description": "sample string 3", "Image": "http://webapihelppage4.com", "Type": "sample string 5", "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": { "UnitPricing": { "AskingPrice": 1.0, "NetPrice": 2.0, "Taxes": [ { "CartTaxItemId": "9ab44f41-72ce-443e-8665-509211a4c2ca", "Amount": 2.0 }, { "CartTaxItemId": "9ab44f41-72ce-443e-8665-509211a4c2ca", "Amount": 2.0 } ], "Tax": 3.0, "Discounts": [ { "CartDiscountItemId": "312f455d-aec0-48f5-bb60-d41341c34af9", "Amount": 2.0, "NetAmount": 3.0, "Percentage": 4.0 }, { "CartDiscountItemId": "312f455d-aec0-48f5-bb60-d41341c34af9", "Amount": 2.0, "NetAmount": 3.0, "Percentage": 4.0 } ], "PaymentAmount": 4.0 }, "AskingPrice": 1.0, "NetPrice": 2.0, "Taxes": [ { "CartTaxItemId": "9ab44f41-72ce-443e-8665-509211a4c2ca", "Amount": 2.0 }, { "CartTaxItemId": "9ab44f41-72ce-443e-8665-509211a4c2ca", "Amount": 2.0 } ], "Tax": 3.0, "Discounts": [ { "CartDiscountItemId": "312f455d-aec0-48f5-bb60-d41341c34af9", "Amount": 2.0, "NetAmount": 3.0, "Percentage": 4.0 }, { "CartDiscountItemId": "312f455d-aec0-48f5-bb60-d41341c34af9", "Amount": 2.0, "NetAmount": 3.0, "Percentage": 4.0 } ], "PaymentAmount": 4.0 }, "RecipientConsumerId": 2, "Quantity": 3, "Created": "2024-11-21T06:12:26.0723628-08:00" }
application/xml, text/xml
Sample:
<CartItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Carts"> <Created>2024-11-21T06:12:26.0723628-08:00</Created> <Id>736bda92-253e-4df4-9c8e-7d3c73da95e0</Id> <Item xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item"> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:Image>http://webapihelppage4.com/</d2p1:Image> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Options> <d2p1:ItemOption> <d2p1:Items> <d2p1:ItemOptionItem> <d2p1:Name>sample string 1</d2p1:Name> <d2p1: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> </d2p1:Properties> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:ItemOptionItem> <d2p1:ItemOptionItem> <d2p1:Name>sample string 1</d2p1:Name> <d2p1: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> </d2p1:Properties> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:ItemOptionItem> </d2p1:Items> <d2p1:MetadataType>sample string 1</d2p1:MetadataType> </d2p1:ItemOption> <d2p1:ItemOption> <d2p1:Items> <d2p1:ItemOptionItem> <d2p1:Name>sample string 1</d2p1:Name> <d2p1: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> </d2p1:Properties> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:ItemOptionItem> <d2p1:ItemOptionItem> <d2p1:Name>sample string 1</d2p1:Name> <d2p1: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> </d2p1:Properties> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:ItemOptionItem> </d2p1:Items> <d2p1:MetadataType>sample string 1</d2p1:MetadataType> </d2p1:ItemOption> </d2p1:Options> <d2p1:Rules> <d2p1:ItemRule> <d2p1:Key>sample string 2</d2p1:Key> <d2p1:Operation>sample string 3</d2p1:Operation> <d2p1:Rule>sample string 1</d2p1:Rule> <d2p1: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> </d2p1:Values> </d2p1:ItemRule> <d2p1:ItemRule> <d2p1:Key>sample string 2</d2p1:Key> <d2p1:Operation>sample string 3</d2p1:Operation> <d2p1:Rule>sample string 1</d2p1:Rule> <d2p1: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> </d2p1:Values> </d2p1: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 5</d2p1:Type> </Item> <Pricing> <AskingPrice>1</AskingPrice> <Discounts> <CartItemDiscount> <Amount>2</Amount> <CartDiscountItemId>312f455d-aec0-48f5-bb60-d41341c34af9</CartDiscountItemId> <NetAmount>3</NetAmount> <Percentage>4</Percentage> </CartItemDiscount> <CartItemDiscount> <Amount>2</Amount> <CartDiscountItemId>312f455d-aec0-48f5-bb60-d41341c34af9</CartDiscountItemId> <NetAmount>3</NetAmount> <Percentage>4</Percentage> </CartItemDiscount> </Discounts> <NetPrice>2</NetPrice> <PaymentAmount>4</PaymentAmount> <Tax>3</Tax> <Taxes> <CartItemTax> <Amount>2</Amount> <CartTaxItemId>9ab44f41-72ce-443e-8665-509211a4c2ca</CartTaxItemId> </CartItemTax> <CartItemTax> <Amount>2</Amount> <CartTaxItemId>9ab44f41-72ce-443e-8665-509211a4c2ca</CartTaxItemId> </CartItemTax> </Taxes> <UnitPricing> <AskingPrice>1</AskingPrice> <Discounts> <CartItemDiscount> <Amount>2</Amount> <CartDiscountItemId>312f455d-aec0-48f5-bb60-d41341c34af9</CartDiscountItemId> <NetAmount>3</NetAmount> <Percentage>4</Percentage> </CartItemDiscount> <CartItemDiscount> <Amount>2</Amount> <CartDiscountItemId>312f455d-aec0-48f5-bb60-d41341c34af9</CartDiscountItemId> <NetAmount>3</NetAmount> <Percentage>4</Percentage> </CartItemDiscount> </Discounts> <NetPrice>2</NetPrice> <PaymentAmount>4</PaymentAmount> <Tax>3</Tax> <Taxes> <CartItemTax> <Amount>2</Amount> <CartTaxItemId>9ab44f41-72ce-443e-8665-509211a4c2ca</CartTaxItemId> </CartItemTax> <CartItemTax> <Amount>2</Amount> <CartTaxItemId>9ab44f41-72ce-443e-8665-509211a4c2ca</CartTaxItemId> </CartItemTax> </Taxes> </UnitPricing> </Pricing> <Quantity>3</Quantity> <RecipientConsumerId>2</RecipientConsumerId> </CartItem>
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. |
|
Item | CatalogItem |
None. |
|
Pricing | CartItemPricing |
None. |
|
RecipientConsumerId | integer |
None. |
|
Quantity | integer |
None. |
|
Created | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "6a1f1d6b-b1b0-4d98-b19a-57cbb835fe66", "Item": { "Id": "sample string 1", "Name": "sample string 2", "Description": "sample string 3", "Image": "http://webapihelppage4.com", "Type": "sample string 5", "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": { "UnitPricing": { "AskingPrice": 1.0, "NetPrice": 2.0, "Taxes": [ { "CartTaxItemId": "8ede64b0-80ff-4054-acb9-7e0716194bd9", "Amount": 2.0 }, { "CartTaxItemId": "8ede64b0-80ff-4054-acb9-7e0716194bd9", "Amount": 2.0 } ], "Tax": 3.0, "Discounts": [ { "CartDiscountItemId": "7b08dced-d27c-4e03-8556-7be8708ce7a8", "Amount": 2.0, "NetAmount": 3.0, "Percentage": 4.0 }, { "CartDiscountItemId": "7b08dced-d27c-4e03-8556-7be8708ce7a8", "Amount": 2.0, "NetAmount": 3.0, "Percentage": 4.0 } ], "PaymentAmount": 4.0 }, "AskingPrice": 1.0, "NetPrice": 2.0, "Taxes": [ { "CartTaxItemId": "8ede64b0-80ff-4054-acb9-7e0716194bd9", "Amount": 2.0 }, { "CartTaxItemId": "8ede64b0-80ff-4054-acb9-7e0716194bd9", "Amount": 2.0 } ], "Tax": 3.0, "Discounts": [ { "CartDiscountItemId": "7b08dced-d27c-4e03-8556-7be8708ce7a8", "Amount": 2.0, "NetAmount": 3.0, "Percentage": 4.0 }, { "CartDiscountItemId": "7b08dced-d27c-4e03-8556-7be8708ce7a8", "Amount": 2.0, "NetAmount": 3.0, "Percentage": 4.0 } ], "PaymentAmount": 4.0 }, "RecipientConsumerId": 2, "Quantity": 3, "Created": "2024-11-21T06:12:26.0874409-08:00" }
application/xml, text/xml
Sample:
<CartItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Carts"> <Created>2024-11-21T06:12:26.0874409-08:00</Created> <Id>6a1f1d6b-b1b0-4d98-b19a-57cbb835fe66</Id> <Item xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item"> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:Image>http://webapihelppage4.com/</d2p1:Image> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Options> <d2p1:ItemOption> <d2p1:Items> <d2p1:ItemOptionItem> <d2p1:Name>sample string 1</d2p1:Name> <d2p1: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> </d2p1:Properties> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:ItemOptionItem> <d2p1:ItemOptionItem> <d2p1:Name>sample string 1</d2p1:Name> <d2p1: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> </d2p1:Properties> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:ItemOptionItem> </d2p1:Items> <d2p1:MetadataType>sample string 1</d2p1:MetadataType> </d2p1:ItemOption> <d2p1:ItemOption> <d2p1:Items> <d2p1:ItemOptionItem> <d2p1:Name>sample string 1</d2p1:Name> <d2p1: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> </d2p1:Properties> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:ItemOptionItem> <d2p1:ItemOptionItem> <d2p1:Name>sample string 1</d2p1:Name> <d2p1: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> </d2p1:Properties> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:ItemOptionItem> </d2p1:Items> <d2p1:MetadataType>sample string 1</d2p1:MetadataType> </d2p1:ItemOption> </d2p1:Options> <d2p1:Rules> <d2p1:ItemRule> <d2p1:Key>sample string 2</d2p1:Key> <d2p1:Operation>sample string 3</d2p1:Operation> <d2p1:Rule>sample string 1</d2p1:Rule> <d2p1: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> </d2p1:Values> </d2p1:ItemRule> <d2p1:ItemRule> <d2p1:Key>sample string 2</d2p1:Key> <d2p1:Operation>sample string 3</d2p1:Operation> <d2p1:Rule>sample string 1</d2p1:Rule> <d2p1: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> </d2p1:Values> </d2p1: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 5</d2p1:Type> </Item> <Pricing> <AskingPrice>1</AskingPrice> <Discounts> <CartItemDiscount> <Amount>2</Amount> <CartDiscountItemId>7b08dced-d27c-4e03-8556-7be8708ce7a8</CartDiscountItemId> <NetAmount>3</NetAmount> <Percentage>4</Percentage> </CartItemDiscount> <CartItemDiscount> <Amount>2</Amount> <CartDiscountItemId>7b08dced-d27c-4e03-8556-7be8708ce7a8</CartDiscountItemId> <NetAmount>3</NetAmount> <Percentage>4</Percentage> </CartItemDiscount> </Discounts> <NetPrice>2</NetPrice> <PaymentAmount>4</PaymentAmount> <Tax>3</Tax> <Taxes> <CartItemTax> <Amount>2</Amount> <CartTaxItemId>8ede64b0-80ff-4054-acb9-7e0716194bd9</CartTaxItemId> </CartItemTax> <CartItemTax> <Amount>2</Amount> <CartTaxItemId>8ede64b0-80ff-4054-acb9-7e0716194bd9</CartTaxItemId> </CartItemTax> </Taxes> <UnitPricing> <AskingPrice>1</AskingPrice> <Discounts> <CartItemDiscount> <Amount>2</Amount> <CartDiscountItemId>7b08dced-d27c-4e03-8556-7be8708ce7a8</CartDiscountItemId> <NetAmount>3</NetAmount> <Percentage>4</Percentage> </CartItemDiscount> <CartItemDiscount> <Amount>2</Amount> <CartDiscountItemId>7b08dced-d27c-4e03-8556-7be8708ce7a8</CartDiscountItemId> <NetAmount>3</NetAmount> <Percentage>4</Percentage> </CartItemDiscount> </Discounts> <NetPrice>2</NetPrice> <PaymentAmount>4</PaymentAmount> <Tax>3</Tax> <Taxes> <CartItemTax> <Amount>2</Amount> <CartTaxItemId>8ede64b0-80ff-4054-acb9-7e0716194bd9</CartTaxItemId> </CartItemTax> <CartItemTax> <Amount>2</Amount> <CartTaxItemId>8ede64b0-80ff-4054-acb9-7e0716194bd9</CartTaxItemId> </CartItemTax> </Taxes> </UnitPricing> </Pricing> <Quantity>3</Quantity> <RecipientConsumerId>2</RecipientConsumerId> </CartItem>