Responses
{
"data": {
"type": "invoices",
"id": "12345",
"attributes": {
"customer_uuid": "customer-uuid",
"order_uuid": "order-uuid",
"register_uuid": "register-uuid",
"total_amount": "100.00",
"created_at": "2024-07-19T12:34:56Z",
"updated_at": "2024-07-19T12:34:56Z"
},
"relationships": {
"customer": {
"links": {
"self": "/api/v1/invoices/12345/relationships/customer",
"related": "/api/v1/customers/customer-uuid"
},
"data": {
"type": "customers",
"id": "customer-uuid"
}
},
"order": {
"links": {
"self": "/api/v1/invoices/12345/relationships/order",
"related": "/api/v1/orders/order-uuid"
},
"data": {
"type": "orders",
"id": "order-uuid"
}
},
"payments": {
"links": {
"self": "/api/v1/invoices/12345/relationships/payments",
"related": "/api/v1/invoices/12345/payments"
},
"data": [
{
"type": "payments",
"id": "payment-uuid-1"
},
{
"type": "payments",
"id": "payment-uuid-2"
}
]
}
},
"links": {
"self": "/api/v1/invoices/12345"
}
},
"headers": {
"Content-Type": "application/vnd.api+json",
"Cache-Control": "no-cache, no-store, must-revalidate",
"Expires": "0",
"X-RateLimit-Limit": "1000",
"X-Response-Time": "123ms"
}
}Response codes
Code
Meaning
Last updated
Was this helpful?