1. 4.5 - Product Supplier (Produit-Fournisseur)
ERPConnector
ERPConnector - Public doc
  • ERPConnector - Public doc
  • 1 - Informations générales
    • 1.1 - Survol
    • 1.2 - CodeLicence, Company, CléSecrete
    • 1.3 - Authentification
    • 1.4 - Versions de l'API
      • GetBasicApiInfo
    • 1.5 - Header + Query Param
      • Header - COMPANY_CODE
      • Header - RETURN_FULL_PAYLOAD
      • PUT vs POST
      • Query - $select
      • Pagination dans l'API
  • 2 - Accounting (GL)
    • 2.1 - GL Account
      • GL Account
    • 2.2 - GL Project
      • GLProject
      • GLProjectBalance
      • Create GLProjet
    • 2.3 - GL Journal Entry
      • GL Journal Entry
      • GL Journal Entry (Sage50)
  • 3 - Account Receivable (Customers)
    • 3.1 - Customer (client)
      • Customer
      • Create customer
      • Modify Customer
    • 3.2 - Customer Group
      • CustomerGroup
    • 3.3 - Customer Order (Commandes cliente)
      • CustomerOrder
      • CustomerOrder
      • CustomerOrder
    • 3.4 - Customer Invoice (Facture client)
      • CustomerInvoices
      • Create CustomerInvoice
      • Create CustomerInvoice (AR Invoice)
    • 3.5 - SalesRep (Vendeurs)
      • SalesRep
    • 3.6 - Territory (Territoires)
      • Territory
    • 3.7 - PaymentMode (Mode de paiement)
      • CustomerPaymentMode
    • 3.8 - Customer Project
      • Project
    • 3.9 - Customer Bid (Soumission cliente)
      • Get CustomerBid
      • Create CustomerBid
    • 3.10 - Customer Invoice Payment (Règlement facture cliente)
      • Get CustomerInvoicePayment
      • Create CustomerInvoicePayment (Acomba)
    • 3.11 - Customer Service Contract (Contrat de service)
      • Get CustomerInvoicePayment Copy
    • 3.12 - CustomerARInvoices (Transaction GL Cliente)
      • Extract InvoiceAR
      • Create CustomerInvoice (AR Invoice) Copy
  • 4 - Account Payable (Compte Payable/fournisseur)
    • 4.1 - Supplier (Fournisseur)
      • Supplier
      • Create Supplier
      • Modify Supplier
    • 4.2 - Supplier Invoice (Facture Fournisseur)
      • SupplierInvoice
      • Supplier Invoice
    • 4.3 - Supplier Order (Achat fournisseur)
      • SupplierOrder
      • Create SupplierOrder
    • 4.4 - Supplier Invoice Payment (Paiement Fournisseur)
      • SupplierInvoicePayment
      • SupplierInvoicePayment (Avantage)
    • 4.5 - Product Supplier (Produit-Fournisseur)
      • Get Supplier Products
        GET
      • Create SupplierProduct
        POST
      • Modify SupplierProduct
        PUT
    • 4.6 - SupplierOrderReceipt (Réception Achat)
      • SupplierOrderReceipt (Réception Acomba)
  • 5 - Inventory (Produits)
    • 5.1 - Product (Produit)
      • Product - Get METADATA information
      • Product
      • Product Creation
      • Product Modif
    • 5.2 - ProductGroup (Groupe de produit)
      • ProductGroup
    • 5.3 - Product Trail
      • ProductTrail
      • Create ProductTrail
    • 5.4 - Product Serial
      • Get - Product Serial (Acomba)
  • 6 - HR (Ressource Humaine)
    • 6.1 - Employee
      • Employee
    • 6.2 - Employee Payroll
      • Employee Payroll
  • 7 - ERPConnectorTask (Direct)
    • GET SupplierOrder (achat) ErpConnectorTask
    • Extract Customer
    • Extract Customer
    • GET Supplier - ErpConnectorTask
  • 8 - Miscellaneous
    • 8.1 - Taxes
      • Tax
      • TaxGroup
    • 8.2 - Company Info
      • CompanyInfo
    • 8.3 WorkOrder (Servicentre / Servex)
      • 8.3.1 WorkOrder Sub Entities (Servex)
        • Get WorkOrderStatus (Servex)
        • Get WorkOrderTechnician (Servex)
        • Get WorkOrderDispatcher (Servex)
      • Get WorkOrder
      • Post WorkOrder (Servex)
    • 8.4 Equipment (Servicentre)
      • Get Equipment
    • 8.5 Activity (Avantage)
      • Get Activity
    • 8.6 FinancialTransaction (QBO)
      • Read FinancialTransaction (QBO - BankDeposit)
      • Create FinancialTransaction (QBO - BankDeposit)
  • 99 - System
    • Quickbooks Online
      • QuickBooks - GetRefreshQBOAccessTokens
      • QuickBooks - Get QBO GetQBOConnexionInfo
      • QuickBooks - Auth - ConnectToQBORedirect
      • QuickBooks - ExecuteRawSQL
    • Relational Database
      • Relational Db - ExecuteRawSQL
    • Acomba
      • Test ERP Connection
  1. 4.5 - Product Supplier (Produit-Fournisseur)

Create SupplierProduct

POST
https://gateway.erpconnector.ca/api/Entity/SupplierProduct

Supplier Product Creation#

This endpoint allows you to create a new supplier product in the ERP system.

Request Body#

No_Fournisseur (required, string): The supplier number.
NoProduit_Fournisseur (required, string): The product number for the supplier.
Description (string): Description of the product.
CodeUPC_Fournisseur (string): Supplier's UPC code.
CodeUnite_Court (string): Short unit code.
CodeUnite_Long (string): Long unit code.
EstActif (boolean): Indicates if the product is active.
prix_ProchainCoutant (number): Next cost price.
Qte_Economique (number): Economic quantity.

Response#

Status: 400
Content-Type: text/plain
Erreur du Connecteur ERP.Détail:Erreur lors de la création du produit fournisseur : Erreur gérée - Vous tentez de CRÉER un produit-fournisseur, alors que celui-ci existe DÉJÀ (sous la clé Fournisseur:2654125, NoProduitFournisseur:test1. Utilisez plutôt le verbe pour MODIFIER un client.
The request failed with a status code of 400, indicating an error in creating the supplier product. The response provides details about the error, suggesting to use the verb to modify an existing client instead of creating a new one.

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Body Params application/json

Examples

Responses

🟢200
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://gateway.erpconnector.ca/api/Entity/SupplierProduct' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
        "No_Fournisseur": "2654125", //Obligatoire - le Numéro du fournisseur
        "NoProduit_Fournisseur": "test1", //Obligatoire - le numéro du produit, pour ce fournisseur

        "Description": "Vis 2\"1/2 boîte de 500",
        
        "CodeUPC_Fournisseur": "UPC",
        "CodeUnite_Court": "BTE",
        "CodeUnite_Long": "Boîte",
        "EstActif": true,
        "prix_ProchainCoutant": 1.25,

        "Qte_Economique": 75
    }'
Response Response Example
{}
Previous
Get Supplier Products
Next
Modify SupplierProduct
Built with