# Weight classes API

> List and retrieve weight classes by id, size or weight.

List and retrieve weight classes by id, size or weight.

Base URL: `https://mpp-api-mybusinessapp-san.azure-api.net/v2`

API version: `3.55.133`

## Endpoints

### GET /weightclasses

List weight classes

Returns the weight classes for the tenant. Paginated: use `page`/`limit` or `paginate=false`. Related: `Retrieve a weight class by id`.

Parameters:

- `Ocp-Apim-Subscription-Key` (header), required — Azure API Management subscription key (public: 4fb0f9a3b14a44e98698e80cef2aebeb)
- `X-MBA-Application-ID` (header), optional — Optional. Target another application's stamp; only a Studio key may target a different tenant
- `X-MBA-Application-Type` (header), optional — Optional. Application type paired with X-MBA-Application-ID

Reference: https://mybusinessapp.co.za/developers/api/weight-class#tag/WeightClass/getAllWeightClasses

### GET /weightclasses/size/{size}

Retrieve a weight class by size

Returns the weight class for the given `size`. Related: `Retrieve a weight class by weight`.

Parameters:

- `Ocp-Apim-Subscription-Key` (header), required — Azure API Management subscription key (public: 4fb0f9a3b14a44e98698e80cef2aebeb)
- `X-MBA-Application-ID` (header), optional — Optional. Target another application's stamp; only a Studio key may target a different tenant
- `X-MBA-Application-Type` (header), optional — Optional. Application type paired with X-MBA-Application-ID
- `size` (path), required — Size of the weight class resource

Reference: https://mybusinessapp.co.za/developers/api/weight-class#tag/WeightClass/getSingleWeightClassBySize

### GET /weightclasses/weight/{weight}

Retrieve a weight class by weight

Returns the weight class for the given `weight`. Related: `Retrieve a weight class by size`.

Parameters:

- `Ocp-Apim-Subscription-Key` (header), required — Azure API Management subscription key (public: 4fb0f9a3b14a44e98698e80cef2aebeb)
- `X-MBA-Application-ID` (header), optional — Optional. Target another application's stamp; only a Studio key may target a different tenant
- `X-MBA-Application-Type` (header), optional — Optional. Application type paired with X-MBA-Application-ID
- `weight` (path), required — Weight of the weight class resource

Reference: https://mybusinessapp.co.za/developers/api/weight-class#tag/WeightClass/getSingleWeightClassByWeight

### GET /weightclasses/{id}

Retrieve a weight class by id

Returns the weight class with the given `id`. Related: `List weight classes`.

Parameters:

- `Ocp-Apim-Subscription-Key` (header), required — Azure API Management subscription key (public: 4fb0f9a3b14a44e98698e80cef2aebeb)
- `X-MBA-Application-ID` (header), optional — Optional. Target another application's stamp; only a Studio key may target a different tenant
- `X-MBA-Application-Type` (header), optional — Optional. Application type paired with X-MBA-Application-ID
- `id` (path), required — ID of the weight class resource

Reference: https://mybusinessapp.co.za/developers/api/weight-class#tag/WeightClass/getSingleWeightClass

---

[Rendered page](https://mybusinessapp.co.za/developers/api/weight-class)

© MyBusinessApp (Pty) Ltd. Proprietary documentation — do not republish.
