/* Options: Date: 2026-09-21 22:52:22 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://clouddemo.pickeos.com:1337 //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: StockUpdate.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using GoToLightAPI; namespace GoToLightAPI { public partial class StockAdditional { public virtual int StockID { get; set; } public virtual string Gtin { get; set; } public virtual string StockLocation { get; set; } public virtual double PhysicalQuantityStockLocation { get; set; } } [Route("/UpdateStock")] [Route("/StockUpdate")] public partial class StockUpdate { /// ///Internal DB identifier /// [ApiMember(Description="Internal DB identifier", IsRequired=true)] public virtual int StockID { get; set; } /// ///Global Trade Item Number : usually is the barcode of product (EAN, UPC, Gencode, etc...) /// [ApiMember(Description="Global Trade Item Number : usually is the barcode of product (EAN, UPC, Gencode, etc...)", IsRequired=true)] public virtual string Gtin { get; set; } /// ///Location of main stock or stock address /// [ApiMember(Description="Location of main stock or stock address")] public virtual string StockLocation { get; set; } /// ///Quantity physically stocked at this location /// [ApiMember(Description="Quantity physically stocked at this location")] public virtual double PhysicalQuantityStockLocation { get; set; } /// ///Location of reserve stock (2nd stock location address) /// [ApiMember(Description="Location of reserve stock (2nd stock location address)")] public virtual string ReserveStockLocation { get; set; } /// ///Quantity physically stocked at this location /// [ApiMember(Description="Quantity physically stocked at this location")] public virtual double PhysicalQuantityReserveStockLocation { get; set; } /// ///Product ID /// [ApiMember(Description="Product ID")] public virtual string ProductID { get; set; } /// ///Second product ID E.g. in case of variant /// [ApiMember(Description="Second product ID E.g. in case of variant")] public virtual string ProductAttributeID { get; set; } /// ///Product reference /// [ApiMember(Description="Product reference")] public virtual string Reference { get; set; } /// ///GTIN of variant /// [ApiMember(Description="GTIN of variant")] public virtual string GtinAttribute { get; set; } /// ///Product label /// [ApiMember(Description="Product label")] public virtual string Label { get; set; } /// ///NbSKUInPackage /// [ApiMember(Description="NbSKUInPackage")] public virtual int? NbSKUInPackage { get; set; } /// ///PackageReference /// [ApiMember(Description="PackageReference")] public virtual string PackageReference { get; set; } /// ///NbSKUInPackage2 /// [ApiMember(Description="NbSKUInPackage2")] public virtual int? NbSKUInPackage2 { get; set; } /// ///PackageReference2 /// [ApiMember(Description="PackageReference2")] public virtual string PackageReference2 { get; set; } /// ///Weight /// [ApiMember(Description="Weight")] public virtual string Weight { get; set; } /// ///List of stock Additional /// [ApiMember(Description="List of stock Additional")] public virtual List StockAdditionals { get; set; } = []; } }