Create

Description: Allows you to create a new simple product.

Authentication: Admin

Default Format: JSON

Parameters:

NameDescriptionRequiredTypeExample Value
type_idProduct type. Can have the "simple", "grouped", "configurable", "bundle", "downloadable", "virtual" value.requiredstringsimple
skuProduct SKUrequiredstringnew_product
nameProduct namerequiredstringNew Product
meta_titleProduct meta titleoptionalstringNew Product
meta_descriptionProduct meta descriptionoptionalstringThis is a new product
url_keyA friendly URL path for the productoptionalstringnew-product
msrp_enabledThe Apply MAP option. Defines whether the price in the catalog in the frontend is substituted with a Click for price linkoptionalint1
msrp_display_actual_price_typeDefines how the price will be displayed in the frontend. Can have the following values: In Cart, Before Order Confirmation, and On Gestureoptionalint2
gift_message_availableDefines whether the gift message is available for the productoptionalint1
priceProduct Pricerequiredstring2000
special_priceProduct Sale/Special Priceoptionalstring1999.99
costCost of itemoptionalstring0.10
weightProduct Weightrequiredstring0.4
msrpThe Manufacturer's Suggested Retail Price option. The price that a manufacturer suggests to sell the product at.optionalstring150
statusProduct status. Can have the following values: 1- Enabled, 2 - Disabled.requiredint1
visibilityProduct visibility. Can have the following values: 1 - Not Visible Individually, 2 - Catalog, 3 - Search, 4 - Catalog, Search.requiredint4
tax_class_idProduct tax class. Can have the following values: 0 - None, 2 - taxable Goods, 4 - Shipping, etc., depending on created tax classes.requiredint
descriptionProduct description.requiredstringThis is a new product.
short_descriptionProduct short description.requiredstringA new product.
special_from_dateDate starting from which the special price will be applied to the productoptionalstring2020-02-14 00:00:00
special_to_dateDate till which the special price will be applied to the product optionaloptionalstring2020-02-14 00:00:00
news_from_dateDate starting from which the product is promoted as a new productoptionalstring2020-02-14 00:00:00
news_to_dateDate till which the product is promoted as a new productoptionalstring2020-02-14 00:00:00
group_priceProduct group priceoptionalarrayarray of group price
tier_priceProduct tier priceoptionalarrayarray of tier price
stock_dataProduct inventory dataoptionalarrayarray of stock data
zb2b_product_restrictedIs Product RestrictedoptionalbooleanFlag1
zb2b_restricted_prod_groupsCustomer Groups allowed to view the product if restricted. (Array of IDs)optionalarray["1", "4"]
customer_permissionsCustomers allowed to view the product if restricted. (Array of IDs)optionalarray["1", "4"]
account_permissionsAccounts allowed to view the product if restricted. (Array of IDs)optionalarray["1", "4"]
account_location_permissionsAccount Locations allowed to view the product if restricted. (Array of IDs)optionalarray["1", "4"]
custom_optionsProduct Customizations. Key is either numeric for existing options or non-numeric for new options.optionalCustomOptionConfig{ "_1": CustomOption }

Array of Group Price attributes is as follows:

NameDescriptionRequiredTypeExample Value
cust_groupCustomer groupoptionalint1
priceGroup pricerequiredstring150
special_priceGroup Sale Priceoptionalstring145.99
special_from_dateGroup Sale Start Dateoptionalstring2021-01-15T00:00:00
special_to_dateGroup Sale End Dateoptionalstring2021-01-25T00:00:00

All data in the group_price array will overwrite all existing group price data.

Array of Tier Price attributes is as follows:

NameDescriptionRequiredTypeExample Value
website_idWebsite IDoptionalint0
cust_groupCustomer group IDoptionalint1
priceTier priceoptionalstring150
price_qtyPrice quantityoptionalstring10

Array of Stock Data attributes is as follows:

NameDescriptionRequiredTypeExample Value
qtyQuantity of stock items for the current productoptionalstring99
min_qtyQuantity for stock items to become out of stockoptionalstring5
use_config_min_qtyChoose whether the Config settings will be applied for the Qty for Item's Status to Become Out of Stock optionoptionalint1
is_qty_decimalChoose whether the product can be sold using decimals (e.g., you can buy 2.5 product)optionalint1
backordersDefines whether the customer can place the order for products that are out of stock at the moment.optionalint0
use_config_backordersChoose whether the Config settings will be applied for the Backordersoptionalint1
min_sale_qtyMinimum number of items in the shopping cart to be soldoptionalstring10
use_config_min_sale_qtyChoose whether the Config settings will be applied for the Minimum Qty Allowed in Shopping Cartoptionalint1
max_sale_qtyMaximum number of items in the shopping cart to be soldoptionalstring50
use_config_max_sale_qtyChoose whether the Config settings will be applied for the Maximum Qty Allowed in Shopping Cartoptionalint1
is_in_stockDefines whether the product is available for selling.optionalint1
notify_stock_qtyThe number of inventory items below which the customer will be notifiedoptionalstring5
use_config_notify_stock_qtyChoose whether the Config settings will be applied for the Notify for Quantity Below optionoptionalint1
manage_stockChoose whether to view and specify the product quantity and availability and whether the product is in stock management.optionalint1
use_config_manage_stockChoose whether the Config settings will be applied for the Manage Stock optionoptionalint1
use_config_qty_incrementsChoose whether the Config settings will be applied for the Qty Increments optionoptionalint1
qty_incrementsThe product quantity increment value optionaloptionalstring3
use_config_enable_qty_incChoose whether the Config settings will be applied for the Enable Qty Increments optionoptionalint1
enable_qty_incrementsDefines whether the customer can add products only in increments to the shopping cartoptionalint0
is_decimal_dividedDefines whether the stock items can be divided into multiple boxes for shippingoptionalint0
group_qty_incrementsWill update the products qty increments (packages).optionalGroupQtyIncrementData[][]

GroupQtyIncrementData:

NameDescriptionRequiredTypeExample Value
idCustomer Group IDrequiredintnull
valueIncrement Valueoptionalint10
increment_labelIncrement LabeloptionalstringPackage(s)
is_defaultIs the default incrementoptionalbooleanfalse

CustomOption:

The following are the generic options needed for all custom options. There will be additional options defined below for each option type.

NameDescriptionRequiredTypeExample Value
option_idUnique identifier for the optionRequiredString"11"
titleThe title of the optionRequiredString"Test 1"
typeThe type of the option (field, area, file, etc.)RequiredString (field, area, file, drop_down, radio, checkbox, multiple, date, date_time, time)"field"
is_requireWhether the option is required (0 = No, 1 = Yes)RequiredInteger (0, 1)0
is_deletedWhether the option is deleted (0 = No, 1 = Yes)RequiredInteger (0, 1)0
sort_orderThe sort order of the optionRequiredInteger0
render_layoutLayout style for the optionOptionalString (null, '2-column', '3-column')null
fixed_price_qtyHow the price is applied (1 = One Time, 0 = Per Item)OptionalInteger (1, 0)0
customer_group_idCustomer group ID for specific targetingOptionalInteger (null - All groups, 0 - NOT LOGGED IN, ...)null
tooltipTooltip text that provides more informationOptionalString (null, string)null
tooltip_iconIcon for the tooltipOptionalString (null, string)null

CustomOptionField:

NameDescriptionRequiredTypeExample Value
max_charactersMax CharactersRequiredStringnull
skuSKU AdjustmentRequiredStringnull
pricePrice AdjustmentRequiredString (field, area, file, drop_down, radio, checkbox, multiple, date, date_time, time)"field"
price_typePrice Adjustment TypeRequiredString (fixed, percent)"fixed"
zoey_weightWeightRequiredInteger0
customer_group_pricesCustomer Group PriceRequiredCustomOptionCustomerGroupPriceDefined in the CustomOptionCustomerGroupPrice section.

CustomOptionArea:

NameDescriptionRequiredTypeExample Value
max_charactersMax CharactersRequiredStringnull
skuSKU AdjustmentRequiredStringnull
pricePrice AdjustmentRequiredString (field, area, file, drop_down, radio, checkbox, multiple, date, date_time, time)"field"
price_typePrice Adjustment TypeRequiredString (fixed, percent)"fixed"
zoey_weightWeightRequiredInteger0
customer_group_pricesCustomer Group PriceRequiredCustomOptionCustomerGroupPriceDefined in the CustomOptionCustomerGroupPrice section.

CustomOptionFile:

NameDescriptionRequiredTypeExample Value
file_extensionAllowed File ExtensionsRequiredStringnull
skuSKU AdjustmentRequiredStringnull
pricePrice AdjustmentRequiredString (field, area, file, drop_down, radio, checkbox, multiple, date, date_time, time)"field"
price_typePrice Adjustment TypeRequiredString (fixed, percent)"fixed"
customer_group_pricesCustomer Group PriceRequiredCustomOptionCustomerGroupPriceDefined in the CustomOptionCustomerGroupPrice section.

CustomOptionDate:

NameDescriptionRequiredTypeExample Value
skuSKU AdjustmentRequiredStringnull
pricePrice AdjustmentRequiredString (field, area, file, drop_down, radio, checkbox, multiple, date, date_time, time)"field"
price_typePrice Adjustment TypeRequiredString (fixed, percent)"fixed"
customer_group_idCustomer group ID for specific targetingOptionalInteger (null - All groups, 0 - NOT LOGGED IN, ...)null
customer_group_pricesCustomer Group PriceRequiredCustomOptionCustomerGroupPriceDefined in the CustomOptionCustomerGroupPrice section.
date_offset_maxMax Day BufferRequirednullInteger ( 0 - 29 )
date_offset_maxMin Day BufferRequirednullInteger ( 0 - 29 )

CustomOptionDateTime:

NameDescriptionRequiredTypeExample Value
skuSKU AdjustmentRequiredStringnull
pricePrice AdjustmentRequiredString (field, area, file, drop_down, radio, checkbox, multiple, date, date_time, time)"field"
price_typePrice Adjustment TypeRequiredString (fixed, percent)"fixed"
customer_group_idCustomer group ID for specific targetingOptionalInteger (null - All groups, 0 - NOT LOGGED IN, ...)null
customer_group_pricesCustomer Group PriceRequiredCustomOptionCustomerGroupPriceDefined in the CustomOptionCustomerGroupPrice section.
date_offset_maxMax Day BufferRequirednullInteger ( 0 - 29 )
date_offset_maxMin Day BufferRequirednullInteger ( 0 - 29 )

CustomOptionTime:

NameDescriptionRequiredTypeExample Value
skuSKU AdjustmentRequiredStringnull
pricePrice AdjustmentRequiredString (field, area, file, drop_down, radio, checkbox, multiple, date, date_time, time)"field"
price_typePrice Adjustment TypeRequiredString (fixed, percent)"fixed"
customer_group_idCustomer group ID for specific targetingOptionalInteger (null - All groups, 0 - NOT LOGGED IN, ...)null
customer_group_pricesCustomer Group PriceRequiredCustomOptionCustomerGroupPriceDefined in the CustomOptionCustomerGroupPrice section.

CustomOptionDropDown:

NameDescriptionRequiredTypeExample Value
valuesKey/Value where key is value id and value is the option value configRequiredCustomOptionValueDefined in the CustomOptionValue section

CustomOptionRadio:

NameDescriptionRequiredTypeExample Value
valuesKey/Value where key is value id and value is the option value configRequiredCustomOptionValueDefined in the CustomOptionValue section

CustomOptionCheckbox:

NameDescriptionRequiredTypeExample Value
valuesKey/Value where key is value id and value is the option value configRequiredCustomOptionValueDefined in the CustomOptionValue section

CustomOptionMultiple:

NameDescriptionRequiredTypeExample Value
valuesKey/Value where key is value id and value is the option value configRequiredCustomOptionValueDefined in the CustomOptionValue section

CustomOptionValue:

NameDescriptionRequiredTypeExample Value
option_type_idOption Type IDRequiredNon numeric for new value'_1'
option_idOption its assigned toRequiredNon numeric for new option'11'
titleThe title of the optionRequiredString"Test 1"
skuSKU AdjustmentRequiredStringnull
pricePrice AdjustmentRequiredString (field, area, file, drop_down, radio, checkbox, multiple, date, date_time, time)"field"
price_typePrice Adjustment TypeRequiredString (fixed, percent)"fixed"
customer_group_idCustomer group ID for specific targetingOptionalInteger (null - All groups, 0 - NOT LOGGED IN, ...)null
customer_group_pricesCustomer Group PriceRequiredCustomOptionCustomerGroupPriceDefined in the CustomOptionCustomerGroupPrice section.
sort_orderThe sort order of the optionRequiredInteger0
zoey_weightWeightRequiredInteger0

CustomOptionCustomerGroupPrice:

NameDescriptionRequiredTypeExample Value
option_customer_group_price_idOption Type IDRequiredNon numeric for new value'_1'
option_idOption its assigned toRequiredNon numeric for new option'11'
pricePrice AdjustmentRequiredString (field, area, file, drop_down, radio, checkbox, multiple, date, date_time, time)"field"
price_typePrice Adjustment TypeRequiredString (fixed, percent)"fixed"
customer_group_idCustomer group ID for specific targetingOptionalInteger (null - All groups, 0 - NOT LOGGED IN, ...)null
sort_orderThe sort order of the optionRequiredInteger0
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
string
string
string
integer
string
string
string
number
integer
integer
string
string
string
string
string
number
string
string
string
string
number
string
integer
stock_data
object
string
string
integer
string
integer
string
customer_permissions
array of strings
customer_permissions
account_permissions
array of strings
account_permissions
account_location_permissions
array of strings
account_location_permissions
zb2b_restricted_prod_groups
array of strings
zb2b_restricted_prod_groups
string
string
string
string
string
Response
200

Simple

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!