Referencia de API
Listar pedidos del cliente
Historial de pedidos del cliente con artículos, dirección de envío y totales de pago
GET
/v1/customer/ordersHistorial de pedidos del cliente con artículos, dirección de envío y totales de pago
Autorización
bearerAuth AutorizaciónBearer <token>
Token de acceso OAuth 2.0 emitido por Ecomiq Auth.
Ubicación: header
Cuerpo de la respuesta
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/customer/orders"[ { "orderId": "string", "orderNumber": "string", "orderGroup": "string", "orderIds": [], "status": "string", "total": 0.1, "totalPaid": 0.1, "currencyCode": "string", "orderDate": "2019-08-24T14:15:22Z", "createdOn": "2019-08-24T14:15:22Z", "updatedOn": null, "paymentAt": null, "shippingAddress": { "name": null, "company": null, "address1": "string", "address2": null, "city": "string", "countryCode": "string", "province": null, "postalCode": null, "district": null, "phone": null, "latitude": null, "longitude": null, "metadata": null }, "shippingAddressSummary": null, "items": [ { "id": "string", "orderId": "string", "productId": null, "variantId": null, "title": "string", "subtitle": null, "thumbnail": null, "variantTitle": null, "productHandle": null, "quantity": 0.1, "unitPrice": 0.1, "total": 0.1, "status": "string" } ] }]