cURL
curl --request POST \ --url https://api.pocketflows.com/businesses/{id}/filter_definitions \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "label": "<string>", "type": "select", "options": [ { "label": "<string>", "value": "<string>" } ] }'
{ "id": "<string>", "label": "<string>", "type": "select", "options": [ { "label": "<string>", "value": "<string>" } ] }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the business
The created FilterDefinition object
FilterDefinition
The response is of type object.
object