UNPKG

mercadopago

Version:
17 lines (16 loc) 611 B
/** * Implementation of the update-merchant-order operation. * * Sends a `PUT /merchant_orders/{id}` request to modify an existing * merchant order's items, shipments, or metadata. * * @module merchantOrder/update */ import type { MerchantOrderResponse } from '../commonTypes'; import type { MerchantOrderUpdateClient } from './types'; /** * Update an existing merchant order via `PUT /merchant_orders/{id}`. * * @returns The updated merchant order with all its details. */ export default function update({ merchantOrderId, body, config }: MerchantOrderUpdateClient): Promise<MerchantOrderResponse>;