Inventory

Update a Inventory Product

Work with Inventory Products.Update the Inventory Product with the given ID.

put/admin/inventory/products/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/inventory/products/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID of the desired Inventory Product.

Request body

namestring required

Product name

vendor_idnumber

Vendor ID

category_idnumber

Category ID

rent_pricenumber

Rent price

sold_pricenumber

Vendor price

delete_photoboolean

Delete current product photo.

Example request

{
  "name": "Product #315955388",
  "vendor_id": 13,
  "category_id": 1,
  "rent_price": 50.5,
  "sold_price": 150.45,
  "delete_photo": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.