Appendix: API fields examples (à supprimer)

API entities examples

Product and variants

Body example

📘

  • The API is not compatible with multi local languages.
  • The JSON is a list of objects.
[
   {
      "Product_External_Id":"142347",
      "Product_Names":"Product1",
      "Product_Classification_CategoryId":"678",
      "Variant_Names":"Variant1",
      "Variant_ExternalId":"123343-01"
   },
   {
      "Product_External_Id":"142396",
      "Product_Names":"Product 2",
      "Product_Classification_CategoryId":"678",
      "Variant_Names":"Variant2",
      "Variant_ExternalId":"125745-01"
   },
   {
      "Variant_Names":"Variant3",
      "Variant_ExternalId":"133468-02",
      "Product_External_Id":"142347"
   }
]

Fields

Product

FieldMandatoryFormat
External IDYESString
NameYESString
Classification category IDYESString
DescriptionNOString
BrandNOString
Product unitNOString
Deleted productNOBoolean
InactiveNOBoolean

Variant

FieldMandatoryFormat
NameYESString
DescriptionNOString
External IDNOString
External SKUNOString
EANNOString
MPNNOString
Main image URLNOString
Additional image linksNOArray
Deleted variantNOBoolean
InactiveNOBoolean
Stores external URLsNOList text

Accounts

Body example

📘

[
   {
     "name": "John Doe",
     "externalid": "1234567890",
     "companyRegistrationName": "Doe Enterprises Inc.",
     "businessRegistrationNumber": "BRN123456789",
     "address": [
       {
         "externalId": "ADDR12345",
         "fullName": "John Doe",
         "country": "USA",
         "city": "New York",
         "zipcode": "10001",
         "streetName": "123 Main St"
       }
      ] 
   }
]

Fields

FieldMandatoryFormat
NameYESString
External IDYESString
Company registration nameYESString
Business registration numberYESString
Account manager nameNOString
WebsiteNOString
VAT numberNOString
DeletedNOBoolean
InactiveNOBoolean
Customer tags external IDsNOList text
AddressYESDescribe below

Address fields:

FieldMandatoryFormat
External IDYESString
Full nameYESString
CountryYESString
CityYESString
Zip codeYESString
Street nameYESString
LabelNOString
StateNOString
Additional street nameNOString
Phone numberNOString

Offers stock and price

Body example

📘

DJUST only collects offers data using a CSV file.

{
  "urlFile": "https://myurl.com/abc"
}

Fields

Offer stock

FieldMandatoryFormat
StockYESLong
Supplier IDYESString
Variant IDYESString
Stock IDYESString
Stock available end dateNODate
Stock available start dateNODate
Active stockNOBoolean
Delete stockNOBoolean
Packing typeNOString
Min shipping zoneNOString
Min shipping typeNOString
Min stock alertNOInteger
Min shipping price additionalNOBig decimal
Min shipping priceNOBig decimal
Lead time to shipNOInteger
Max order quantityNOLong
Min order quantityNOInteger
CurrencyNOString
Quantity per packNODouble

Offer price

FieldMandatoryFormat
Offer IDNOString
Quantity per itemNOInteger
Price rangesNOList value
Offer typeNOString
Customer account IDNOString
Customer tag IDNOString
Delete priceNOBoolean
Active priceNOBoolean

Suppliers

Body example

[
   {
      "name":"supplierABC",
      "externalId":"1234",
      "deleted":"false"
   }
]

Fields

FieldMandatoryFormat
NameYESString
External IDYESString
DeletedYESBoolean