cURL
curl --request POST \ --url https://api.pocketflows.com/sync/businesses/{business_id}/customers \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "id": "<string>", "external_id": "<string>", "phone_number": "<string>", "email_address": "<string>", "metadata": {} }'
{ "id": "<string>", "email_address": "<string>", "phone_number": "<string>", "metadata": {} }
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 synced Customer object
Customer
The response is of type object.
object