accounting
order
post/accounting/{connection_id}/order

Request

  • Base URL: https://api.unified.to
  • URL: https://api.unified.to/accounting/{connection_id}/order
  • Auth: API key in header authorization

Path parameters

connection_idstring required

ID of the connection

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

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

posted_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

contact_idstring

Customer, Supplier (reference to AccountingContact)

account_idstring

(reference to AccountingAccount)

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

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

posted_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

contact_idstring

Customer, Supplier (reference to AccountingContact)

account_idstring

(reference to AccountingAccount)

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

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • warning

      added the new CANCELED enum value to the response property for the response status

    • warning

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

    • warning

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

    • warning

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

    • warning

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

    • info

      added the new optional request property

    • info

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

    • info

      added the new CANCELED enum value to the request property

    • info

      added the new COMPLETED enum value to the request property

    • info

      added the new OPEN enum value to the request property

    • info

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

    • info

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

    • info

      added the optional property to the response with the status