API DOCUMENTATION
    Try Unleashed Now Sandbox

    Purchase Order Statuses

    The Purchase Order Statuses resource allows you to view the purchase order statuses available to your account. The response contains the fixed statuses that Unleashed provides, followed by the custom purchase order statuses that your account has configured.

    The full range of URIs and HTTP Verbs supported are:

    Operation HTTP Action
    List all purchase order statuses GET /PurchaseOrderStatuses

    An account can configure a maximum of 10 custom purchase order statuses.


    GET Purchase Order Statuses

    Fixed Purchase Order Statuses The following statuses will always be returned first unless filtered out.
    Status
    Unapproved
    Parked
    Placed
    Costed
    Receipted
    Complete
    Deleted
    Available Filters for GET Purchase Order Statuses
    Filter Description
    includeObsolete Set to true to also return obsolete custom statuses. Obsolete custom statuses are excluded by default.
    modifiedSince Only return custom statuses created or edited after a specified date, must be UTC format. The fixed statuses have no modification date, so they are not returned when this filter is used.
    Available Fields for GET Purchase Order Statuses
    Property Type Length Notes
    Name String 15 The status name.
    IsCustomStatus Boolean false for the fixed statuses, true for custom statuses configured in your account.
    Obsolete Boolean Always false for fixed statuses.
    LastModifiedOn Nullable DateTime Only returned for custom statuses.

    Examples for Response GET /PurchaseOrderStatuses

    show xml example
    show json example

    Use the API Sandbox to see how the object is rendered in JSON or XML.

    Note: An Unleashed account is required before you can use the API Sandbox.

    Trial accounts are also allowed to connect to the API.
    You can register a new account here: Register.