GET Subscriber/{subscriberId}/Carting/Users/ShoppingProfile/{consumerId}

Fetches the shopping profile for a consumer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
consumerId

integer

Required

subscriberId

string

None.

Body Parameters

None.

Response Information

Resource Description

UserShoppingProfile
NameDescriptionTypeAdditional information
Consumer

UserShoppingProfileConsumer

None.

AccountServicePricingOptions

Collection of AccountServicePricingOption

None.

RecentVisits

Collection of AccountVisit

None.

Membership

ConsumerMembership

None.

Response Formats

application/json, text/json

Sample:
{
  "Consumer": {
    "Id": 1,
    "ExternalId": "sample string 2",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "Email": "sample string 5",
    "Phone": "sample string 6",
    "ProfileImage": "sample string 7"
  },
  "AccountServicePricingOptions": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "ActivationDate": "2024-11-21T05:52:28.616116-08:00",
      "ExpirationDate": "2024-11-21T05:52:28.616116-08:00",
      "TotalSessions": 5,
      "RemainingSessions": 6,
      "ScheduledSessions": 7
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "ActivationDate": "2024-11-21T05:52:28.616116-08:00",
      "ExpirationDate": "2024-11-21T05:52:28.616116-08:00",
      "TotalSessions": 5,
      "RemainingSessions": 6,
      "ScheduledSessions": 7
    }
  ],
  "RecentVisits": [
    {
      "VisitRefNo": 1,
      "ApptRefNo": 1,
      "BookedOnline": true,
      "VisitTypeId": 1,
      "PmtRefNo": 1,
      "Date": "2024-11-21T05:52:28.616116-08:00",
      "StartTimeOffset": "00:00:00.1234567",
      "EndTimeOffset": "00:00:00.1234567",
      "ServicePricingOptionName": "sample string 2",
      "SessionTypeName": "sample string 3",
      "LocationName": "sample string 4",
      "Staff": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "ClassName": "sample string 5",
      "ServiceCategoryType": "sample string 6",
      "Unpaid": true
    },
    {
      "VisitRefNo": 1,
      "ApptRefNo": 1,
      "BookedOnline": true,
      "VisitTypeId": 1,
      "PmtRefNo": 1,
      "Date": "2024-11-21T05:52:28.616116-08:00",
      "StartTimeOffset": "00:00:00.1234567",
      "EndTimeOffset": "00:00:00.1234567",
      "ServicePricingOptionName": "sample string 2",
      "SessionTypeName": "sample string 3",
      "LocationName": "sample string 4",
      "Staff": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "ClassName": "sample string 5",
      "ServiceCategoryType": "sample string 6",
      "Unpaid": true
    }
  ],
  "Membership": {
    "ConsumerId": 1,
    "MembershipTypeId": 2,
    "Name": "sample string 3",
    "ActivationDate": "2024-11-21T05:52:28.616116-08:00",
    "ExpirationDate": "2024-11-21T05:52:28.616116-08:00",
    "Priority": 6,
    "MembersCanBuyNonMemberServices": true,
    "MembersCanBuyNonMemberRetailItems": true,
    "SeriesDiscountPercentage": 9.0,
    "RetailDiscountPercentage": 10.0,
    "MembershipIconUri": "sample string 11",
    "DayOfMonthSchedulingCanStart": 1,
    "OrderId": 1
  }
}

application/xml, text/xml

Sample:
<UserShoppingProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Users">
  <AccountServicePricingOptions>
    <AccountServicePricingOption>
      <ActivationDate>2024-11-21T05:52:28.616116-08:00</ActivationDate>
      <ExpirationDate>2024-11-21T05:52:28.616116-08:00</ExpirationDate>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <RemainingSessions>6</RemainingSessions>
      <ScheduledSessions>7</ScheduledSessions>
      <TotalSessions>5</TotalSessions>
    </AccountServicePricingOption>
    <AccountServicePricingOption>
      <ActivationDate>2024-11-21T05:52:28.616116-08:00</ActivationDate>
      <ExpirationDate>2024-11-21T05:52:28.616116-08:00</ExpirationDate>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <RemainingSessions>6</RemainingSessions>
      <ScheduledSessions>7</ScheduledSessions>
      <TotalSessions>5</TotalSessions>
    </AccountServicePricingOption>
  </AccountServicePricingOptions>
  <Consumer>
    <Email>sample string 5</Email>
    <ExternalId>sample string 2</ExternalId>
    <FirstName>sample string 3</FirstName>
    <Id>1</Id>
    <LastName>sample string 4</LastName>
    <Phone>sample string 6</Phone>
    <ProfileImage>sample string 7</ProfileImage>
  </Consumer>
  <Membership>
    <ActivationDate>2024-11-21T05:52:28.616116-08:00</ActivationDate>
    <ConsumerId>1</ConsumerId>
    <DayOfMonthSchedulingCanStart>1</DayOfMonthSchedulingCanStart>
    <ExpirationDate>2024-11-21T05:52:28.616116-08:00</ExpirationDate>
    <MembersCanBuyNonMemberRetailItems>true</MembersCanBuyNonMemberRetailItems>
    <MembersCanBuyNonMemberServices>true</MembersCanBuyNonMemberServices>
    <MembershipIconUri>sample string 11</MembershipIconUri>
    <MembershipTypeId>2</MembershipTypeId>
    <Name>sample string 3</Name>
    <OrderId>1</OrderId>
    <Priority>6</Priority>
    <RetailDiscountPercentage>10</RetailDiscountPercentage>
    <SeriesDiscountPercentage>9</SeriesDiscountPercentage>
  </Membership>
  <RecentVisits>
    <AccountVisit>
      <ApptRefNo>1</ApptRefNo>
      <BookedOnline>true</BookedOnline>
      <ClassName>sample string 5</ClassName>
      <Date>2024-11-21T05:52:28.616116-08:00</Date>
      <EndTimeOffset>PT0.1234567S</EndTimeOffset>
      <LocationName>sample string 4</LocationName>
      <PmtRefNo>1</PmtRefNo>
      <ServiceCategoryType>sample string 6</ServiceCategoryType>
      <ServicePricingOptionName>sample string 2</ServicePricingOptionName>
      <SessionTypeName>sample string 3</SessionTypeName>
      <Staff>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </Staff>
      <StartTimeOffset>PT0.1234567S</StartTimeOffset>
      <Unpaid>true</Unpaid>
      <VisitRefNo>1</VisitRefNo>
      <VisitTypeId>1</VisitTypeId>
    </AccountVisit>
    <AccountVisit>
      <ApptRefNo>1</ApptRefNo>
      <BookedOnline>true</BookedOnline>
      <ClassName>sample string 5</ClassName>
      <Date>2024-11-21T05:52:28.616116-08:00</Date>
      <EndTimeOffset>PT0.1234567S</EndTimeOffset>
      <LocationName>sample string 4</LocationName>
      <PmtRefNo>1</PmtRefNo>
      <ServiceCategoryType>sample string 6</ServiceCategoryType>
      <ServicePricingOptionName>sample string 2</ServicePricingOptionName>
      <SessionTypeName>sample string 3</SessionTypeName>
      <Staff>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </Staff>
      <StartTimeOffset>PT0.1234567S</StartTimeOffset>
      <Unpaid>true</Unpaid>
      <VisitRefNo>1</VisitRefNo>
      <VisitTypeId>1</VisitTypeId>
    </AccountVisit>
  </RecentVisits>
</UserShoppingProfile>