Create a Product with Price using Public API

Creating a Product with Price via the CRM Public API

This guide explains how to use the CRM's public API to create a product and assign it a price. This is ideal for businesses that want to automate product setup or sync items from external systems into their CRM e-commerce, invoicing, or sales tools.

Understanding Product Types

In the CRM, products can be categorized into two main types:

  • Products with price: Single items with no variations, such as a standard poster or a fixed service.
  • Products with variants: Items that come in multiple options, like a t-shirt available in different sizes and colors.

This article focuses on creating a simple product with a fixed price.

API Authorization

To interact with the CRM public API, you need a valid access token. Ensure you have obtained one with appropriate permissions to create products and manage pricing before proceeding.

Steps to Create a Product and Price

Use the following API endpoints in sequence:

  1. Create a Product: Send a POST request to the products endpoint with details like name, description, and SKU.
  2. Create a Price: Using the product ID from the first step, send a POST request to the pricing endpoint to set the currency, amount, and any tax settings.

After both steps are completed, the product will be available in your CRM with the specified price, ready for use in stores, invoices, or other sales contexts.