1. Home
  2. ERPAG
  3. API Script
  4. Get Supplier IDs

Get Supplier IDs

By calling the URL endpoint with the GET method, this endpoint returns a list of all supplier IDs. If you want to get the ID of a specific supplier, you need to define the EMAIL parameter in the URL.

Examples:

1. Get all Supplier IDs (call URL https://api.erpag.com/suppliers with GET method)

Result:

2. Get the ID for the supplier whose EMAIL is [email protected] (call URL https://api.erpag.com/[email protected] with GET method)

Result:

 

1. Get all Supplier IDs (call URL https://api.erpag.com/suppliers with GET method)

Result:


2. Get the ID for the supplier whose EMAIL is [email protected] (call URL https://api.erpag.com/[email protected] with GET method)

Result:

BLOCKLY SCRIPT

URL parameter:emailsetsupplier_email ▾tosupplier_email ▾null= ▾ setsupplier_email ▾toifdosupplier_email ▾supplier_email ▾ = ▾Is true Or ▾e-mail ▾Is ▾List of ID ▾ from Suppliers ▾WhereScope:All ▾Order by Key ▾ascending ▾supplier_list ▾ResponseType:JSON ▾Code:200 – OK ▾setsupplier_list ▾to

How can we help?