Create product
Products
Create product
POST
Create product
Body
application/json
Product data
Available options:
once,subscription,shipping_costs Example:
"subscription"
Product name
Example:
"Premium Plan"
Product amount
Example:
29.99
VAT percentage
Example:
21
Interval (required for subscription type)
Available options:
day, week, month, year Example:
"month"
Interval value (required for subscription type)
Example:
1
Number of payments (null = infinite)
Example:
12
WooCommerce product ID
Example:
1234
Response
Product created
Example:
"prod_abc123"
Example:
"Premium Plan"
Available options:
once,subscription,shipping_costs Example:
"subscription"
Example:
"29.99"
Example:
"EUR"
Example:
"month"
Example:
12
Example:
1234