Suppliers
A shop buys its products from suppliers. This page explains how suppliers fit with the rest of the data. Every field is described in the GraphQL schema.
Suppliers
A Supplier is a supplier of a shop, with its company details (companyName, siretNumber, intraCommunityVat…), a free-text note, its contacts (contacts) and its addresses (locations).
The API can create, update, archive and unarchive suppliers (createSupplier, updateSupplier, archiveSupplier, unarchiveSupplier).
Suppliers and variants
A variant can have a supplier (Variant.supplier), and a supplier lists the variants it supplies (Supplier.variants). To set a variant's supplier, send supplierId with createVariant. A variant also has a purchase price (purchasedPrice), excluding tax.
Supplier orders
The merchant orders from suppliers in the Wino app. The GraphQL API doesn't expose supplier orders, but webhooks notify them (Order, see Setup). When an order is received, its goods are added to the stock with a RECEPTION stock movement.