Brand Sizing Detail

This endpoint shows the detail of an individual sizing scheme by a brand.

Sizing entries are represented on the API as an entity.

links

{
    "brand": <url>
}

body

{
    "name": <string>,
    "system": <string>,
    "alternative_systems": <array>,
    "complete_cups": <bool>,
    "bands": <array>,
    "cups": <array>,
    "range": <object>,
}
{
    "default": "32HH",
    "brand_safe_size": "70HH",
    "brand_size": "70HH",
    "index": "32:12",
    "size": "70HH"
}

Filtering

By index_size

https://api.bratabase.com/brands/panache/sizing/538/?index_size=34:10

This endpoint accepts an index_size GET parameter that will filter all the sizing entries in the collection to display only the sizes, bands and cups that match such index size.

It will filter the bands and cup attribute to contain only the associated index band and cup. The range attribute will be filtered to contain only band for the requested size and inside only the size that matches the requested index size.

By size

https://api.bratabase.com/brands/panache/sizing/538/?size=34GG

This endpoint accepts an size GET parameter that will filter all the sizing entries in the collection to display only the sizes, bands and cups that match such size string.

It will filter the bands and cup attribute to contain only the associated index band and cup. The range attribute will be filtered to contain only band for the requested size and inside only the size that matches the requested index size.

How to get here

To reach this endpoint follow the brands url under the links section on the API root. Then select a brand and under its links section you will find a main_sizing key pointing to a sizing detail endpoint.

API root -> brands -> href -> sizing -> href


API root -> brands -> href -> main_sizing

Related pages


Edit