POST /customers
Changed onCreates an individual customer for a business.
Request
- Base URLhttps://api.railz.ai
- AuthHTTP bearer
Request body
Example request
{
"connection": {
"businessName": "Railz",
"serviceName": "quickbooks"
},
"data": {
"contactFirstName": "Jane",
"contactLastName": "Smith",
"emailAddress": "email@acme.com",
"phone": "8889990000",
"website": "www.acme.com",
"customerName": "ACME Inc.",
"addresses": [
{
"type": "billing",
"line1": "1234 Park Street",
"line2": "Suite 1000",
"city": "Toronto",
"region": "ON",
"country": "CAN",
"postalCode": "A0B1C2"
}
],
"defaultCurrency": "CAD",
"subsidiaryRefs": [
"1",
"3"
]
}
}Response
Example response
{
"pushCommunicationId": "60473b57f0cdd1683ca71f60",
"requestedOn": "2021-03-09T08:15:22.035Z",
"status": "pending",
"businessName": "Railz",
"serviceName": "quickbooks",
"data": {
"contactFirstName": "Jane",
"contactLastName": "Smith",
"emailAddress": "email@acme.com",
"phone": "8889990000",
"website": "www.acme.com",
"customerName": "ACME Inc.",
"addresses": [
{
"type": "billing",
"line1": "1234 Park Street",
"line2": "Suite 1000",
"city": "Toronto",
"region": "ON",
"country": "CAN",
"postalCode": "A0B1C2"
}
],
"defaultCurrency": "CAD",
"subsidiaryRefs": [
"1",
"3"
]
}
}Changes
- info
api tag
Customeradded
- info
- breaking
the
///request property's maxLength was decreased to30 - breaking
the
response's property format changed fromuuidto no format for status - warning
added the new
byodenum value to theresponse property for the response status - warning
added the new
dynamics365Financeenum value to theresponse property for the response status - warning
added the new
dynamicsBusinessCentralenum value to theresponse property for the response status - warning
added the new
freshbooksenum value to theresponse property for the response status - warning
added the new
myobenum value to theresponse property for the response status - warning
added the new
oracleNetsuiteenum value to theresponse property for the response status - warning
added the new
quickbooksenum value to theresponse property for the response status - warning
added the new
quickbooksDesktopenum value to theresponse property for the response status - warning
added the new
sageBusinessCloudenum value to theresponse property for the response status - warning
added the new
sageIntacctenum value to theresponse property for the response status - warning
added the new
waveenum value to theresponse property for the response status - warning
added the new
xeroenum value to theresponse property for the response status - warning
added the new
zohoBooksenum value to theresponse property for the response status - info
added the new
byodenum value to the request property/ - info
added the new
dynamics365Financeenum value to the request property/ - info
added the new
zohoBooksenum value to the request property/ - info
the
/request property format was generalized fromuuidto no format - info
added to the
response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status
- breaking