1. Home
  2. ERPAG
  3. API Script
  4. Update item

Update item

By calling the URL endpoint with the PUT method, this endpoint returns a JSON object with ID of updated Item.

Example:


Put the JSON object in body request for the item whose JSON looks like sample below (call URL https://api.erpag.com/item/update?id=DC105DLSS1CN7N5H with PUT method and JSON body).

Body JSON sample:

Explanation:

sku – The Item SKU number (optional)

description – Item Description/Name (optional)

uom – Unit of measure (optional)

image_url – URL address of the product image (optional)

Result:

Explanation:

id – ID of the updated Item


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/item/add?ApiKey=key_056a9spfg1qubg34e409ee233d&ApiSecret=sec_IKJ4Sc2G8jHfr3sHbxQwEfev-Az-1YaF

How can we help?