GET v1/Adjustments/{id}

Get an Adjustment.

Request Information

URI Parameters

NameDescriptionTypeAdditional information

id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Adjustment
NameDescriptionTypeAdditional information

Id

The unique Cin7 Id.

integer

None.

CreatedDate

Order created date

date

None.

ModifiedDate

Order last modified date

date

None.

CreatedBy

The ID for the User who created the Transaction.

integer

None.

ProcessedBy

The ID for the User who processed the Transaction.

integer

None.

IsApproved

Is Approved (default: true)

boolean

None.

Reference

A unique order reference (leave blank to auto-generate in an insert).

string

Max length: 20

BranchId

Branch ID.

integer

None.

CompletedDate

Completed Date.

date

None.

AdjustInAccountingSystem

Date to adjust in Accounting system.

date

None.

AdjustmentReason

The reason for adjusting Stock.

string

None.

AlternativeAccountCode

Alternative GL Account.

string

None.

ProductTotal

Product Total.

decimal number

None.

Source

The source of the Transaction.

string

None.

LineItems

Line Items.

Collection of AdjustmentItem

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "createdDate": "2024-11-16T13:41:55.0778649Z",
  "modifiedDate": "2024-11-16T13:41:55.0778649Z",
  "createdBy": 0,
  "processedBy": 0,
  "isApproved": false,
  "reference": "ADJ-1",
  "branchId": 3,
  "completedDate": "2024-11-17T00:00:00+13:00",
  "adjustInAccountingSystem": null,
  "adjustmentReason": null,
  "alternativeAccountCode": null,
  "productTotal": 0.0,
  "source": "API",
  "lineItems": [
    {
      "id": 1,
      "createdDate": "2024-11-16T13:41:55.0778649Z",
      "transactionId": 128,
      "parentId": 0,
      "productId": 1,
      "productOptionId": 1,
      "integrationRef": null,
      "sort": 1,
      "code": "",
      "name": "V-NECK TSHIRT",
      "option1": "Red",
      "option2": "XXL",
      "option3": "Yes",
      "qty": 2.0,
      "qtyAdjusted": 0.0,
      "holdingQty": 0.0,
      "account": null,
      "unitCost": 0.0
    }
  ]
}