Moloni developers espana logo

ProductInsert

Back


Creates a new Product.

Input Fields

visible: Int

productCategoryId: Int!

type: Int!

posFavorite: Boolean

reference: String!

name: String!

summary: String

notes: String

notesOnExport: Boolean

price: Float

hasStock: Boolean

minStock: Float

img: Upload

exemptionReason: String

ticketBAIExemptionReasonCode: TicketBAIExemptionReasonEnum

warehouseId: Int

measurementUnitId: Int!

propertyGroupId: String

variants: [ProductVariantInsert!]

identifications: [ProductIdentification!]

customFields: [ProductCustomField!]

priceClasses: [ProductPriceClassAssociation!]

warehouses: [ProductWarehouseInsertAssociation!]

suppliers: [ProductSupplierAssociation!]

taxes: [ProductTaxAssociation!]

productAT: ProductATInsert

Used for specific AT product attributes


Required fields are marked with "!"