24/7 Support: 800.608.6482

Navigation


Product_Insert

This function allows you to insert a product.

Request Body Parameters

product_code Type:
String
Title:
Product Code
Product Code of the product to Insert. This is a unique value in Miva.
product_sku Type:
String
Title:
Product SKU
[optional] Product SKU of the product to insert. This is usually a unique value although Miva does not enfore unique values on the SKU field like it does for the Product Code.
product_name Type:
String
Title:
Product Name
Product Name
product_description Type:
String
Title:
Product Description
[optional] Product Description. Full HTML description allowed.
product_canonical_category_code Type:
String
Title:
Produt Canonical Category Code
[optional] The canonical category is used to populate the breadcrumbs and category tree when no categoruy code is present.
product_alternate_display_page Type:
String
Title:
Product Alternate Display Page
[optional] Alternate Page template to use whne rendering this product
product_page_titlee Type:
String
Title:
Product Page Title
[optional] The Title Tag for this product.
product_thumbnail Type:
String
Title:
Product Thumbnail
[optional] [depreciated] Product Thumbnail. This field is depreciated. Images should be uploaded using ProductImage_Add
product_image Type:
String
Title:
Product Fullsize Image
[optional] [depreciated] Product Fullsize Image. This field is depreciated. Images should be uploaded using ProductImage_Add
product_price Type:
Number
Title:
Product Price
[optional] Product Price. This is the price the product will be purchased at.
product_cost Type:
Number
Title:
Product Cost
[optional] Product Cost. Used for reporting and certing types of discounts (markup from cost)
product_weight Type:
Number
Title:
Product Weight
[optional] Product Weight
product_Inventory Type:
Number
Title:
Product Inventory/td>
[optional] Current inventory count available for the product. Updating this value does not take into account stock held in open baskets
product_taxable Type:
Boolean
Title:
Product Taxable
[optional] true or false value depending on if a product is taxable.
product_active Type:
Boolean
Title:
Product Active
[optional] true or false value depending on if a product is active. Important: If a value is omitted, the behavior will default to active.
customfield_values Type:
Object
Title:
Custom Fields Values
[optional] An object containing a customfields object with custom order fields to update. See examples.

Response Parameters

success boolean value for if the request was successfull

Example Request

Example Response

Error Responses

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2023 Miva©, Miva Merchant©, MivaPay©, MivaCon©, Camp Miva ℠, Miva, Inc. All Rights Reserved.