accounting
order

Update an order

patch/accounting/{connection_id}/order/{id}

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Order

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Request body

idstring
created_atstring date-time
updated_atstring date-time
posted_atstring date-time
contact_idstring
account_idstring
type'SALES' | 'PURCHASE'
currencystring
total_amountnumber
status'DRAFT' | 'VOIDED' | 'AUTHORIZED' | 'PAID' | 'PARTIALLY_PAID' | 'PARTIALLY_REFUNDED' | 'REFUNDED' | 'SUBMITTED' | 'DELETED' | 'OPEN' | 'COMPLETED' | 'CANCELED'
organization_idstring
rawobject

Response

Successful

idstring
created_atstring date-time
updated_atstring date-time
posted_atstring date-time
contact_idstring
account_idstring
type'SALES' | 'PURCHASE'
currencystring
total_amountnumber
status'DRAFT' | 'VOIDED' | 'AUTHORIZED' | 'PAID' | 'PARTIALLY_PAID' | 'PARTIALLY_REFUNDED' | 'REFUNDED' | 'SUBMITTED' | 'DELETED' | 'OPEN' | 'COMPLETED' | 'CANCELED'
organization_idstring
rawobject

Changes

Changed in 2 of the 25 revisions of this API.511

  • 1c744a7590b458See the full diff
    • added the new CANCELED enum value to the response property for the response status

      response-property-enum-value-added

    • added the new COMPLETED enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OPEN enum value to the response property for the response status

      response-property-enum-value-added

    • added the new SERVICE_CHARGE enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the new TIP enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the new optional request property

      new-optional-request-property

    • added the enum value metadata to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the new CANCELED enum value to the request property

      request-property-enum-value-added

    • added the new COMPLETED enum value to the request property

      request-property-enum-value-added

    • added the new OPEN enum value to the request property

      request-property-enum-value-added

    • added the new SERVICE_CHARGE enum value to the request property ////

      request-property-enum-value-added

    • added the new TIP enum value to the request property ////

      request-property-enum-value-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the new optional request property

      new-optional-request-property

    • added the enum value organization_id to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the optional property to the response with the status

      response-optional-property-added