Leads
Unique code which represents an existing lead
application/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Get Lead
TFTF76455ee4YFCFCT6545465APItstsetststs45453USDENREST_API_AVANGTE1232018-02-08 11:32:02Get Lead
Lead's code
FD86FD98Id of the cart
du8945jgdSource
du8945jgdCurrency
EURLead's language
ENVendor's reference
REST_API_AVANGTEMachine id
7df4sFollowed up
falseLocal time
2019-01-08 11:46:12Purchased products
[{"Code":"my_subscription_1","Quantity":"1","SKU":"df1","IsDynamic":false,"Tangible":false,"PurchaseType":"","Name":"asd","Description":"asd","PriceOptions":[{"Name":"sdfsd","Options":[{"Name":"fsdfsdf","Value":"fsdfsdf","Surcharge":10.36}]}],"RecurringOptions":{"CycleLength":23,"CycleUnit":"m","CycleAmount":23,"ContractLength":23,"ContractUnit":"m"},"MarketingCampaigns":{"Type":23,"ParentCode":"m","CampaignCode":23},"Price":{"Amount":23,"Type":"m"},"AdditionalFields":[{"Code":"f","Text":"m","Value":"m"}],"SubscriptionStartDate":"e","Trial":{"Period":2,"GrossPrice":5,"VAT":0.83,"NetPrice":4.17}}]Billing details
{"FirstName":"Customer","LastName":"Avangate","FiscalCode":"32423423","Email":"[email protected]","Address1":"Test Address","City":"LA","Zip":"12345","CountryCode":"us","State":"CA"}Delivery details
{"FirstName":"Customer","LastName":"Avangate","FiscalCode":"32423423","Email":"[email protected]","Address1":"Test Address","City":"LA","Zip":"12345","CountryCode":"us","State":"CA"}Delivery informations
{"ShippingMethod":{"Code":"sdfsd"}}Details about payment
{"Type":"CC","Currency":"EUR","RecurringEnabled":true,"PaymentMethod":{"CardPayment":{"InstallmentsNumber":32}},"CustomerIP":"1.2.3.4"}Promotion codes
["FJ34JK9","OIU546KH0"]Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: Add lead
Add lead
Unique code which represents an existing lead
["FJE349FG"]Lead type
UsedStart date
2018-01-02End date
2019-01-02Product code. This can be a string and contain only one code or an array with multiple codes
["653465fYVYR"]Shopper cart language code
FRShopper billing country code
BGSource of the generated Lead
APIPage number
2Number of results on a page
25application/jsonExample: application/jsonPossible values: Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Get Lead
Get Lead
Lead's code
FD86FD98Id of the cart
du8945jgdCurrency
EURLead's language
ENVendor's reference
REST_API_AVANGTELead's source
testAPI.comCustomer reference
asdf1Machine id
132Local time
2019-01-08 11:46:12Purchased products
[{"Code":"my_subscription_1","Quantity":"1","SKU":"df1","IsDynamic":false,"Tangible":false,"PurchaseType":"","Name":"asd","Description":"asd","PriceOptions":[{"Name":"sdfsd","Options":[{"Name":"fsdfsdf","Value":"fsdfsdf","Surcharge":10.36}]}],"RecurringOptions":{"CycleLength":23,"CycleUnit":"m","CycleAmount":23,"ContractLength":23,"ContractUnit":"m"},"MarketingCampaigns":{"Type":23,"ParentCode":"m","CampaignCode":23},"Price":{"Amount":23,"Type":"m"},"AdditionalFields":[{"Code":"f","Text":"m","Value":"m"}],"SubscriptionStartDate":"e","Trial":{"Period":2,"GrossPrice":5,"VAT":0.83,"NetPrice":4.17}}]Billing details
{"FirstName":"Customer","LastName":"Avangate","FiscalCode":"32423423","Email":"[email protected]","Address1":"Test Address","City":"LA","Zip":"12345","CountryCode":"us","State":"CA"}Delivery details
{"FirstName":"Customer","LastName":"Avangate","FiscalCode":"32423423","Email":"[email protected]","Address1":"Test Address","City":"LA","Zip":"12345","CountryCode":"us","State":"CA"}Delivery informations
{"ShippingMethod":{"Code":"sdfsd"}}Details about payment
{"Type":"CC","Currency":"EUR","RecurringEnabled":true,"PaymentMethod":{"CardPayment":{"InstallmentsNumber":32}},"CustomerIP":"1.2.3.4"}Promotion codes
["FJ34JK9","OIU546KH0"]Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: Add lead
Add lead
Array of objects
[{"LeadCode":"FD454FDG","Used":false,"StopFollowups":true},{"LeadCode":"JI143FYU","Used":false,"StopFollowups":true}]Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"application/jsonPossible values: Mark Leads Response
4 leads have been marked successfullyMark Leads Response
Last updated
Was this helpful?