PUT /sale-return-payments/{id}.json

PUT /sale-return-payments/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

PUT /sale-return-payments/{id}.json
curl \
 -X PUT http://api.example.com/v1/sale-return-payments/{id}.json \
 -H "Content-Type: application/json" \
 -d '{"amount":0,"createdAt":"2023-05-04T09:42:00+00:00","exchangeRate":1,"externalId":"string","id":42,"paidAt":{},"reference":"string","saleReturnId":42,"updatedAt":"2023-05-04T09:42:00+00:00","xeroId":"string"}'
Request example
{
  "amount": 0,
  "createdAt": "2023-05-04T09:42:00+00:00",
  "exchangeRate": 1,
  "externalId": "string",
  "id": 42,
  "paidAt": {},
  "reference": "string",
  "saleReturnId": 42,
  "updatedAt": "2023-05-04T09:42:00+00:00",
  "xeroId": "string"
}