Skip to main content
POST
Creates one or more facilities for the given sub-supplier.

Headers

X-Delogue-Api
string

Path Parameters

subSupplierId
string
required

Unique identifier of the sub-supplier to create the facilities under, formatted as a GUID.

Body

name
string

Display name of the facility. Required.

address
string

Street address of the facility. Optional.

zipCode
string

Postal or ZIP code of the facility. Optional.

city
string

City where the facility is located. Optional.

stateOrRegion
null | string

State, province, or region within the country. Optional.

countryCode
string

ISO 3166-1 alpha-2 country code, e.g. CN or PT. Required.

latitude

Geographic latitude of the facility in decimal degrees. Optional.

longitude

Geographic longitude of the facility in decimal degrees. Optional.

mid
null | string

Manufacturer Identification Number used as a customs identifier. Optional.

relationType
null | enum<string>

Classifies the facility's role in the supply chain. Optional.

Available options:
distributor,
itemSupplier,
sourcingAgency,
styleSupplier
processTypeIds
integer<int64>[]

Identifiers of the process types to assign to this facility. At least one is required.

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.