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_emailtosupplier_emailnull= setsupplier_emailtoifdosupplier_emailsupplier_email =Is true Ore-mailIsList of ID from SuppliersWhereScope:AllOrder by Keyascendingsupplier_listResponseType:JSONCode:200 – OKsetsupplier_listto

How can we help?