Data Mart API - 2026-07-20
Location.paymentBy is now nullable
The deprecated paymentBy field on the Location type has changed from Int! to Int:
paymentBy: Int- returns the raw ERP payment by code (0= Due Date,1= Discount Date), andnullwhen the ERP holds no value.
The underlying ERP column is nullable, so the previous non-null declaration could not be guaranteed. In practice existing locations all carry a value; clients that read the deprecated paymentBy field should nevertheless handle null. The recommended field remains paymentByType: String, which is unchanged and returns "Due Date", "Discount Date", or null when the ERP holds no value or a value outside the known set.
The descriptions of both paymentBy and paymentByType have been updated accordingly.
SupplierClass.paymentByType is now nullable
The paymentByType field on the SupplierClass type has changed from String! to String, for the same reason as the Location change above: the underlying ERP column is nullable.
paymentByType: String- returns"Due Date"or"Discount Date"for the known ERP values, andnullwhen the ERP holds no value or a value outside that set.
In practice all existing supplier classes carry one of the two known values; clients that treated paymentByType as always present should nevertheless handle null.
Schema documentation regenerated
The published GraphQL schema documentation has been regenerated from the current API schema. The inventoryItems query and the InventoryItem type are now documented; they were already served by the API, so no behavioural change accompanies the documentation refresh.