cURL
curl --request POST \ --url https://api.pocketflows.com/businesses \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "metadata": {}, "external_id": "<string>" } '
{ "id": "<string>", "external_id": "<string>", "name": "<string>", "metadata": {}, "created_at": "<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 name of the business
Arbitrary metadata to associate with the business
An external identifier for the business. Must be unique within the project
The created Business object
Business
The ID of the business
The external ID of the business
Arbitrary metadata associated with this business
The date and time the business was created