Skip to main content
PATCH
Update a line item of a receipt

Authorizations

Authorization
string
header
required

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

Headers

x-finops-version
string<date>
required
x-organization-id
string<uuid>
required

The ID of the entity that owns the requested resource.

Example:

"9d2b4c8f-2087-4738-ba91-7359683c49a4"

Path Parameters

receipt_id
string<uuid>
required
line_item_id
string<uuid>
required

Body

application/json
name
string

Line item name/description.

total
integer

Line item total in minor units.

Response

Successful Response

id
string<uuid>
required

Unique line item ID.

created_at
string<date-time>
required

Created at.

updated_at
string<date-time>
required

Updated at.

receipt_id
string<uuid>
required

Receipt ID.

created_by_entity_user_id
string<uuid>

Created by user.

name
string

Line item name.

total
integer

Total.