mutation

sendShipmentOtpToCustomer

Sends an OTP to the customer associated with the given shipment ID. Supports different event types like refund_bank_details or customer_ndr.
Arguments
orderId
String
A unique number used for identifying and tracking your orders. For example, 'FY63C1FBA80195F734C0'.
You can get orderId from the query orders.
shipmentId
String
ID of the shipment. An order may contain multiple items and may get divided into one or more shipment, each having its own ID. For example, '16736576489251696245'.
You can get shipmentId from the query order.shipments[].shipment_id.
Type of the event for which the OTP needs to be sent. If this field is not provided or no value is passed the default value `refund_bank_details` will be used. For example, 'refund_bank_details' or 'customer_ndr'.
Response
Mutation
Loading...
Try it
Input Variables
Loading...
Response
Loading...