Create product
Product
Create product
Create a new product in the product catalogue.
Access Control:
- Requires admin permissions with ManageProducts flag
Important Notes:
- Product ID must be unique within the network
- Product URL must be a valid URL
- Price must be positive if provided
- Currency must be a valid ISO 4217 currency code (3 characters)
POST
Create product
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Unique identifier for the product
Required string length:
1 - 100Example:
"prod-12345"
Name of the product
Required string length:
1 - 200Example:
"Premium Headphones"
URL to the product page
Example:
"https://example.com/products/premium-headphones"
Product status
Available options:
active, archived Example:
"active"
Product price (must be positive)
Required range:
x > 0Example:
99.99
ISO 4217 currency code (3 characters)
Required string length:
3Example:
"USD"
URL to the product thumbnail image
Example:
"https://example.com/images/headphones-thumb.jpg"
How the thumbnail should be displayed
Available options:
fit, fill Example:
"fit"