diff --git a/demo/demo.ts b/demo/demo.ts index a11f3bd..d734dbd 100644 --- a/demo/demo.ts +++ b/demo/demo.ts @@ -197,6 +197,7 @@ setupForm("#pedido", async () => { UnitPrice: precio.Price, Quantity: 1, ProductCode: producto.SKUCode, + SKUCode: producto.SKUCode, })), Customer: { CustomerID: 1, diff --git a/order.ts b/order.ts index 5af037e..d99230e 100644 --- a/order.ts +++ b/order.ts @@ -59,7 +59,7 @@ export interface CustomerDto { } export interface OrderItemDto { ProductCode: string; - SKUCode?: null | string; + SKUCode: string; VariantCode?: null | string; Description: string; VariantDescription?: null | string;