PUT /adjustments/{id}.json

PUT /adjustments/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

PUT /adjustments/{id}.json
curl \
 -X PUT http://api.example.com/v1/adjustments/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"adjustmentReasonId":42,"automatedImport":false,"costPrice":0,"createdAt":"2024-05-04T09:42:00+00:00","dataImportId":42,"id":42,"notes":"string","quantity":42,"stockTakeItemId":42,"updatedAt":"2024-05-04T09:42:00+00:00","userId":42,"variantId":42,"warehouseId":42,"xeroId":"string"}'
Request example
{
  "adjustmentReasonId": 42,
  "automatedImport": false,
  "costPrice": 0,
  "createdAt": "2024-05-04T09:42:00+00:00",
  "dataImportId": 42,
  "id": 42,
  "notes": "string",
  "quantity": 42,
  "stockTakeItemId": 42,
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "userId": 42,
  "variantId": 42,
  "warehouseId": 42,
  "xeroId": "string"
}