createCustomer

Purpose:

You can use createCustomer method to create customers in Apptivo with generic fields provided by application.

Request URL:

https://api.apptivo.com/app/dao/v6/customers?a=save&customerData{ CUSTOMER_DATA}&apiKey=API_KEY&accessKey=ACCESS_KEY

Request Parameters:

Parameter Data Type Description
customerData* JSON Please see the sample request URL
apiKey* String Apptivo API Key
accessKey* String Apptivo Access Key

* – Mandatory parameters

Output:

This will return the details of the created customer with JSON format.

Sample Request URL:

https://www.apptivo.com/app/dao/v6/customers?a=save&customerData={"customAttributes":[],"customerId":null,"customerName":"TestCustomer","customerNumber":"Auto generated number","customerCategory":"","customerCategoryId":null,"statusName":"Active","statusId":10000,"defaultBillingCurrency":"INR","assigneeObjectRefName":"Db2Es s","assigneeObjectRefId":77021,"assigneeObjectId":8,"description":"","phoneNumber":"","contactEmail":"","skypeName":"","parentCustomerName":"","parentCustomerId":null,"employeeRange":"","employeeRangeId":null,"website":"","tickerSymbol":"","annualRevenue":null,"annualRevenueCurrencyCode":"INR","campaignName":"","campaignId":null,"creditRating":"","marketName":"","marketId":null,"segmentName":"","segmentId":null,"industryName":"","industryId":null,"paymentTerm":"Net 30","paymentTermId":98763,"ownership":"","slaName":"","slaId":null,"isUnsubscribed":"N","accounts":[],"territories":[],"isBounced":"N","bouncedReason":null,"isResponded":"N","followUpDate":null,"followUpDescription":null,"createdByName":"","lastUpdatedByName":"","creationDate":"","lastUpdateDate":"","isExistingCustomer":"N","isAffiliate":"N","faceBookURL":"","twitterURL":"","linkedInURL":"","createdBy":null,"lastUpdatedBy":null,"labels":[],"addresses":[{"addressAttributeId":"address_section_attr_id","addressTypeCode":"1","addressType":"Billing Address","addressLine1":"","addressLine2":"","city":"","stateCode":"","addressGroupName":"Address1","state":"","zipCode":"","countryId":70,"countryName":"India","countryCode":"IN","deliveryInstructions":null,"county":null}],"lastContactedDate":null}
&isLeadConvert=N
&isDuplicate=false