Skip to main content
PUT
Full-replace multiple styles (bulk PUT).

Headers

X-Delogue-Api
string

Body

id
integer<int64>
required

Identifier of the style to update. Required on each item of a bulk update so every item names its own target.

name
null | string

Display name of the style. Required on full-replace PUT unless a name generator supplies it; on PATCH an omitted name keeps the current value.

customId
null | string

Customer-defined style number. On full-replace PUT sending null clears it; on PATCH an omitted value is preserved.

state
null | enum<string>

Lifecycle state of the style, setting its stage in the product lifecycle. Required on both PUT and PATCH and cannot be cleared to null.

Available options:
unpublished,
published,
deleted,
delivered,
cancelled,
workInProgress
description
null | string

Free-text description of the style. On full-replace PUT sending null clears it; on PATCH an omitted value is preserved.

logoResourceId
null | string<uuid>

Identifier of a file resource committed through POST /api/file-resources by this organization, used as the style header image. Must be a .jpg, .jpeg or .png.

extraText
null | string

Extra text appended to a generated style name when name auto-generation is active. On PATCH an omitted value is preserved.

season
null | object

The season the style belongs to. Required on full-replace PUT; on PATCH an omitted season is preserved.

group
null | object

The style group the style belongs to. Optional. On full-replace PUT sending null clears it; on PATCH an omitted value is preserved.

brand
null | object

The brand the style is associated with. Required on full-replace PUT; on PATCH an omitted brand is preserved.

supplier
null | object

The supplier assigned to produce the style. Optional. On full-replace PUT sending null clears it; on PATCH an omitted value is preserved.

categories
null | object[]

Full replacement set of style categories. On PUT, null or an empty array clears all and a populated list replaces all; on PATCH, an omitted value preserves the current set.

styleColors
null | object[]

Full replacement set of color variants. On PUT, null or an empty array clears all and a populated list replaces all; on PATCH, an omitted value preserves the current set.

customFields
null | object[]

Custom field values. Style-level and per-color values follow independent rules: style-level values are full-replaced but not cleared by null; per-color values are upserted only for colors listed.

properties
null | string[]

Style flags naming boolean attributes such as primary and readyForExport. On PUT, null clears all flags and a populated list becomes the exact set of active flags.

Response

OK

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.