putItemsId
Update an Item. An Item is a line item that is associated with a particular Transaction. It allows you to describe the cost, quantity and other details of each line in the Transaction.
In: header
Path Parameters
The ID of this resource.
Header Parameters
A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.
A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.
Request Body
application/json
Update Item Request
Update Item Request
This is item resource.
A description of this Item. This field is stored as a text string and must be between 0 and 500 characters long.
A custom identifier for this line Item. This field is stored as a text string and must be between 0 and 500 characters long.
The quantity of this Item included in the Transaction. This field is specified as an integer.
The amount charged for this Item. This field is specified as an integer in cents.
The unit of measure for this Item. This field is stored as a text string and must be between 0 and 100 characters long. Examples of units of measure may be: each, kilogram, pound, month.
The total price for the line item. This field is specified as an integer in cents.
The commodity code for this Item. This field is stored as a text string and must be between 0 and 12 characters long.
The product code for this Item such as: UPC, catalog number, or inventory number. This field is stored as a text string and must be between 0 and 100 characters long.
The discount for the line item. This field is specified as an integer in cents.
Whether this resource is marked as inactive.
0- Active1- Inactive
Value in
- 0
- 1
Whether this resource is marked as frozen.
0- Not Frozen1- Frozen
Value in
- 0
- 1
Response Body
application/json
application/json
curl -X PUT "https://example.com/items/t1_itm_67b48390abd89e15be2d000" \ -H "Content-Type: application/json" \ -d '{ "item": "Line Item 21", "description": "A description of Item", "custom": "Identifier", "quantity": 1, "price": 471, "um": "EACH", "total": 471, "commodityCode": "9717123", "discount": 0, "productCode": "Prorated Tenant Protection Fee", "inactive": 0, "frozen": 0 }'{ "response": { "data": [ { "id": "t1_itm_67b48390abd89e15be2d000", "created": "2025-02-18 07:56:48.7124", "modified": "2025-02-18 07:56:48.7124", "creator": "t1_log_5f49777509d5d1d7c22e000", "modifier": "t1_log_5f49777509d5d1d7c22e000", "txn": "t1_txn_67b483904b280af5311234a", "item": "Line Item 21", "description": "A description of this Item", "custom": "Identifier", "quantity": 1, "price": 471, "inactive": 0, "frozen": 0, "um": "EACH", "commodityCode": "9717123", "total": 471, "discount": 0, "productCode": "Prorated Tenant Protection Fee" } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}deleteItemsId DELETE
Delete an Item. An Item is a line item that is associated with a particular Transaction. It allows you to describe the cost, quantity and other details of each line in the Transaction.
getItems GET
Query an Item. An Item is a line item that is associated with a particular Transaction. It allows you to describe the cost, quantity and other details of each line in the Transaction.
