Skip to main content
POST
Creates style supplier-facility selections across one or more styles.

Headers

X-Delogue-Api
string

Body

styleId
integer<int64>

Unique identifier of the style to add the selection to. Required and must be greater than 0.

facilityTypeId
integer<int64>

Unique identifier of the facility type to select a facility for. Required and must be greater than 0.

supplierFacilityId
integer<int64>

Unique identifier of the supplier facility to map to the facility type. Required and must be greater than 0; the facility must carry the given facility type.

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.