Manage Prices via Comestri APIs

Related Videos

Create a Pricebook in Comestri

Video Summary

This video shows you how to add a price to a product via a Price Items API and via a Products API.

Video Transcript

Welcome to Comestri. To begin, sign in to the Comestri application.

In Comestri, a Product can have multiple Prices.

In this video, you’ll be creating Prices for a Product. (Note: You’ll need to create a Pricebook to ‘hold Prices’ before creating Prices.) Let’s start by clicking Products on the main menu. Next, click Manage Products on the expanded menu.

Next, click the Product Code of the Product to see the Prices listed for it. Here, you’ll select the ‘sports_shoes42_pink’, which opens the Edit Product page.

Click the Prices tab to see all the existing Prices for this Product.

Here is the example API call in Postman. The API call will add a price to the Product using the ‘US Sale’ Pricebook. This example makes a POST call to the Products Endpoint (/api/v2/products). The API call will send a JSON payload, which specifies the Product Code, Pricebook, Price amount and a Description.

Next, you click the Send button (in the top right corner), which sends the request to create the Price.

After the Send button is clicked, a response is received from the Comestri Products API. This response shows that the Product has been updated. For this example, return to Comestri to check that the Price has been added to the Product.

Next, in Comestri, click Products on the main menu. Then click Manage Products on the expanded menu.

Click the Product Code ‘sports_shoes42_pink’, which opens the Edit Product page.

Click the Prices tab to see all the Prices for this Product. You’ll see that the ‘US Sale’ Price has now been added.

Here is the example API call in Postman. The API call will add a price to the Product using the ‘UK Sale’ Pricebook. This example makes a POST call to the Price Items Endpoint (/api/v2/price_items). The API call will send a JSON payload, which specifies the Product Code, Pricebook ID, Price amount and a Description.

Next, you click the Send button (in the top right corner), which sends the request to create the Price.

After the Send button is clicked, a response is received from the Comestri Price Items API. This response shows that the Price Item has been added to the Product. Again, return to Comestri to see the Price on the Product.

Next, in Comestri, click Products on the main menu. Then click Manage Products on the expanded menu.

Next, click the Product Code ‘sports_shoes42_pink’, which opens the Edit Product page.

Click the Prices tab to see all the Prices for this Product. You’ll see that the ‘UK Sale’ Price has now been added.