Products v1

All endpoints related to Products v1

Supported Endpoints

  • getAllProducts(): Returns a list of all the listings created.

  • getProduct(id): Retrieves a listing by the entered ID.

  • createProduct(fields): Creates a listing and returns the created listing.

  • updateProduct(id, fields): Updates a listing by the entered ID.

  • deleteProduct(id): Deletes a listing by the entered ID.


Products v1

getAllProducts()

Usage
const Sellapp = require("sellapp-node");
const API = new Sellapp.API("YOUR_API_KEY");

API.productsv1.getAllProducts().then((res) => {
    console.log(res)
});

getProduct()

Type
Required
Description

id

string

✔️

ID of a Product

Usage


createProduct()

Parameters
Type
Required
Description

fields

object

✔️

Product's field

Usage

updateProduct()

Parameters
Type
Required
Description

id

string

✔️

ID of the product you want to update

fields

object

✔️

Product's field

Usage

deleteProduct()

Parameters
Type
Required
Description

id

string

✔️

ID of a Product

Usage

Last updated