Skip to navigation

Create product

View as Markdown

Create a new product. Idempotent: if a product with the same ExternalProductId or Sku already exists, the existing product is returned unchanged.

Authentication

Authorizationstring

Format: ApiKey <your_key>

Headers

Idempotency-KeystringRequiredformat: "uuid"
UUID to prevent duplicate POST operations

Request

This endpoint expects an object.
NamestringRequired<=50 characters
AmountdoubleRequired
ProductTypeenumRequired
Allowed values:
SkustringOptional<=100 characters
ExternalProductIdstringOptional<=100 characters

External product ID used for idempotency (e.g. WooCommerce product ID)

SiteIdintegerOptional

Response

Product created or returned (idempotent)

StatusintegerOptional
ProductIdintegerOptional