Skip to main content
When to use this. A size range is the ordered list of sizes — for example S, M, L, XL — that every style and item in Delogue is measured and sampled against. You must create at least one size range before you can attach sizes to a style, make a sample request, or build a size chart. Use these endpoints to set up and maintain the organisation’s size range library.

The workflow

Size ranges are admin-level records owned by the designer organisation. The typical path is to create a size range with its sizes, mark one as the default, then reference it from styles and items further along the product lifecycle.
1

Create the size range

POST /api/size-ranges with a name and the ordered list of sizes. Mark isDefault: true if this should be the organisation’s default range. Only one default is allowed at a time.
2

Find size ranges

GET /api/size-ranges with filters (name, state, userDefinedId) to look up existing ranges — useful when checking before an ERP import or a bulk update.
3

Assign to styles

Styles reference a size range to drive sample requests and size charts. Once a style is in use, avoid changing its size range — active sample requests will be cancelled.
4

Retire or update

PUT /api/size-ranges/{id} to rename or change the state. DELETE /api/size-ranges/{id} soft-deletes a range that is no longer needed; it must not be in use on any style.

Walkthrough

Create a size range for a women’s EU collection. The body is an array — one or many size ranges are created in a single all-or-nothing transaction.
The response wraps the created size ranges in the standard envelope. Hold onto each size id — styles and grading configurations reference sizes by it.

Field reference

The fields that matter most when creating or updating a size range:
Size steps (individual sizes within a range) cannot be added or removed after creation via the API. Plan your size ranges to be as wide as possible; individual sizes can be deactivated at the style level. PUT /api/size-ranges is a full replace of the range’s metadata — it does not modify the sizes array.

Roles & permissions

Managing size ranges requires the designer (brand) account role — typically CompanyAdmin or CompanyUser. Supplier accounts collaborate on styles and sample requests but do not manage a brand’s size range library. Advanced grading (isAdvancedGrading) is a Pro-tier feature and requires the module to be enabled for the organisation.

When things go wrong

Errors use the standard envelope (status: "error", a code, and error.details[]). See Errors & responses for the full list of codes and how to resolve them.

What to call next

Seasons

Seasons are the other prerequisite for styles — set them up alongside size ranges.

Style categories

Organise styles by category once you have seasons and size ranges in place.

Size range bulk update

Update multiple size ranges in one call: PUT /api/size-ranges with an array of objects including id.

Authentication

How to get and send your X-Auth-Token API key.