PUT /sale-invoices/{id}.json

PUT /sale-invoices/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

PUT /sale-invoices/{id}.json
curl \
 -X PUT http://api.example.com/v1/sale-invoices/{id}.json \
 -H "Content-Type: application/json" \
 -d '{"accountingIntegrationExternalId":true,"createdAt":"2023-05-04T09:42:00+00:00","externalId":"string","finalized":false,"id":42,"paid":0,"paymentStatus":"notPaid","quickbooksId":"string","reference":"string","saleId":42,"updatedAt":"2023-05-04T09:42:00+00:00","xeroId":"string"}'
Request example
{
  "accountingIntegrationExternalId": true,
  "createdAt": "2023-05-04T09:42:00+00:00",
  "externalId": "string",
  "finalized": false,
  "id": 42,
  "paid": 0,
  "paymentStatus": "notPaid",
  "quickbooksId": "string",
  "reference": "string",
  "saleId": 42,
  "updatedAt": "2023-05-04T09:42:00+00:00",
  "xeroId": "string"
}