GET Subscriber/{subscriberId}/Catalog/Browse/RetailCategories?locationId={locationId}&catalogItemsAvailable={catalogItemsAvailable}

Gets retail categories

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationId

Optional. Needed if is true

integer

None.

catalogItemsAvailable

Filter to only service categories that have at least one service pricing option available for sale

boolean

Default value is False

subscriberId

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of BrowseRetailCategory
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Primary

boolean

None.

Secondary

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Primary": true,
    "Secondary": true
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Primary": true,
    "Secondary": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfBrowseRetailCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Browse">
  <BrowseRetailCategory>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <Primary>true</Primary>
    <Secondary>true</Secondary>
  </BrowseRetailCategory>
  <BrowseRetailCategory>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <Primary>true</Primary>
    <Secondary>true</Secondary>
  </BrowseRetailCategory>
</ArrayOfBrowseRetailCategory>