Path parameters
-
invoice_id parameter
GET
/invoices/{invoice_id}
curl \
-X GET https://api.arta.io/invoices/{invoice_id} \
-H "Authorization: ARTA_APIKey s0e1t2e3c4a5s6t7r8o9n10o11m12y"
Response examples (200)
{
"id": 2216,
"status": "closed",
"issued_on": "2021-03-10",
"created_at": "2021-03-10T20:15:34.096258",
"updated_at": "2021-03-10T20:16:10.202836",
"amount_owed": "276.91",
"amount_paid": "276.91",
"invoice_url": null,
"shipment_id": "53d6bdec-1eae-46e2-97c2-3e56b1a1095d",
"amount_owed_currency": "USD",
"amount_paid_currency": "USD"
}
Response examples (404)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx
# Payload
{
"errors": {
"detail": "string"
}
}