v1

latestSwagger 2.02026-07-134272111.8 KB
products

Create a new product in eCommerce system.With the exception of the 'id' field, the required fields indicated in the 'Product' model are those required to create a new product

post/products

Headers

Authorizationstring required

The authorization tokens. The format for the header value is 'Element <token>, User <user secret>'

Request body

categoryIdsinteger[]
compareAtPricenumber double

Product’s sale price displayed strike-out in the customer

compareToPricenumber double
createdstring date-time
defaultCategoryIdinteger
descriptionstring

Product description in HTML

enabledboolean

true/false

fixedShippingRatenumber double
fixedShippingRateOnlyboolean

true/false

googleItemConditionstring

Google Item Condition Status

isShippingRequiredboolean
namestring

Product title

pricenumber double

Base Product price

productClassIdinteger

Id of the product type that this product belongs to.

quantityinteger

Amount of product items in stock.

seoDescriptionstring
seoTitlestring
showOnFrontpagenumber double
skustring

Product SKU

warningLimitinteger
weightnumber double

Product weight in the units defined in store settings

Response

OK - Everything worked as expected