curl --request POST \
--url https://api.sanka.com/v1/public/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"external_id": "<string>",
"name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone_number": "<string>",
"company": "<string>",
"status": "<string>",
"allowed_in_store": true
}
'{
"ok": true,
"status": "<string>",
"external_id": "<string>",
"contact_id": "<string>",
"ctx_id": "<string>"
}curl --request POST \
--url https://api.sanka.com/v1/public/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"external_id": "<string>",
"name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone_number": "<string>",
"company": "<string>",
"status": "<string>",
"allowed_in_store": true
}
'{
"ok": true,
"status": "<string>",
"external_id": "<string>",
"contact_id": "<string>",
"ctx_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.