The articles: everything a company sells, makes, buys or books hours on. Read the fledge-articles skill first: the kind, the cost price and the stock are spread over several fields that are easy to misread.
Label in Fledge: Artikelen
| URL | https://odata-api.fledge.nl/v2-8/Articles |
|---|---|
| Key | administration_idarticle_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASISBASISAPPURENPC |
| Write licenses | INKOOPVERKOOPPRODUCTIEFINANCIEELBEHEER |
| Scopes | FLEDGE_PORTALFLEDGE_TERMINAL |
Example requests
A page of rows, with only the fields you need. See Authentication for the token.
curl -G "https://odata-api.fledge.nl/v2-8/Articles" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=article_id,article_type,average_transfer_price,buy_or_purchase_part' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/Articles');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'article_id,article_type,average_transfer_price,buy_or_purchase_part');
url.searchParams.set('$top', '50');
const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();var url = "https://odata-api.fledge.nl/v2-8/Articles" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("article_id,article_type,average_transfer_price,buy_or_purchase_part"),
"$top=" + Uri.EscapeDataString("50"));
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);One row by its key:
GET https://odata-api.fledge.nl/v2-8/Articles(administration_id=1,article_id='{article_id}')Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
article_idkey | String | Artikelcode |
amount_finished | Decimal | Gereedgemeld bedrag |
article_group_id | Int32 | Artikelgroep |
article_marketable_status_id | Int32 | Courantstatus |
article_type | Int32 | Artikeltype 0 keeps stock (the screen's Houd voorraad bij); 1 and 2 are registration articles without stock. Set once at creation; not the same as has_stock_keeping.
|
average_transfer_price | Decimal | Gem. verrekenprijs: Gemiddelde verrekenprijs The average cost price, per main unit (stock_unit). |
backorder | Boolean | Backorder |
barcode | Boolean | Barcode |
batch_registration | Boolean | Partijregistratie |
buy_or_purchase_part | Boolean | Koop/maakdeelartikel True for a semi-finished product (halffabricaat), made or bought; not "bought". |
calculated_commercial_price | Decimal | Calculatieprijs |
calculated_price | Decimal | Calculatieprijs The calculation price, per price unit (calculation_unit). |
calculation_article | Boolean | Calculatie artikel |
calculation_type_id | Int32 | Calc. artikel soort: Calculatie artikel soort |
calculation_unit | Int32 | Calculatie eenheid |
calculation_unit_ratio | Decimal | Factor eenheid calculatie. |
change_cost | Boolean | Wijzigen kostprijs |
charity_price | Decimal | Goede doel |
cost | Decimal | Kostprijs One input of the cost price, per price unit; the cost price itself depends on cost_system. |
cost_system | Int32 | KP systeem 1 fixed (fixed_calculation_price), 2 average (average_transfer_price), 3 actual; see the skill.
|
created_by | Int32 | User aanmaak |
creation_date | Date | Datum aanmaak |
custom_field_label_id | Int32 | Volgnummer |
delivery_time_production | Int32 | Levertijd produktie |
delivery_time_purchase | Int32 | Levertijd inkoop |
delivery_time_sales | Int32 | Levertijd verkoop |
description_1 | String | Omschrijving 1 |
description_2 | String | Omschrijving 2 |
description_3 | String | Omschrijving 3 |
determine_surface | Boolean | Bepaal oppervlakte |
determine_weight | Boolean | Bepaal gewicht |
article_discount_group_id | Int32 | Kortinggroep: Kortingsgroep |
drawing_number | String | Tekeningnummer |
economic_stock | Decimal | Economische voorraad Book stock minus the sales statuses and plus the purchase and production statuses the administration chose (settings that can't be read). With none chosen it equals stock_quantity. |
external_article_id | String | Artikelcode extern |
fixed_calculation_price | Decimal | Vaste verrekenprijs The fixed cost price, per main unit (stock_unit). |
goods_issue_unit_operator | String | Eenheid uitgifte operator |
goods_issue_unit_ratio | Decimal | Eenheid uitgifte factor |
goods_issue_unit_value | Int32 | Eenheid uitgifte |
goods_type | Int32 | Goed/dienst: Goederen/diensten type (Goederen = 0) |
group | String | Groep |
gs1_barcode | String | GS1 artikelcode: GS1/GTIN artikelcode |
has_to_be_supplemented | Boolean | Aanvullen |
internal_make_part | Boolean | Maakdeel True when the article is made. Articles saved before release 2026.16 have only this field for the origin; since then production_article and purchase_article say made and bought, and an article can be both. |
intrastat_goods_id | String | Intrastat goederencode |
inventory_article | Boolean | Voorraad artikel |
is_blocked | Boolean | Blokkeren True for an archived article (gearchiveerd); archived articles are in the lists but never picked. |
is_consignment_article | Boolean | Consignatie artikel |
is_current | Boolean | Actueel |
is_material | Boolean | materiaalartikel |
iso_code_id | String | Normcode |
last_delivery_time | Int32 | Laatste levertijd |
last_finish_date | Date | Laatste gereedmeldings datum: Datum laatste gereedmelding |
last_order_date | Date | Laatste besteldatum |
last_order_price | Decimal | Laatste bestelprijs |
last_order_quantity | Decimal | Laatste bestelaantal |
last_purchase_date | Date | Laatse inkoopfactuur datum: Laatste inkoopfactuur datum |
last_purchase_price | Decimal | Laatste inkoopprijs Per main unit (stock_unit). |
last_receive_date | Date | Laatste ontvangstdatum |
latest_delivery_date | Date | Laatste leveringsdatum |
latest_goods_issue_date | Date | Laatse uitgifte datum: Laatste uitgifte datum |
latest_mutation_date | Date | Ltst mut dat: Laatste mutatiedatum |
latest_production_date | Date | Laatste productiedatum |
latest_sales_date | Date | Laatste verkoop datum |
manufacturer_code | String | Fabrikantcode |
material_group_id | Int32 | Materiaalgroepnummer |
material_hours_ratio | Decimal | Materiaal/Uren: Verhouding tussen materiaal en uren |
material_purchase_outsourcing_status | String | Aantal WO sub |
materials_shape_id | String | Materiaalvorm code |
material_type_id | String | Materiaalsoort: alfanumerieke code voor het materiaal, 15 karakters lang |
memo_1 | String | Memo: Meme |
memo_2 | String | Memo 1 (faktuur) |
memo_3 | String | Memo 2 |
minimal_order_quantity | Int32 | Bestel eenheid |
modification_date | Date | Datum wijziging: Datum laatste wijziging |
modified_by | Int32 | User wijziging |
multiple_locations | Boolean | Meerdere lokaties |
multiple_warehouses | Boolean | Meerdere magazijnen |
net_weight | Decimal | Nettogewicht |
operation_group_id | Int32 | Bewerkingsgroepnummer |
operator_unit_calculation | String | Operator eenheid calculatie. |
order_level | Decimal | Bestel niveau In the main unit. An inventory article is reordered when its economic stock drops below it. |
has_stock_keeping | Boolean | Voorraad bijh.: Vooraad bijhouden True for an inventory article: order advice replenishes it up to its levels. Not whether stock is kept at all (that is article_type 0). |
order_quantity | Decimal | Bestelhoeveelheid |
order_unit_operator | String | Operator eenheid bestel |
order_unit_ratio | Decimal | Factor eenheid bestel |
order_unit | Int32 | Eenheid bestel: Bestel eenheid |
outsourcing | Boolean | Uitbestedingsartikel |
outsourcing_amount | Decimal | Uitgegeven bedrag |
packaging_unit_id | Int32 | Verpakkingseenheid |
packaging_unit_operator | String | Eenheid verpakking operator |
packaging_unit_ratio | Decimal | Eenheid verpakking factor |
parameter_1 | Decimal | Parameter 1 |
parameter_2 | Decimal | Parameter 2 |
parameter_3 | Decimal | Parameter 3 |
parameter_4 | Decimal | Parameter 4 |
parameter_5 | Decimal | Parameter 5 |
parameter_6 | Decimal | Parameter 6 |
picture_file | String | Fotobestand |
price_update_date | DateTimeOffset | Datumtijd prijsupdate |
print_article_code | Boolean | Afdruk art.kode: Afdrukken artikelkode |
print_price | Boolean | Afdruk prijs: Afdrukken prijs |
print_quantity | Boolean | Afdruk aantal: Afdrukken aantal |
print_value | Boolean | Afdruk bedrag: Afdrukken bedrag |
production_article | Boolean | Productieartikel |
production_quantity | Decimal | Productieaantal |
production_unit_operator | String | Eenheid produktie operator |
production_unit_ratio | Decimal | Eenheid produktie factor |
production_unit | Int32 | Eenheid produktie |
purchase_article | Boolean | Inkoopartikel |
purchase_article_amount | Decimal | Inkoop bedrag |
purchase_invoice_operator_unit | String | Operator eenheid inkoopfactuur |
purchase_invoice_unit_ratio | Decimal | Factor eenheid inkoopfactuur |
purchase_invoice_unit | Int32 | Eenheid inkoopfactuur |
quality_check | Boolean | Keuring |
receiving_unit_operator | String | Operator eenheid ontvangst |
receiving_unit_ratio | Decimal | Factor eenheid ontvangst |
receiving_unit | Int32 | Eenheid ontvangst |
relation_id_manufacturer | Int32 | Relatienummer fabrikant |
replacing_number | String | Vervangend nr.: Vervangend nummer |
replenish_level | Decimal | Minimum voorraad In the main unit. An inventory article is reordered up to it. |
revaluation_model | Int32 | Voorraad herwaarderingsmodel |
revenue_group_id | Int32 | Omzetgroep |
revision | String | Revisie |
sale_price_1 | Decimal | Verkoopprijs The standard sales price, per price unit (calculation_unit), not per sales unit. |
sale_price_2 | Decimal | Verkoopprijs |
sales_amount | Decimal | Verkoop bedrag |
sales_article | Boolean | Verkoopartikel True for a product (sold). |
sales_cost | Decimal | Verkoop kostprijs |
sales_unit_operator | String | Eenheid verkoop operator |
sales_unit_ratio | Decimal | Eenheid verkoop factor |
sales_unit | Int32 | Eenheid verkoop |
search_name | String | Zoeknaam |
serial_number | Boolean | Serienummer |
sscc_labeling | Boolean | SSCC-label (j/n) |
sscc_labeling_type | Int32 | SSCC-type (0 = SSCC; 2 = FSCC) |
status_amount_production | String | Aantal per status in werkorders |
status_amount_purchase | String | Aantal per status in inkooporders |
status_amount_sales | String | Aantal per status in verkooporders One field per sales status when selected (status_amount_sales__6 is status 6). It follows the article_id of the status row, not of the order line: filter the status rows on article_id to match it. The same holds for status_amount_purchase and status_amount_production. |
sticker | Boolean | Sticker |
stock_in_warehouses | Decimal | Voorraad in magazijnen |
stock_production | Boolean | Voorraad/Produktie artikel |
stock_quantity | Decimal | Voorraad aantal Book stock over all locations, in the main unit (stock_unit). Not the physical stock. |
stock_unit | Int32 | Eenheid voorraad |
stock_value | Decimal | Voorraadwaarde |
surface | Decimal | Oppervlakte |
vat_code_id | Int32 | BTW nummer |
vat_type | Int32 | BTW type: BTW-type (0 = goed; 1 = dienst) |
volume | Decimal | Volume |
warehouse_aisle_id | Int32 | Magazijn |
warehouse_shelf_id | Int32 | Locatie |
warranty_period_id | Int32 | Garantietermijn |
weight | Decimal | Gewicht |
weight_per_meter | Decimal | Gewicht per meter |
Relations
Read a related row or list in the same request with $expand, and give it its own $select; a list also needs a $top.
| Navigation | Entity set | |
|---|---|---|
Administration | Administrations | one |
ArticleCalculationType | ArticleCalculationTypes | one |
ArticleCustomField | ArticleCustomFields | one |
ArticleDiscountGroup | ArticleDiscountGroups | one |
ArticleGroups | ArticleGroups | one |
ArticleMarketableStatus | ArticleMarketableStatuses | one |
GoodsIssueUnit | ArticleUnits | one |
IntrastatGoodsCode | IntrastatGoodsCodes | one |
MaterialGroup | MaterialGroups | one |
MaterialShape | MaterialShapes | one |
MaterialType | MaterialTypes | one |
OperationGroup | OperationGroups | one |
OrderUnit | ArticleUnits | one |
PackagingUnit | PackagingUnits | one |
ProductionUnit | ArticleUnits | one |
PurchaseInvoiceUnit | ArticleUnits | one |
ReceivingUnit | ArticleUnits | one |
RevenueGroup | RevenueGroups | one |
SalesUnit | ArticleUnits | one |
StockUnit | ArticleUnits | one |
WarrantyPeriod | WarrantyPeriods | one |
ArticleBase64Files | ArticleBase64Files | many |
ArticleCustomFieldSets | ArticleCustomFieldSets | many |
ArticleForeignDescriptions | ArticleForeignDescriptions | many |
ArticleLocations | ArticleLocations | many |
ArticleSuppliers | ArticleSuppliers | many |
ArticleYearData | ArticleYearData | many |
DocumentLinks | DocumentLinks | many |
ProductionOrderAssemblies | ProductionOrderAssemblies | many |
ProductionOrderAssemblyStatuses | ProductionOrderAssemblyStatuses | many |
PurchaseOrderLineStatuses | PurchaseOrderLineStatuses | many |
RichTextMemos | RichTextMemos | many |
SalesOrderLineStatuses | SalesOrderLineStatuses | many |
Actions
augmentPrices
POST https://odata-api.fledge.nl/v2-8/Articles/augmentPricesprice_typeArticlePriceTypesEnumchange_typePriceChangeTypesEnumvalueDecimalunitArticleUnitDefinitionTypesArticlesArticleKeyDto[]administration_idInt32article_idString
Returns Article[]
Licenses: BEHEER
nextId
GET https://odata-api.fledge.nl/v2-8/Articles/nextId(…)Returns ArticleNextIdResultDto
Licenses: BASIS, BASISAPP, PRODUCTIE
updatePrices
POST https://odata-api.fledge.nl/v2-8/Articles/updatePricesprice_typeArticlePriceTypesEnumchange_typePriceChangeTypesEnumvalueDecimalunitArticleUnitDefinitionTypesArticlesArticleKeyDto[]administration_idInt32article_idString
Returns Article[]
Licenses: BEHEER