curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#XERO_CREATE_CUSTOMER' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "XERO_CREATE_CUSTOMER",
"parameters": {
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"phone": "<string>",
"accountNumber": "<string>",
"addressLine1": "<string>",
"addressLine2": "<string>",
"billingCity": "<string>",
"state": "<string>",
"country": "<string>",
"postalCode": "<string>"
}
}'
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#XERO_CREATE_CUSTOMER' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "XERO_CREATE_CUSTOMER",
"parameters": {
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"phone": "<string>",
"accountNumber": "<string>",
"addressLine1": "<string>",
"addressLine2": "<string>",
"billingCity": "<string>",
"state": "<string>",
"country": "<string>",
"postalCode": "<string>"
}
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Your Paragon Project ID
Success
Was this page helpful?