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