POST
/
suppliers
curl --request POST \
  --url https://api-ezyconnect.ezytail.com/suppliers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "activityCode": "<string>",
    "dateCreation": "2023-11-07T05:31:56Z",
    "dateLastUpdate": "2023-11-07T05:31:56Z",
    "activityName": "<string>",
    "supplierCode": "<string>",
    "supplierTitle": "<string>",
    "supplierName": "<string>",
    "supplierFirstName": "<string>",
    "supplierCompany": "<string>",
    "supplierAddress1": "<string>",
    "supplierAddress2": "<string>",
    "supplierAddress3": "<string>",
    "supplierPostalCode": "<string>",
    "supplierCity": "<string>",
    "supplierCountry": "<string>",
    "supplierCountryName": "<string>",
    "supplierState": "<string>",
    "supplierPhone": "<string>",
    "supplierFax": "<string>",
    "supplierMail": "<string>",
    "supplierOption": "<string>",
    "supplierComments": "<string>",
    "supplierAgreementNumber": "<string>",
    "supplierControl": "<string>",
    "supplierEdiEdition": "<string>",
    "customField1": "<string>",
    "customField2": "<string>",
    "customField3": "<string>",
    "customField4": "<string>",
    "customField5": "<string>",
    "customField6": "<string>",
    "customField7": "<string>",
    "customField8": "<string>",
    "customField9": "<string>",
    "customField10": "2023-11-07T05:31:56Z",
    "customField11": "2023-11-07T05:31:56Z"
  }
]'
{
  "status": 0,
  "operationId": "<string>",
  "errors": {},
  "passed": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below. \r\n\r\nExample: 'Bearer 12345abcdef'

Body

activityCode
string
required

Code de l'activité

Required string length: 1 - 3
activityName
string
required

Nom de l'activité

Required string length: 1 - 30
supplierCode
string
required

Unique identifier of the supplier

Required string length: 1 - 30
supplierName
string
required

Libellé fournisseur

Required string length: 1 - 50
dateCreation
string | null
dateLastUpdate
string | null
supplierTitle
string | null

Civilité fournisseur

Maximum length: 3
supplierFirstName
string | null

Prenom fournisseur

Maximum length: 50
supplierCompany
string | null

Raison Sociale

Maximum length: 50
supplierAddress1
string | null

Adresse fournisseur 1

Maximum length: 35
supplierAddress2
string | null

Adresse fournisseur 2

Maximum length: 35
supplierAddress3
string | null

Adresse fournisseur 3

Maximum length: 35
supplierPostalCode
string | null

Code Postale du fournisseur

Maximum length: 20
supplierCity
string | null

Ville du fournisseur

Maximum length: 50
supplierCountry
string | null

Code pays ISO du fournisseur

Maximum length: 2
supplierCountryName
string | null

Nom pays du fournisseur

Maximum length: 15
supplierState
string | null

Division territoriale du fournisseur

Maximum length: 9
supplierPhone
string | null

Téléphone du fournisseur

Maximum length: 20
supplierFax
string | null

fax du fournisseur

Maximum length: 20
supplierMail
string | null

Adresse mail du fournisseur

Maximum length: 50
supplierOption
string | null

Option de nom fournisseur

Maximum length: 50
supplierComments
string | null

Commentaire du fournisseur

Maximum length: 100
supplierAgreementNumber
string | null

Numéro Agrément du fournisseur alcool

Maximum length: 15
supplierControl
string | null

Top contrôle fournisseur

Maximum length: 1
supplierEdiEdition
string | null

Gestion declaration douaniere alcool par EDI

Maximum length: 1
customField1
string | null

Champ spécifique

Maximum length: 200
customField2
string | null

Champ spécifique

Maximum length: 200
customField3
string | null

Champ spécifique

Maximum length: 200
customField4
string | null

Champ spécifique

Maximum length: 200
customField5
string | null

Champ spécifique

Maximum length: 200
customField6
string | null

Champ spécifique

Maximum length: 200
customField7
string | null

Champ spécifique

Maximum length: 200
customField8
string | null

Champ spécifique

Maximum length: 200
customField9
string | null

Champ spécifique

Maximum length: 200
customField10
string | null

Champ spécifique

customField11
string | null

Champ spécifique

Response

200
text/plain
Success
status
enum<integer>
Available options:
0,
1,
2
operationId
string | null
errors
object | null
passed
string[] | null