The Node.js SDK re-exports the WAJS namespace for TypeScript. This reference describes types from WA-JS 4.8.5-rc.0 . For operations available on a connected Node.js client, see Whatsapp . For functions running inside WhatsApp Web, see the WA-JS browser API .
Interface SendOrderStatusParams
interface SendOrderStatusParams { chat : any ; contextInfo ?: any ; offset : number ; orderInfo : { currency : string ; discount ?: number ; items : { amount : number ; id : string ; isCustomItem ?: boolean ; isQuantitySet ?: boolean ; name : string ; quantity : number ; } [] ; referenceId ?: string ; shipping ?: number ; subtotal : number ; tax ?: number ; totalAmount : number ; } ; orderNote ?: string ; orderStatus : string ; paymentMethod ?: string ; paymentStatus : string ; sellerJid : any ; }
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/sendOrderStatusMessageAsMerchant.d.ts:16
Properties
chat
chat : any
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/sendOrderStatusMessageAsMerchant.d.ts:17
Optionalcontext Info
contextInfo ?: any
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/sendOrderStatusMessageAsMerchant.d.ts:41
offset
offset : number
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/sendOrderStatusMessageAsMerchant.d.ts:38
order Info
orderInfo : { currency : string ; discount ?: number ; items : { amount : number ; id : string ; isCustomItem ?: boolean ; isQuantitySet ?: boolean ; name : string ; quantity : number ; } [] ; referenceId ?: string ; shipping ?: number ; subtotal : number ; tax ?: number ; totalAmount : number ; }
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/sendOrderStatusMessageAsMerchant.d.ts:19
Optionalorder Note
orderNote ?: string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/sendOrderStatusMessageAsMerchant.d.ts:36
order Status
orderStatus : string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/sendOrderStatusMessageAsMerchant.d.ts:37
Optionalpayment Method
paymentMethod ?: string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/sendOrderStatusMessageAsMerchant.d.ts:40
payment Status
paymentStatus : string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/sendOrderStatusMessageAsMerchant.d.ts:39
seller Jid
sellerJid : any
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/sendOrderStatusMessageAsMerchant.d.ts:18