Skip to main content
POST
Creates one or more size ranges in a single transaction.

Headers

X-Delogue-Api
string

Body

name
string

Display name of the size range. Required.

userDefinedId
null | string

Optional customer-defined identifier for the size range.

state
enum<string>

Lifecycle state to assign to the new size range. Defaults to active.

Available options:
active,
inactive
isDefault
boolean

Whether this size range becomes the organization's default. Promoting a new default demotes the previous one.

isAdvancedGrading
boolean

Whether advanced grading is enabled. The flag is silently cleared unless the Pro module is enabled.

allowHalfSample
boolean

Whether half-size samples are permitted for this size range.

sizes
object[]

The sizes to create in the range. At least one size is required.

Response

Created

status
enum<string>
required

The coarse outcome of the request, indicating whether it succeeded or failed.

Available options:
success,
error
code
string
required

The specific machine-readable outcome code, such as ok on success or the most specific error code on failure. Always lowercase on the wire.

data
null | object[]
required

The response payload, either a single object for a by-id read or an array for a bulk operation. Omitted from the body when there is no value.