Create a product with one or more variants (SKU, optional barcode, VAT-inclusive price, VAT rate, cost)

post/api/v1/products

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/products
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Request body

namestring required
descriptionstring
category_idstring uuid
activeboolean
track_stockboolean
allow_negative_stockboolean
idempotency_keystring

Unique per change. Repeating it returns the original result.

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.