Skip to main content
POST
/
transaction
/
{transaction_id}
/
transactionItems
Create transaction items
curl --request POST \
  --url https://api.projectcor.com/v1/transaction/{transaction_id}/transactionItems \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "description": "<string>",
  "amount": 123,
  "status": "<string>",
  "transaction_id": 123,
  "company_id": 123,
  "client_id": 123,
  "project_id": 123,
  "can_update": true,
  "can_delete": true,
  "integrated": true
}
'
{
  "id": 123,
  "description": "<string>",
  "client_id": 123,
  "project_id": 123,
  "amount": 123,
  "status": "<string>",
  "transaction_id": 123,
  "company_id": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

transaction_id
integer
required

Body

application/json
description
string
required

Description

amount
number
required

Amount

status
string
required

Status

transaction_id
integer
required

Transaction ID

company_id
integer
required

Company ID

client_id
integer

Client ID

project_id
integer

Project ID

can_update
boolean

Can update

can_delete
boolean

Can delete

integrated
boolean

Integrated

Response

200 - application/json

Transaction item created successfully

id
integer
description
string
client_id
integer
project_id
integer
amount
number
status
string
transaction_id
integer
company_id
integer