payment_terms

Shows an Payment Term for editting

Changed on

Displays an Payment Term by id

get/api/v1/payment_terms/{id}/edit

Request

Path parameters

idstring string required

The Payment Term Hashed ID

Query parameters

includestring
Example:first_load

Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes

Headers

X-API-TOKENstring required
Example:TOKEN

The API token to be used for authentication

X-Requested-Withstring required
Example:XMLHttpRequest

Used to send the XMLHttpRequest header

Response

Returns the Payment object

num_daysinteger

The payment term length in days

namestring

The payment term length in string format

created_atnumber

Timestamp

updated_atnumber

Timestamp

archived_atnumber

Timestamp

Example response

{
  "num_days": 1,
  "name": "NET 1",
  "created_at": 134341234234,
  "updated_at": 134341234234,
  "archived_at": 134341234234
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • 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

    • 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

    • info

      added the optional property to the response with the status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the response's body type changed from object to no type for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status