Skip to main content
PUT
Replaces the supplier facilities selected for a style.

Headers

X-Delogue-Api
string

Path Parameters

styleId
integer<int64>
required

Unique identifier of the style whose supplier-facility selection set to replace.

Body

facilityTypeId
integer<int64>

Unique identifier of the facility type this item selects a facility for. Required and must be greater than 0.

supplierFacilityId
null | integer<int64>

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

state
null | enum<string>

Set to deleted to drop this facility-type selection from the style's replacement set; leave it unset to keep the selection.

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.