Products v1

All endpoints related to Products v1

circle-exclamation
triangle-exclamation

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

circle-exclamation
triangle-exclamation

getAllProducts()

chevron-rightUsagehashtag
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

chevron-rightUsagehashtag


createProduct()

Parameters
Type
Required
Description

fields

object

✔️

Product's field

chevron-rightUsagehashtag

updateProduct()

Parameters
Type
Required
Description

id

string

✔️

ID of the product you want to update

fields

object

✔️

Product's field

chevron-rightUsagehashtag

deleteProduct()

Parameters
Type
Required
Description

id

string

✔️

ID of a Product

chevron-rightUsagehashtag

Last updated