API ReferenceConversions
Post multiple conversions
Posts multiple conversions with validation. Returns validation information and processes valid records even if some are invalid.
Posts multiple conversions with validation. Returns validation information and processes valid records even if some are invalid.
Authorization
ApiKey X-API-KEY<token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
[index: integer]?
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/conversions" \ -H "Content-Type: application/json" \ -d '[ { "firstName": "string", "lastName": "string", "fullName": "string", "businessName": "string", "primaryAddress": { "fullAddress": "string", "address1": "string", "address2": "string", "city": "string", "state": "string", "zipCode": "string", "country": "string" }, "secondaryAddress": { "fullAddress": "string", "address1": "string", "address2": "string", "city": "string", "state": "string", "zipCode": "string", "country": "string" }, "couponCode": "string", "primaryPhoneNumber": "string", "secondaryPhoneNumber": "string", "primaryEmail": "user@example.com", "secondaryEmail": "user@example.com", "revenue": "string", "type": "string", "orderId": "string", "storeId": "string", "uniqueId": "string", "crmId": "string", "customerId": "string", "eventDate": "2019-08-24T14:15:22Z" } ]'{ "profile": { "id": 0, "aadId": "1cbad290-069a-4527-be23-a0c144b5302d", "email": "string", "firstName": "string", "lastName": "string", "company": "string", "created": "2019-08-24T14:15:22Z", "shouldProcessQrCodes": true }, "payload": [ { "firstName": "string", "lastName": "string", "fullName": "string", "businessName": "string", "primaryAddress": { "fullAddress": "string", "address1": "string", "address2": "string", "city": "string", "state": "string", "zipCode": "string", "country": "string" }, "secondaryAddress": { "fullAddress": "string", "address1": "string", "address2": "string", "city": "string", "state": "string", "zipCode": "string", "country": "string" }, "couponCode": "string", "primaryPhoneNumber": "string", "secondaryPhoneNumber": "string", "primaryEmail": "user@example.com", "secondaryEmail": "user@example.com", "revenue": "string", "type": "string", "orderId": "string", "storeId": "string", "uniqueId": "string", "crmId": "string", "customerId": "string", "eventDate": "2019-08-24T14:15:22Z" } ], "errors": [ "string" ], "hasErrors": true, "warnings": [ "string" ], "hasWarnings": true, "metadata": { "property1": null, "property2": null }}{ "profile": { "id": 0, "aadId": "1cbad290-069a-4527-be23-a0c144b5302d", "email": "string", "firstName": "string", "lastName": "string", "company": "string", "created": "2019-08-24T14:15:22Z", "shouldProcessQrCodes": true }, "payload": [ { "firstName": "string", "lastName": "string", "fullName": "string", "businessName": "string", "primaryAddress": { "fullAddress": "string", "address1": "string", "address2": "string", "city": "string", "state": "string", "zipCode": "string", "country": "string" }, "secondaryAddress": { "fullAddress": "string", "address1": "string", "address2": "string", "city": "string", "state": "string", "zipCode": "string", "country": "string" }, "couponCode": "string", "primaryPhoneNumber": "string", "secondaryPhoneNumber": "string", "primaryEmail": "user@example.com", "secondaryEmail": "user@example.com", "revenue": "string", "type": "string", "orderId": "string", "storeId": "string", "uniqueId": "string", "crmId": "string", "customerId": "string", "eventDate": "2019-08-24T14:15:22Z" } ], "errors": [ "string" ], "hasErrors": true, "warnings": [ "string" ], "hasWarnings": true, "metadata": { "property1": null, "property2": null }}{ "profile": { "id": 0, "aadId": "1cbad290-069a-4527-be23-a0c144b5302d", "email": "string", "firstName": "string", "lastName": "string", "company": "string", "created": "2019-08-24T14:15:22Z", "shouldProcessQrCodes": true }, "payload": [ { "firstName": "string", "lastName": "string", "fullName": "string", "businessName": "string", "primaryAddress": { "fullAddress": "string", "address1": "string", "address2": "string", "city": "string", "state": "string", "zipCode": "string", "country": "string" }, "secondaryAddress": { "fullAddress": "string", "address1": "string", "address2": "string", "city": "string", "state": "string", "zipCode": "string", "country": "string" }, "couponCode": "string", "primaryPhoneNumber": "string", "secondaryPhoneNumber": "string", "primaryEmail": "user@example.com", "secondaryEmail": "user@example.com", "revenue": "string", "type": "string", "orderId": "string", "storeId": "string", "uniqueId": "string", "crmId": "string", "customerId": "string", "eventDate": "2019-08-24T14:15:22Z" } ], "errors": [ "string" ], "hasErrors": true, "warnings": [ "string" ], "hasWarnings": true, "metadata": { "property1": null, "property2": null }}{ "profile": { "id": 0, "aadId": "1cbad290-069a-4527-be23-a0c144b5302d", "email": "string", "firstName": "string", "lastName": "string", "company": "string", "created": "2019-08-24T14:15:22Z", "shouldProcessQrCodes": true }, "payload": [ { "firstName": "string", "lastName": "string", "fullName": "string", "businessName": "string", "primaryAddress": { "fullAddress": "string", "address1": "string", "address2": "string", "city": "string", "state": "string", "zipCode": "string", "country": "string" }, "secondaryAddress": { "fullAddress": "string", "address1": "string", "address2": "string", "city": "string", "state": "string", "zipCode": "string", "country": "string" }, "couponCode": "string", "primaryPhoneNumber": "string", "secondaryPhoneNumber": "string", "primaryEmail": "user@example.com", "secondaryEmail": "user@example.com", "revenue": "string", "type": "string", "orderId": "string", "storeId": "string", "uniqueId": "string", "crmId": "string", "customerId": "string", "eventDate": "2019-08-24T14:15:22Z" } ], "errors": [ "string" ], "hasErrors": true, "warnings": [ "string" ], "hasWarnings": true, "metadata": { "property1": null, "property2": null }}{ "profile": { "id": 0, "aadId": "1cbad290-069a-4527-be23-a0c144b5302d", "email": "string", "firstName": "string", "lastName": "string", "company": "string", "created": "2019-08-24T14:15:22Z", "shouldProcessQrCodes": true }, "payload": [ { "firstName": "string", "lastName": "string", "fullName": "string", "businessName": "string", "primaryAddress": { "fullAddress": "string", "address1": "string", "address2": "string", "city": "string", "state": "string", "zipCode": "string", "country": "string" }, "secondaryAddress": { "fullAddress": "string", "address1": "string", "address2": "string", "city": "string", "state": "string", "zipCode": "string", "country": "string" }, "couponCode": "string", "primaryPhoneNumber": "string", "secondaryPhoneNumber": "string", "primaryEmail": "user@example.com", "secondaryEmail": "user@example.com", "revenue": "string", "type": "string", "orderId": "string", "storeId": "string", "uniqueId": "string", "crmId": "string", "customerId": "string", "eventDate": "2019-08-24T14:15:22Z" } ], "errors": [ "string" ], "hasErrors": true, "warnings": [ "string" ], "hasWarnings": true, "metadata": { "property1": null, "property2": null }}