Skip to main content
Version: v3

Update schedule

PUT 

/invoices/schedule/:scheduleId

API to update an schedule by schedule id

Request

Version stringrequired

API Version

Available optionsv3
scheduleId stringrequired

Schedule Id

application/json

Bodyrequired

    altIdstringrequired

    location Id / company Id based on altType

    altTypestringrequired

    Alt Type

    Available optionslocation
    namestringrequired
    contactDetailsobjectrequired
    scheduleobjectrequired
    liveModebooleanrequired
    businessDetailsobjectrequired
    currencystringrequired
    itemsobject[]required
    discountobjectrequired
    termsNotesstring
    titlestring
    attachmentsobject[]

    attachments for the invoice

    miscellaneousChargesobject

    miscellaneous charges for the invoice

application/json

Successful response

Schema
    _idstringrequired

    Schedule Id

    statusobjectrequired

    Schedule Status

    liveModebooleanrequired

    Live Mode

    altIdstringrequired

    Location Id or Agency Id

    altTypestringrequired
    Available optionslocation
    namestringrequired

    Name of the invoice

    scheduleobject
    invoicesobject[]required

    List of invoices

    businessDetailsobjectrequired

    Business Details

    currencystringrequired

    Currency

    contactDetailsobjectrequired

    Contact Details

    discountobject

    Discount

    itemsstring[]required

    Invoice Items

    totalnumberrequired

    Total Amount

    titlestringrequired

    Title

    termsNotesstringrequired

    Terms notes

    compiledTermsNotesstringrequired

    Compiled terms notes

    createdAtstringrequired

    created at

    updatedAtstringrequired

    updated at