Packages

Get the lowest price for a package you build

GET/management/packages/price-floor/

read Read: looks, changes nothing. Scopes

Before a reseller saves a package: the lowest price these terms may have, the package that sets it, and what saving would refuse. All null for a panel operator.

Query parameters

  • bouquetsstring

    Comma-separated bouquet ids.

  • duration_typestring

    Default days.

    One of: "days" "hours" "months" "weeks"

  • duration_valueinteger

    Default 30.

  • is_trialboolean
  • max_connectionsinteger

    Default 1.

  • packagestring (uuid)

    The package being edited, if any.

  • parentsstring

    Comma-separated ids of the packages it comes from; default: all those you may sell.

Response

200 OK

  • floorstring (decimal)requiredcan be null

    The lowest price allowed; null for no floor (always null for a panel operator).

  • parentobjectrequiredcan be null

    The package it comes from that sets the floor.

    • idstring (uuid)required
    • namestringrequired
  • refusedstringrequiredcan be null

    Why saving these terms would be refused.

  • refused_fieldstringrequiredcan be null

    The field the refusal is about.

Errors

  • 401 No credential, or one that is wrong, expired or revoked.
  • 403 The account, or the key's or app's scopes, may not do this.
  • 429 Slow down: wait the seconds in the Retry-After header, then try again.

What each error means