API Reference / Predefined Items

GET /predefined_items

Get the list of predefined items (for the logged API user's account)

Returns the account's predefined items — reusable products or services with a name, description, cost and price that can be dropped onto a deal as line items. Search by name, and page through with page and per_page.

Responses

200 OK
  • statusintegerint32

    Response code

  • messagestring

    Response message

  • timestampintegerunix-timestamp

    Response time

  • dataobject
    object fields →
    • predefined_itemsarray<object>
      array item fields →
      • predefined_itemobject

        A user-configured item which can aid in the creation of deal items

        object fields →
        • idstringbson-id

          ID of the predefined item

        • namestring

          Name of the predefined item

        • descriptionstring

          Description text of the predefined item

        • costnumberfloat

          Cost of the predefined item

        • pricenumberfloat

          Price of the predefined item

        • positionintegerint32

          Position of the predefined item in the items list

        • item_group_idstringbson-id

          ID of the predefined item group (or empty if the item is not in a group)

Standard error responses: 400 · 401 · 403 · 404 · 409 · 500 — shared across the API. See Errors.

Related guides