Create an Attribute

Note that Basic Authentication is required for all requests
as such, make sure to provide the Authorization header with a valid value.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 1 and 36
^[a-zA-Z0-9_-]*$
Defaults to the-attribute-id
string
required
length between 0 and 256
string | null
string
required
length between 0 and 256
string | null
string | null
^#([0-9A-Fa-f]{3,4}|[0-9A-Fa-f]{6})$
Defaults to #000000
int32
enum
required

[0 - 'Order', 1 - 'Driver', 2 - 'OrderAndDriver']

Allowed:
int32
enum

[0 - 'Prevent', 1 - 'Warning', 2 - 'Allow', 3 - 'PreventIfBothHave', 4 - 'WarningIfBothHave']

Allowed:
boolean
boolean
boolean
boolean
Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses
200

Attribute created successfully

400

Request has missing/invalid values

Language
Credentials
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here!