POST api/v1/Adjustments

Create a list of Adjustments.

Request Information

URI Parameters

None.

Body Parameters

Name Description Type Additional 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 Information

Resource Description

Collection of BatchResultItem

Name Description Type Additional information

Index

​The index at which the record was positioned in an insert or update.

integer

None.

Success

​True if the record was successfully inserted or updated.

boolean

None.

Id

The record Id.

integer

None.

Code

The record code.

string

None.

Errors

A list of errors if the insert or update fails.

Collection of String

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "index": 1,
    "success": false,
    "id": 1,
    "code": "",
    "errors": [
      ""
    ]
  }
]