Product information should be inserted into the product table
Variants should be inserted into the product_variant table. Variants are optional. can be null or empty
Maximum 1000 products can be passed to this endpoint.
- product_id, title, category_path, price, discounted_price, link, image_link columns are required and can not be null or empty
- discounted_price <= price (discounted_price should be smaller or equal to price)
- stock_count >= 0 (stock_count can not be negative)
- Every column type and length must be validated according to the database columns.
- product_variant_id, title, price, discounted_price, image_link columns are required and can not be null or empty
- No need for product_id. It should come to the outer product object
- discounted_price <= price (discounted_price should be smaller or equal to price)
- stock_count >= 0 (stock_count can not be negative)