Inventory

Create a Inventory Product

Creates a new Inventory Product.

post/admin/inventory/products

Request

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

Request body

namestring required

Product name

vendor_idnumber

Vendor ID

category_idnumber

Category ID

rent_pricenumber

Rent price

sold_pricenumber

Vendor price

filestring

cURL file instance to attach product photo.

Example request

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

Response

idnumber

Inventory Product ID

Example response

{
  "id": 1
}

Changes

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