Appendix: CSV fields examples (à supprimer)

CSV correspondances

This page is an appendix to the data hub's jobs importation section.

Each element to import has specific default fields to map between DJUST's back-office and your import CSV.

Custom fields (optional)

Custom fields must be declared in a specific way in your CSV.

⚠️

Custom fields do not appear in the right side of the form.

CF_{customfieldname}

Example:

CF_warehouse
Lyon 1
Lyon 2
Marseille 1
Berlin 1

Attributes

NameDescriptionMandatory (Y/N)Type
nameAttribute's nameYText
external_idAttribute's external IDYNumber
typeAttribute's formatYTEXT, LONG_TEXT, COLOR, LIST_METRIC or LIST_TEXT or LIST_COLOR, DATE, METRIC, NUMBER
multiOffer multiple choices' selection for list-type attributesNTRUE / FALSE
unitTypeUnit for the unitType "metric"NWEIGHT_METRIC, VOLUME_METRIC, LENGTH_METRIC, AREA_METRIC, WEIGHT_IMPERIAL, VOLUME_IMPERIAL, LENGTH_IMPERIAL, AREA_IMPERIAL
unitUnit to provide for the "metric" typeNFor WEIGHT_METRIC: kg, g, mg. For VOLUME_METRIC: m3, L, cL, mL. For LENGTH_METRIC: m, cm. For AREA_METRIC: m2. For WEIGHT_IMPERIAL: lb, oz. For VOLUME_IMPERIAL: gal, qt, pt, fl oz. For LENGTH_IMPERIAL: yd, ft, in. For AREA_IMPERIAL: ft2.
attribute_valuesPossibility to add custom fields or attributesNvalue||value||value
StoreStore for which the attribute is availableYText or number

Classification categories

NameDescriptionMandatory (Y/N)TypeExample
CodeExternal unique reference (must not start with 0)YTextDE_1
NameProduct's nameYTextDecoration
Parent codeKey to which the classification is associatedYTextRoot
attr_codeID of the associated attributeNtext / metricID1
attr_enabledAllow to activate the classification's attributeNTRUE / FALSETRUE
attr_indexableIf set to TRUE, can be used as a filter on the front-officeNTRUE / FALSEFALSE
attr_requiredMake the attribute a mandatory fieldNTRUE / FALSEFALSE
attr_forVariantIf set to TRUE, the attribute can be used as a variant.NTRUE / FALSEFALSE

Navigation categories

NameDescriptionMandatory (Y/N)TypeExample
navigation_category_codeUnique code for the navigation category (must not start with 0). DJUST recommends using the same code as for the classification category and changing only one parameter.YTextST07
navigation_category_labelNavigation category name (visible by the customer)YTextSteel
navigation_category_parent_codeParent code of the navigation category.YIf the parent is "ROOT", the external ID is the same as the store ID. Click "ROOT" in each store to retrieve and copy the Root external ID.Root
classification_category_codeClassification code to which the navigation category is assignedYTextST_7

Products

NameDescriptionMandatory (Y/N)TypeExample
nameProduct's nameYTextiPhone
external_idExternal reference (ID in the ERP)YText12345
descriptionProduct's descriptionNTextSmartphone made by Apple that combines a computer, iPod, digital camera and cellular phone into one device with a touchscreen interface.
brandProduct's brandNTextApple
productUnitProduct's base unitNItemItem
productParentIdTo input only in case of multiple variantsNNumber456789
classification_category_idClassification category IDYTextC1
gtinUPC (Universal) / EAN (Europe) / GTIN. Product's barcode classificationNText1234567890
mpnManufacturer Part Number - ID provided by the supplierNTextHSC0424PP
external_skuOption to add a second external reference for your system. Must be unique.NText
main_imageMain image URL.YText<https://www.apple.com/euro/iphone-15/a/generic/images/overview/closer-look/pink_small_2x.jpg>
additional_image_1Additional image URLNText
additional_image_2Additional image URLNText
additional_image_3Additional image URLNText
attributes_valueAdd custom attributesYATTR_externalidColumn name: attr_description. Value: description_name
deletePossibility to delete a productNIf set to TRUE, deletes to product.FALSE
StoreStore's external ID in which to send the productNIf empty, product is sent to all stores.32322||5243||6363

Suppliers

DJUST nameDJUST descriptionMandatory (Y/N)TypeExample
nameSupplier's nameYtextMonoprix logistics
external_idSupplier's external referenceYTextMPL
descriptionSupplier's descriptionNText
additionalImageLinkAdditional imageNList
logoSupplier's logoNText
totalOffersSupplier's total offersNLong
totalOrdersNumber of orders related to the supplierNLong
supplierRatingSupplier's ratingsNText
evaluationCountSupplier's evaluationNLong
deletedDelete the supplierYBoolean: TRUE/FALSE
TRUE: Delete the supplier
FALSE: Keep the supplier
FALSE
returnPolicyDescription of the return policiesNText
bannerBanner image on the front-endNText
accountsIdAttached accounts to the supplierNList text (multiple values accepted)

Offers

It is possible to have two separate flows: one for prices and one for stock. This can be relevant if you update your stock on a regular basis, but your price remains the same over a long period of time.

As a general rule, we recommend choosing the updating flows to minimize the amount of data to import.

For instance, if only the stock data changes but never the price data, it is best to have price and stock handled as two different flows (updated with two different .csv files in the data hub). This way, you can update only stock data on a regular basis, which reduces the resources needed to import your data and enhances performance.

NameDescriptionCommentTypeExample
stock_idMANDATORY. Stock ID (can be the offer ID if no stock).external_idTextS_FRNS_PRODUCT
supplier_idMANDATORY. Supplier code (internal to DJUST)external_idTextFRNS_123
variant_idMANDATORY. Product's code or variant's code if anyexternal_idText1234G003
stockStock quantityIf there is no unit in the stock, the offer will not appear on the frontNumber10
deletedPossibility to delete an offer. If set to TRUE, deletes the offer.TRUE / FALSEFALSE
activeOffer status.TRUE / FALSETRUE
packing_typePackaging type: unit, box, bottle...TextUNIT
quantity_per_itemQuantity contained in a package (expressed in the product's base unit)Default: 1Number1
currencyOffer's currencyDefault: EURTextEUR
customFieldValuesCustom field for offersEach column associated with a custom field must be appended with CF_. Example: CF_WAREHOUSE. One column per custom field is required.TextColumn name: CF_WAREHOUSE, value: 1234
offer_idMANDATORY. External reference for the price offer, in case of several prices for a same stock.The external_id can be identical to the stock_id if only one priceTextO_FRNS_PRODUCT
offer_typePublic prices (for all customers) or private prices (specific to a customer)PUBLIC for public prices, ACCOUNT for specific pricesTextACCOUNT
account_external_idClient reference for a private priceexternal_idText1234
item_per_packNumber of product units in the offer packaging1 for unitary sale, 6 for a pack of 6 productsNumber1
min_order_quantityMinimum quantity for an orderDefault: 1Number1
price_rangeUnitary price for the productFormat is quantity|price|discount price. Use `` to indicate next range. If there is no discount price, only use quantity|price. If only price is input, we deduce a quantity of 1.
storeStore on which the offer is displayed1 line per storeNumber or text, depending on the store external IDRAO

Stores

DJUST nameDescriptionMandatory (Y/N)TypeExample
externalIdStore's external IDYTextstoreFR
nameName of the storeYTextFrench Store
descriptionStore's descriptionYTextFrench version of our store

Assortments

DJUST nameDescriptionMandatory (Y/N)TypeExample
assortmentExternalIdAssortment's external IDYTextassortment1
productExternalIdAssociated product's external IDYTextnike_shoe_1
deleteEnables the possibility to delete the assortment(s)YBoolean
TRUE: Delete the assortment
FALSE: Keep the assortment
FALSE

Product tags

DJUST nameDescriptionMandatory (Y/N)Type
productIdProduct's IDYText
deleteEnables the possibility to delete the product tagNBoolean
TRUE: Delete the product tag
FALSE: Keep the product tag

Related products

DJUST nameDescriptionMandatory (Y/N)Type
productIdProduct's IDYText
deleteEnables the possibility to delete the related productNBoolean
TRUE: Delete the related product
FALSE: Keep the related product

Product lines

Duplicate the product ID line to add more variants.

Accounts

DJUST nameDescriptionMandatory (Y/N)TypeExample
nameCustomer's name (company name).YTextAirbus
externalIdExternal reference (from your ERP)YText/numberAIRB001
companyRegistrationNameCompany's registration nameYText/numberAirbus LtD Intl
businessRegistrationNumberCompany's registration numberYText/numberPFJD002984
accountManagerNameName of the person in charge of the companyNTextM. Smith Dakota
websiteWebsite URLNText<http://www.airbus.com>
vatNumberVAT numberNnumber
deletedEnables the possibility to delete a customer accountNBoolean
TRUE: Delete the customer account
FALSE: Keep the customer account
inactiveEnables the possibility to deactivate a customer accountNBoolean
TRUE: Deactivate the customer account
FALSE: Keep the customer account activated
address.externalIdAddress' external IDYTextaddrAirbus1
address.labelName of the address associated with the customer accountNTextMain HQ
address.fullNameFull name of the addressYText123 Baker Street London W1U 8ED United Kingdom
address.countryAddress' countryYTextUnited Kingdom
address.stateAddress' stateNText
address.cityAddress' cityYTextLondon
address.zipcodeAddress' ZIP codeYTextW1U 8ED
address.streetNameAddress' street nameYTextBaker Street
address.additionalStreetNameAdditional information on the address (optional)NText
address.phoneNumberPhone number associated with the address (optional)NText+331234567
customerTagExternalIdsAssociated customer's tags' external IDNText

Order status

Customer users

DJUST nameDescriptionMandatory (Y/N)TypeExample
externalIdExternal reference for this customer userYText1234
civilityUser's civilityYText
Values accepted:
MISS, MRS, MR
MR
firstNameUser's first nameYTextJohn
lastNameUser's last nameYTextSmith
emailUser's email addressYText[email protected]
phoneUser's phone numberYNumber
groupsUser's role in DJUSTYList text (multiple values accepted)
Values accepted:
FOC_Admin FOC_User FOC_Webmaster
FOC_Admin
or
FOC_User
organisationIdsOrganisation's external referenceNList text (multiple values accepted)org1
mainOrganisationIdMain organization external referenceNTextcompany1
accountIdsAccount IDs to which to user is attachedYList text (multiple values accepted)account1
passwordTemporary password for the accountNText1234Password
inactiveActivate or deactivate the userNBoolean: TRUE/FALSE
TRUE: Activate the user
FALSE: Deactivate the user
TRUE
deleteDelete the userNBoolean: TRUE/FALSE
TRUE: Delete the user
FALSE: Keep the user
FALSE
storeIdsStore(s) ID(s) to which the user can have access toNList text (multiple values accepted)store1