Skip to main content
POST
Creates multiple styles.

Headers

X-Delogue-Api
string

Body

name
null | string

Display name of the style. Required unless a style name auto-generator is configured for the brand or season.

customId
null | string

Customer-defined style number. Required unless a style number auto-generator is configured, and must be unique within the organisation when provided.

state
null | enum<string>

Initial lifecycle state of the style. Defaults to unpublished when omitted.

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

Optional free-text description of the style.

logo
null | string

Optional URL of the style header image.

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

Optional extra text appended to the generated style name when name auto-generation is active.

season
null | object

The season to assign to the style. Required.

group
null | object

The optional style group to assign to the style.

brand
null | object

The brand to assign to the style. Required.

supplier
null | object

The supplier to assign to the style. Optional, and can be set after creation.

categories
null | object[]

Style categories to tag the style with. Null or omitted leaves categories unchanged, an empty list removes all, and a populated list replaces them.

styleColors
null | object[]

Color variants to associate with the style. Null or omitted leaves colors unchanged, an empty list removes all, and a populated list replaces them.

customFields
null | object[]

Custom field values to set on the style. Null or omitted leaves custom fields unchanged.

properties
null | string[]

Style flags applied on create. A primary flag makes this the primary style among siblings sharing a style number, and readyForExport marks it ready for export.

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.