Schedule the update of 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

Type: string
Required: Yes
Description: ID of the Account

Line Item ID

Type: string
Required: Yes
Description: Line Item ID

Schedule the update of a specific line item.

Line Item Status

Type: string
Enum: Defaults to VALID
Options: VALID, INVALID, OFFSET, PENDING, AUTHORIZED, DECLINED, VOID, POSTED
Description: The new status which you would like to set for the line item

Original Amount Cents

Type: integer
Description: The updated amount (in cents).

Effective At

Type: date-time
Description: The Date-Time that the update is made applicable to the line item.

Response Codes

202  Event scheduled.
401  Unauthorized.
403  Forbidden.
404  Account or line item could not be found.
422  Invalid input.
429  Too many requests.
default  Unexpected Error.

cURL Example

curl --request PUT \
     --url https://contact/%20sales%20to%20enable%20your%20sandbox/accounts//line_items//schedule \
     --header 'content-type: application/json' \
     --data '
{
  "line_item_status": "VALID"
}
'

Bearer

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