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.
The unique store identifier is generated by AfterShip. 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 unique identifier for the product.
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.
Available quantity.
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.