curl -L \
--request POST \
--url '/api/public/site/ecommerce/products/create' \
--header 'authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"name": "text",
"slug": "text",
"enabled": "text",
"weighting": "text",
"expiry_date": "text",
"release_date": "text",
"category_array": [
{}
],
"secure_zone_array": [
{}
],
"module_field_14/product_1": "text",
"module_field_14/product_2": "text",
"module_field_14/product_3": "text",
"module_field_14/product_4": "text",
"module_field_14/product_5": "text",
"module_field_14/product/inventory/1": "text",
"module_field_14/product/inventory/2": "text",
"module_field_14/product/inventory/3": "text",
"module_field_14/product/price/aud/1": "text",
"module_field_14/product/price/aud/2": "text",
"module_field_14/product/price/aud/3": "text",
"module_field_14/product/price/aud/4": "text",
"module_field_14/product/price/cad/1": "text",
"module_field_14/product/price/cad/2": "text",
"module_field_14/product/price/cad/3": "text",
"module_field_14/product/price/cad/4": "text",
"module_field_14/product/price/eur/1": "text",
"module_field_14/product/price/eur/2": "text",
"module_field_14/product/price/eur/3": "text",
"module_field_14/product/price/eur/4": "text",
"module_field_14/product/price/gbp/1": "text",
"module_field_14/product/price/gbp/2": "text",
"module_field_14/product/price/gbp/3": "text",
"module_field_14/product/price/gbp/4": "text",
"module_field_14/product/price/nzd/1": "text",
"module_field_14/product/price/nzd/2": "text",
"module_field_14/product/price/nzd/3": "text",
"module_field_14/product/price/nzd/4": "text",
"module_field_14/product/price/usd/1": "text",
"module_field_14/product/price/usd/2": "text",
"module_field_14/product/price/usd/3": "text",
"module_field_14/product/price/usd/4": "text",
"attributes": [
{
"name": "text",
"enabled": "text",
"items": [
{
"name": "text",
"enabled": "text",
"module_field_14/product_attribute_option_2": "text",
"module_field_14/product_attribute_option_3": "text",
"module_field_14/product_attribute_option_4": "text",
"module_field_14/product_attribute_option_6": "text",
"module_field_14/product_attribute_option/price/aud/1": "text",
"module_field_14/product_attribute_option/price/aud/2": "text",
"module_field_14/product_attribute_option/price/cad/1": "text",
"module_field_14/product_attribute_option/price/cad/2": "text",
"module_field_14/product_attribute_option/price/eur/1": "text",
"module_field_14/product_attribute_option/price/eur/2": "text",
"module_field_14/product_attribute_option/price/gbp/1": "text",
"module_field_14/product_attribute_option/price/gbp/2": "text",
"module_field_14/product_attribute_option/price/nzd/1": "text",
"module_field_14/product_attribute_option/price/nzd/2": "text",
"module_field_14/product_attribute_option/price/usd/1": "text",
"module_field_14/product_attribute_option/price/usd/2": "text",
"module_field_14/product_attribute_option/inventory/1": "text"
}
]
}
]
}'