mercadopago
Version:
Mercadopago SDK for Node.js
17 lines (16 loc) • 582 B
TypeScript
/**
* Implementation of the create-merchant-order operation.
*
* Sends a `POST /merchant_orders` request to create a new order that
* groups items, payments, and shipments.
*
* @module merchantOrder/create
*/
import type { MerchantOrderCreateClient } from './types';
import type { MerchantOrderResponse } from '../commonTypes';
/**
* Create a new merchant order via `POST /merchant_orders`.
*
* @returns The newly created merchant order with all its details.
*/
export default function create({ body, config }: MerchantOrderCreateClient): Promise<MerchantOrderResponse>;