Skip to main content
PUT
Bulk-updates or removes style supplier-facility selections across one or more styles.

Headers

X-Delogue-Api
string

Body

styleId
integer<int64>

Unique identifier of the style whose selection to set or remove. Required and must be greater than 0.

facilityTypeId
integer<int64>

Unique identifier of the facility type slot to set or clear. Required and must be greater than 0.

supplierFacilityId
null | integer<int64>

Unique identifier of the supplier facility to map to the facility type. Must be greater than 0 and is required unless state is deleted.

state
null | enum<string>

Set to deleted to remove the selection for this style and facility type; leave it unset to create the selection if it is absent.

Available options:
active,
deleted

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.