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

Get Item IDs

Estimated reading time: 1 minute

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


Examples:

Get all Product/Services IDs (call URL https://api.erpag.com/items with GET method)

Result:

Get the ID for the product/service whose SKU is 0002

Result:

Note: Access to this API endpoint is allowed only for selected API User account using the API key and API password in the request header with the key name “Authorization” and key value “Basic base64encoded(api_key:api_password)“, or URL parameters ApiKey and ApiSecret for example:

https://api.erpag.com/items?ApiKey=key_056a9spfg1qubg34e409ee233d&ApiSecret=sec_IKJ4Sc2G8jHfr3sHbxQwEfev-Az-1YaF

BLOCKY EXAMPLE

URL parameter:skusetitem_skutoitem_skunull= setitem_skutoifdoitem_skuitem_sku =Is true OrSKUIsList of ID from ItemsWhereScope:AllitemsOrder by SKUascendingitems_listResponseType:JSONCode:200 – OKsetitems_listto

API script and automation

How can we help?