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:
[
"20NLYPKW1BHYYX69",
"3D1GDHN341M0PZSD",
"GHTY74SF8765FDER",
"MMFHDT9E7CCTR23D"
]2. Get the ID for the supplier whose EMAIL is [email protected] (call URL https://api.erpag.com/[email protected] with GET method)
Result:
[
"3D1GDHN341M0PZSD"
]
1. Get all Supplier IDs (call URL https://api.erpag.com/suppliers with GET method)
Result:
[
"20NLYPKW1BHYYX69",
"3D1GDHN341M0PZSD",
"GHTY74SF8765FDER",
"MMFHDT9E7CCTR23D"
]2. Get the ID for the supplier whose EMAIL is [email protected] (call URL https://api.erpag.com/[email protected] with GET method)
Result:
[
"3D1GDHN341M0PZSD"
]
BLOCKLY SCRIPT