Skip to main content
POST
Creates one or more sub-suppliers for a supplier organization.

Headers

X-Delogue-Api
string

Path Parameters

organizationId
required

The numeric identifier of the supplier organization to scope the request to. The caller must belong to it or have an active supplier-designer link.

Body

name
string

Display name of the sub-supplier company. Required and limited to 255 characters.

customId
null | string

Customer-defined identifier for the sub-supplier.

relationType
null | enum<string>

The commercial relationship the sub-supplier has with the supplier organization.

Available options:
distributor,
itemSupplier,
sourcingAgency,
styleSupplier
address
null | string

Street address of the sub-supplier.

zipCode
null | string

Postal or ZIP code of the sub-supplier's location.

city
null | string

City of the sub-supplier's location.

stateOrRegion
null | string

State, province, or region of the sub-supplier's location.

countryCode
string

Country code of the sub-supplier's location, such as CN. Required.

latitude

Latitude of the sub-supplier's location in decimal degrees.

longitude

Longitude of the sub-supplier's location in decimal degrees.

webSite
null | string

Website URL of the sub-supplier.

vatNumber
null | string

VAT registration number of the sub-supplier.

mid
null | string

Manufacturer Identification (MID) number used for customs and import documentation.

avatarColor
null | string

Hex color used for the sub-supplier's avatar in the UI, without a leading hash character.

contacts
null | object[]

Contact persons to create for the sub-supplier.

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.