GET Subscriber/{subscriberId}/Consumer/{consumerId}/Carts/Identifiers

Finds current cart identifiers for a consumer. They are ordered by most recent first.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
consumerId

integer

Required

subscriberId

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SubscriberActiveCartIdentifier
NameDescriptionTypeAdditional information
CartId

globally unique identifier

None.

ConsumerId

integer

None.

StaffId

integer

None.

LocationId

integer

None.

LastModified

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CartId": "88dafbcd-9295-4319-8110-47becc67fb4f",
    "ConsumerId": 2,
    "StaffId": 3,
    "LocationId": 4,
    "LastModified": "2024-11-23T01:45:09.7444157-08:00"
  },
  {
    "CartId": "88dafbcd-9295-4319-8110-47becc67fb4f",
    "ConsumerId": 2,
    "StaffId": 3,
    "LocationId": 4,
    "LastModified": "2024-11-23T01:45:09.7444157-08:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSubscriberActiveCartIdentifier xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Carts">
  <SubscriberActiveCartIdentifier>
    <CartId>88dafbcd-9295-4319-8110-47becc67fb4f</CartId>
    <ConsumerId>2</ConsumerId>
    <LastModified>2024-11-23T01:45:09.7444157-08:00</LastModified>
    <LocationId>4</LocationId>
    <StaffId>3</StaffId>
  </SubscriberActiveCartIdentifier>
  <SubscriberActiveCartIdentifier>
    <CartId>88dafbcd-9295-4319-8110-47becc67fb4f</CartId>
    <ConsumerId>2</ConsumerId>
    <LastModified>2024-11-23T01:45:09.7444157-08:00</LastModified>
    <LocationId>4</LocationId>
    <StaffId>3</StaffId>
  </SubscriberActiveCartIdentifier>
</ArrayOfSubscriberActiveCartIdentifier>