Create a product.
If you receive an error message stating "Precondition failed, the store not found.", please first create a store using the Create a store API.
This value equals to store.id
of Store
Resource. You can obtain this id by making a GET /stores call to get existing stores or a POST /stores to create a new store.
A custom identifier for the product. If not provided, the system will generate a UUID. Must be unique within the store and immutable. You can use this ID to manage the resource in subsequent API calls.
The title of the product.
URL friendly unique identifier for the product.
The categories associated with the product, used for filtering and search purposes.
The tags associated with the product, used for filtering and search purposes.
URLs of the product images.
The URL of the product page in your online storefront.
To indicate whether the product has been published.
Description of the product.
Product variant information.
A unique identifier for the product variant in your system.
Available quantity of the product variant.
The product SKU of the product variant.
The title of the product variant.
The price of the product variant.
The product image URL of the product variant.
The original price of the item before an adjustment or a sale.
The weight information of the product variant.
To specify whether customers are permitted to place an order for this out-of-stock product variant.
The custom product variant properties, such as size, color, and material.
The date and time, formatted in ISO 8601, indicating when the product was created in your e-commerce system.
The date and time, formatted in ISO 8601, indicating when the product was updated in your e-commerce system.