GET Subscriber/{subscriberId}/Location/{locationId}/Catalog/CatalogItem/{catalogItemId}?consumerId={consumerId}

Prepares a catalog item for carting.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationId

integer

Required

catalogItemId

integer

Required

consumerId

integer

Required

subscriberId

string

None.

Body Parameters

None.

Response Information

Resource Description

CatalogItem
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

None.

Description

string

None.

Image

URI

None.

Type

string

None.

Templates

Collection of ItemMetadataTemplate

None.

Options

Collection of ItemOption

None.

Rules

Collection of ItemRule

None.

Response Formats

application/json, text/json

Sample:
{
  "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"
    }
  ]
}

application/xml, text/xml

Sample:
<CatalogItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item">
  <Description>sample string 3</Description>
  <Id>sample string 1</Id>
  <Image>http://webapihelppage4.com/</Image>
  <Name>sample string 2</Name>
  <Options>
    <ItemOption>
      <Items>
        <ItemOptionItem>
          <Name>sample string 1</Name>
          <Properties xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfstringstring>
              <d6p1:Key>sample string 1</d6p1:Key>
              <d6p1:Value>sample string 2</d6p1:Value>
            </d6p1:KeyValueOfstringstring>
            <d6p1:KeyValueOfstringstring>
              <d6p1:Key>sample string 3</d6p1:Key>
              <d6p1:Value>sample string 4</d6p1:Value>
            </d6p1:KeyValueOfstringstring>
          </Properties>
          <Value>sample string 2</Value>
        </ItemOptionItem>
        <ItemOptionItem>
          <Name>sample string 1</Name>
          <Properties xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfstringstring>
              <d6p1:Key>sample string 1</d6p1:Key>
              <d6p1:Value>sample string 2</d6p1:Value>
            </d6p1:KeyValueOfstringstring>
            <d6p1:KeyValueOfstringstring>
              <d6p1:Key>sample string 3</d6p1:Key>
              <d6p1:Value>sample string 4</d6p1:Value>
            </d6p1:KeyValueOfstringstring>
          </Properties>
          <Value>sample string 2</Value>
        </ItemOptionItem>
      </Items>
      <MetadataType>sample string 1</MetadataType>
    </ItemOption>
    <ItemOption>
      <Items>
        <ItemOptionItem>
          <Name>sample string 1</Name>
          <Properties xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfstringstring>
              <d6p1:Key>sample string 1</d6p1:Key>
              <d6p1:Value>sample string 2</d6p1:Value>
            </d6p1:KeyValueOfstringstring>
            <d6p1:KeyValueOfstringstring>
              <d6p1:Key>sample string 3</d6p1:Key>
              <d6p1:Value>sample string 4</d6p1:Value>
            </d6p1:KeyValueOfstringstring>
          </Properties>
          <Value>sample string 2</Value>
        </ItemOptionItem>
        <ItemOptionItem>
          <Name>sample string 1</Name>
          <Properties xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfstringstring>
              <d6p1:Key>sample string 1</d6p1:Key>
              <d6p1:Value>sample string 2</d6p1:Value>
            </d6p1:KeyValueOfstringstring>
            <d6p1:KeyValueOfstringstring>
              <d6p1:Key>sample string 3</d6p1:Key>
              <d6p1:Value>sample string 4</d6p1:Value>
            </d6p1:KeyValueOfstringstring>
          </Properties>
          <Value>sample string 2</Value>
        </ItemOptionItem>
      </Items>
      <MetadataType>sample string 1</MetadataType>
    </ItemOption>
  </Options>
  <Rules>
    <ItemRule>
      <Key>sample string 2</Key>
      <Operation>sample string 3</Operation>
      <Rule>sample string 1</Rule>
      <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Values>
    </ItemRule>
    <ItemRule>
      <Key>sample string 2</Key>
      <Operation>sample string 3</Operation>
      <Rule>sample string 1</Rule>
      <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Values>
    </ItemRule>
  </Rules>
  <Templates xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Item.Metadata">
    <d2p1:ItemMetadataTemplate>
      <d2p1:Metadata>
        <d2p1:ItemMetadata>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Label>sample string 4</d2p1:Label>
          <d2p1:Rules>
            <d2p1:ItemMetadataRule>
              <d2p1:Rule>sample string 1</d2p1:Rule>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ItemMetadataRule>
            <d2p1:ItemMetadataRule>
              <d2p1:Rule>sample string 1</d2p1:Rule>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ItemMetadataRule>
          </d2p1:Rules>
          <d2p1:Type>sample string 3</d2p1:Type>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:ItemMetadata>
        <d2p1:ItemMetadata>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Label>sample string 4</d2p1:Label>
          <d2p1:Rules>
            <d2p1:ItemMetadataRule>
              <d2p1:Rule>sample string 1</d2p1:Rule>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ItemMetadataRule>
            <d2p1:ItemMetadataRule>
              <d2p1:Rule>sample string 1</d2p1:Rule>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ItemMetadataRule>
          </d2p1:Rules>
          <d2p1:Type>sample string 3</d2p1:Type>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:ItemMetadata>
      </d2p1:Metadata>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:TemplateType>sample string 2</d2p1:TemplateType>
    </d2p1:ItemMetadataTemplate>
    <d2p1:ItemMetadataTemplate>
      <d2p1:Metadata>
        <d2p1:ItemMetadata>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Label>sample string 4</d2p1:Label>
          <d2p1:Rules>
            <d2p1:ItemMetadataRule>
              <d2p1:Rule>sample string 1</d2p1:Rule>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ItemMetadataRule>
            <d2p1:ItemMetadataRule>
              <d2p1:Rule>sample string 1</d2p1:Rule>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ItemMetadataRule>
          </d2p1:Rules>
          <d2p1:Type>sample string 3</d2p1:Type>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:ItemMetadata>
        <d2p1:ItemMetadata>
          <d2p1:Key>sample string 1</d2p1:Key>
          <d2p1:Label>sample string 4</d2p1:Label>
          <d2p1:Rules>
            <d2p1:ItemMetadataRule>
              <d2p1:Rule>sample string 1</d2p1:Rule>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ItemMetadataRule>
            <d2p1:ItemMetadataRule>
              <d2p1:Rule>sample string 1</d2p1:Rule>
              <d2p1:Value>sample string 2</d2p1:Value>
            </d2p1:ItemMetadataRule>
          </d2p1:Rules>
          <d2p1:Type>sample string 3</d2p1:Type>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:ItemMetadata>
      </d2p1:Metadata>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:TemplateType>sample string 2</d2p1:TemplateType>
    </d2p1:ItemMetadataTemplate>
  </Templates>
  <Type>sample string 5</Type>
</CatalogItem>