cURL
curl --request PATCH \ --url https://commerce.driv.ly/api/invoices/{id} \ --header 'Content-Type: application/json' \ --data ' { "id": "<string>", "customer": "<string>", "deal": "<string>" } '
{ "data": { "id": "<string>", "customer": "<string>", "deal": "<string>" }, "success": true }
Invoice is uniquely identified by id
The number of levels of related objects to include in the response
Customer pays Invoice
Invoice is issued for Deal
Invoice Updated
Show child attributes