Skip to main content
GET
Get Sale by ID

Authentication

This endpoint requires authentication. Users can only access their own sales unless they have admin privileges.

Path Parameters

number
required
The unique identifier of the sale

Response

boolean
Indicates if the request was successful
object
The sale object with complete details
number
Sale ID
string
Sale creation date (ISO 8601 timestamp)
number
Total sale amount including shipping
string
Current sale status:
  • PENDIENTE_PAGO - Pending payment
  • PENDIENTE_APROBACION - Pending approval
  • APROBADO - Approved
  • ENVIADO - Shipped
  • ENTREGADO - Delivered
  • RECHAZADO - Rejected
  • CANCELADO - Cancelled
string
Payment receipt URL (if uploaded)
number
Shipping cost
string
Shipping method (e.g., “CORREO_ARGENTINO”)
string
Tracking code for the shipment
string
Shipping label URL
string
Shipping address
string
Shipping city
string
Shipping province
string
Shipping postal code
string
Shipping phone number
string
Recipient’s ID document (DNI)
string
Zipnova shipment tracking ID
string
Delivery type: ENVIO (shipping) or RETIRO (pickup)
string
Payment method: MERCADOPAGO, EFECTIVO, VIUMI, TRANSFERENCIA, BINANCE
number
Customer ID
object
Customer information including user details
array
Array of sale line items
number
Line item ID
number
Product ID
number
Quantity purchased
number
Line item subtotal
number
Custom price (for manual sales)
string
Custom description (for manual sales)
object
Complete product information
array
Array of payment records associated with this sale
string
Error message if the request failed

Example Request

Example Response

Error Responses

Not Found (404)

Unauthorized (401)

Forbidden (403)

Notes

  • Users can only access their own sales unless they have admin role
  • The response includes complete product details for each line item
  • Shipping information is only populated for sales with tipoEntrega set to ENVIO
  • Payment receipt (comprobante) is only available if the user has uploaded one
  • Tracking information is populated once the order has been dispatched