Saltar al contenido
Guías
Referencia de API
establedraft:create

Crear borrador de pedido

POST/v1/order-drafts

Autorización

bearerAuth
AutorizaciónBearer <token>

Token de acceso OAuth 2.0 emitido por Ecomiq Auth.

Ubicación: header

Cuerpo de la solicitud

application/json

Definiciones TypeScript

Usa esta definición en TypeScript.

Cuerpo de la respuesta

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/order-drafts" \  -H "Content-Type: application/json" \  -d '{    "currencyCode": "string",    "customerId": null,    "cartId": null,    "email": null,    "phone": null,    "firstName": null,    "lastName": null,    "identificationType": null,    "identificationNumber": null,    "entityTaxId": null,    "entityName": null,    "source": null,    "notes": null  }'
{  "id": "string"}