About the API
Value proposition
The "SKU UPDATE" API is the REST API that enables any authorized application to update some attributes in ELIXPEDIA in a synchronous mode.
Routing
One advantage of this API is that the calling application does not have to care about which ELIXPEDIA instance should be targeted. Indeed, the logic built in the API would determine which instance (EMEA, APAC, AMERICAS or TRAVEL RETAIL) and which catalog (CPD, ACD, LLD or PPD) the update request should be routed to. This routing logic is mainly based on the SKU codifier, and eventually based on the location or the country that are provided in the payload.
Business Rules
Another advantage of the API is that the update process is the same than when updating from the ELIXPEDIA user interface: all business rules applied and error messages are identical.
PAYLOAD FORMAT
Another advantage of the API is that the payload of the update request is very similar to the response of "SKU GET" API: attributes structure and names are identical.
Use case
ELIX360
ELIX360, as the ELIX ESB, would use the "SKU UPDATE" API to push update request to ELIXPEDIA when receiving events from SAP-S4, from SAP-PC, from MINDS, from MIC...etc.
COSMO
COSMO calls the "SKU UPDATE" API to post PALLETIZATION data to ELIXPEDIA.
E-REG
E-REG (China app) calls the "SKU UPDATE" API to post REGULATORY data to ELIXPEDIA.
Links
Find here the link to the SKU data model that is shared by both "SKU GET" and "SKU UPDATE" APIs: https://api.loreal.com/api-catalogue/elixpedia-sku-logistic-product-attributes/data-model?ref=10919