Produits
Créez des produits dans le catalogue et configurez type, unité et code TVA.
Créer un produit
Autorisations
AuthorizationstringRequis
Bearer authentication header of the form Bearer <token>.
Corps
typeall ofRequisExample:
The type of the product
service_deliverynumber · enumOptionnelValeurs possibles:
unitall ofRequisExample:
The unit of measurement for the product
unitnumber · enumOptionnelValeurs possibles:
designationstringRequisExample:
The name or title of the product
Premium WidgetamountInCentsnumberOptionnelExample:
The price of the product in cents
1999purchasePricenumberOptionnelExample:
The purchase price of the product in cents
1000productMarginnumberOptionnelExample:
The margin of the product in percentage
10lockUnitPricebooleanOptionnelDefault:
Whether the unit price is locked or not calculating from purchase price and product margin
falseExample: truetaxesIncludedbooleanOptionnelExample:
Whether the amount includes taxes
truevatCodeall ofOptionnelDefault:
The VAT code applicable to the product
FR_00HTExample: FR_00HTstring · enumOptionnelValeurs possibles:
isDeliveryOfGoodbooleanOptionnelExample:
Whether the product involves delivery of a physical good
truedescriptionstringOptionnelExample:
Detailed description of the product
High-quality widget for various applicationsreferencestringOptionnelExample:
Product reference or SKU
WIDGET-001stocknumberOptionnelExample:
The stock quantity
20Réponses
201Succès
application/json
post
/v2/catalog/product201Succès
Corps de requête (CreateProductDto)
CreateProductDto)Valeurs possibles
type (ProductType)
type (ProductType)unit (ProductUnit)
unit (ProductUnit)vatCode (VatCode)
vatCode (VatCode)Exemple
Mis à jour
Ce contenu vous a-t-il été utile ?

