Update an existing line item

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

account_id

string

required

ID of the Account

line_item_id

string

required

Line Item ID

Edit a specific line item.

line_item_status

string

enum

Defaults to VALID

The new status which you would like to set for the line item

VALIDINVALIDOFFSETPENDINGAUTHORIZEDDECLINEDVOIDPOSTED

Show 8 enum values

original_amount_cents

integer

The updated amount (in cents).

``200 Line Item Edited

``401

Unauthorized.

``403

Forbidden.

``422

Invalid input

``429

Too many requests.

``default

Unexpected Error.

Updated about 1 year ago


ShellNodeRubyPHPPython

Bearer

Base URL

https://Contact sales to enable your sandbox/accounts/{account_id}/line_items/{line_item_id}


xxxxxxxxxx

curl --request PUT \
 
     --url https://contact/%20sales%20to%20enable%20your%20sandbox/accounts//line_items/ \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '

{

"line_item_status": "VALID"

}

'

application/json

``200

Updatedabout 1 year ago