Skip to main content
PUT
Make a widget a preset, or replace a preset

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

partnerId
string<uuid>
required

The partner whose preset to set

key
string
required

The name your code uses for the preset

Pattern: ^[a-z0-9][a-z0-9_-]{0,63}$

Body

application/json
widgetId
string<uuid>
required

One of the partner's own widgets. A widget is a preset under at most one key.

title
string | null

What your picker shows. Leave it out to show the widget's own name.

Required string length: 1 - 120
description
string | null
Maximum string length: 500
position
integer
default:0

Where the preset sits in the list. Smallest first; presets with the same position are ordered by key.

Required range: 0 <= x <= 10000

Response

The preset as saved

success
boolean
required

Always true on a success.

Example:

true

data
object
required

A widget the partner offers its managed users as a starting point, under a key the partner's code names. It belongs to the partner's account, so every managed user of the partner sees the same list.

Example:
meta
object

Extra information about the answer: where a page sits in a list, the cursor of the next page, or warnings about a call that succeeded with a caveat.