Creates or updates an existing site in the output stage
This endpoint has been deprecated and may be removed in future versions of the API.
Create or update sites (Output). Updates instead of creating a new site if an already existing external ID is used. The same external ID may not occur more than once in a single request. For a single request, the maximum number of sites in the request is limited to 100 entries.
- application/json
Request Body array required
- nameParts string[] required
The list of name parts of the site to accommodate the different number of name fields in different systems. This is not according to official registers but according to the name the owner chooses.
states object[] required
The list of the (temporary) states of the site.
description stringvalidFrom date-timeThe date from which the state is valid.
validTo date-timeThe date until the state is valid.
type string requiredPossible values: [
ACTIVE
,INACTIVE
]One of the state types: active, inactive.
- roles string[] required
Possible values: [
SUPPLIER
,CUSTOMER
,ONE_TIME_SUPPLIER
,ONE_TIME_CUSTOMER
]Roles this business partner takes in relation to the sharing member.
mainAddress object required
In general, an address is a collection of information to describe a physical location, using a street name with a house number and/or a post office box as reference. In addition, an address consists of several postal attributes, such as country, region (state), county, township, city, district, or postal code, which help deliver mail.In Catena-X, an address is a type of business partner representing the legal address of a legal entity, and/or the main address of a site, or any additional address of a legal entity or site (such as different gates).An address is owned by a legal entity. Thus, exactly one legal entity is assigned to an address. An address can belong to a site. Thus, one or no site is assigned to an address. An address is uniquely identified by the BPNA.
nameParts string[] requiredThe list of name parts of the address to accommodate the different number of name fields in different systems. This is not according to official registers but according to the name the sharing member chooses.
states object[] required
The list of (temporary) states of the address.
description stringvalidFrom date-timeThe date from which the state is valid.
validTo date-timeThe date until the state is valid.
type string requiredPossible values: [
ACTIVE
,INACTIVE
]One of the state types: active, inactive.
identifiers object[] required
The list of identifiers of the address.
value string requiredThe value of the identifier like "0847976000005".
type string requiredThe type of the identifier.
physicalPostalAddress object required
A physical postal address describes the physical location of an office, warehouse, gate, etc.
geographicCoordinates object
The exact location of the physical postal address in latitude, longitude, and altitude.
longitude float requiredLongitude coordinate
latitude float requiredLatitude coordinate
altitude floatAltitude, if applicable
country stringPossible values: [
UNDEFINED
,AC
,AD
,AE
,AF
,AG
,AI
,AL
,AM
,AN
,AO
,AQ
,AR
,AS
,AT
,A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
,YU
,ZA
,ZM
,ZR
,ZW
]The 2-digit country code of the physical postal address according to ISO 3166-1.
administrativeAreaLevel1 stringThe 2-digit country subdivision code according to ISO 3166-2, such as a region within a country.
administrativeAreaLevel2 stringThe name of the locally regulated secondary country subdivision of the physical postal address, such as county within a country.
administrativeAreaLevel3 stringThe name of the locally regulated tertiary country subdivision of the physical address, such as townships within a country.
postalCode stringThe alphanumeric identifier (sometimes including spaces or punctuation) of the physical postal address for the purpose of sorting mail, synonyms:postcode, post code, PIN or ZIP code.
city stringThe name of the city of the physical postal address, synonyms: town, village, municipality.
district stringThe name of the district of the physical postal address which divides the city in several smaller areas.
street object
The street of the physical postal address, synonyms: road, avenue, lane, boulevard, highway
namePrefix stringThe street related information, which is usually printed before the official street name on an address label.
additionalNamePrefix stringThe additional street related information, which is usually printed before the official street name on an address label.
name stringThe name of the street.
nameSuffix stringThe street related information, which is usually printed after the official street name on an address label.
additionalNameSuffix stringThe additional street related information, which is usually printed after the official street name on an address label.
houseNumber stringThe number representing the exact location of a building within the street.
houseNumberSupplement stringmilestone stringThe number representing the exact location of an addressed object within a street without house numbers, such as within long roads.
direction stringThe cardinal direction describing where the exit to the location of the addressed object on large highways / motorways is located, such as Highway 101 South.
companyPostalCode stringThe company postal code of the physical postal address, which is sometimes required for large companies.
industrialZone stringThe industrial zone of the physical postal address, designating an area for industrial development, synonym: industrial area.
building stringThe alphanumeric identifier of the building addressed by the physical postal address.
floor stringThe number of a floor in the building addressed by the physical postal address, synonym: level.
door stringThe number of a door in the building on the respective floor addressed by the physical postal address, synonyms: room, suite.
alternativePostalAddress object
An alternative postal address describes an alternative way of delivery for example if the goods are to be picked up somewhere else.
geographicCoordinates object
The exact location of the physical postal address in latitude, longitude, and altitude.
longitude float requiredLongitude coordinate
latitude float requiredLatitude coordinate
altitude floatAltitude, if applicable
country stringPossible values: [
UNDEFINED
,AC
,AD
,AE
,AF
,AG
,AI
,AL
,AM
,AN
,AO
,AQ
,AR
,AS
,AT
,AU
,AW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,ZA
,ZM
,ZR
,ZW
]The 2-digit country code of the physical postal address according to ISO 3166-1.
administrativeAreaLevel1 stringThe 2-digit country subdivision code according to ISO 3166-2, such as a region within a country.
postalCode stringThe alphanumeric identifier (sometimes including spaces or punctuation) of the physical postal address for the purpose of sorting mail, synonyms:postcode, post code, PIN or ZIP code.
city stringThe name of the city of the physical postal address, synonyms: town, village, municipality.
deliveryServiceType stringPossible values: [
PO_BOX
,PRIVATE_BAG
,BOITE_POSTALE
]One of the alternative postal address types: P.O. box, private bag, boite postale.
deliveryServiceQualifier stringThe qualifier uniquely identifying the delivery service endpoint of the alternative postal address in conjunction with the delivery service number. In some countries for example, entering a P.O. box number, postal code and city is not sufficient to uniquely identify a P.O. box, because the same P.O. box number is assigned multiple times in some cities.
deliveryServiceNumber stringThe number indicating the delivery service endpoint of the alternative postal address to which the delivery is to be delivered, such as a P.O. box number or a private bag number.
roles string[] requiredPossible values: [
SUPPLIER
,CUSTOMER
,ONE_TIME_SUPPLIER
,ONE_TIME_CUSTOMER
]Roles this business partner takes in relation to the sharing member.
confidenceCriteria object
sharedByOwner boolean requiredcheckedByExternalDataSource boolean requirednumberOfBusinessPartners int32 requiredlastConfidenceCheckAt date-time requirednextConfidenceCheckAt date-time requiredconfidenceLevel int32 requiredbpn string requiredA BPNA represents and uniquely identifies an address, which can be the legal address of a legal entity, and/or the main address of a site, or any additional address of a legal entity or site (such as different gates). It is important to note that only the BPNL must be used to uniquely identify a legal entity. Even in the case that the BPNA represents the legal address of the legal entity, it shall not be used to uniquely identify the legal entity.
- externalId string required
The identifier which uniquely identifies (in the internal system landscape of the sharing member) the business partner.
- legalEntityExternalId string required
The identifier which uniquely identifies (in the internal system landscape of the sharing member) the business partner owning the site.
- bpn string required
A BPNS represents and uniquely identifies a site, which is where for example a production plant, a warehouse, or an office building is located.
- 200
- 400
Sites were successfully updated or created
- application/json
- Schema
- Example (from schema)
Schema
- object
{}
On malformed site request