Tip |
---|
Available from CRM.COM R16.12.0 |
Excerpt |
---|
This method is used to create a purchase customer event in a posted life cycle state |
...
Name | Type | Description |
---|---|---|
api_key | String | The api key for API calls to ensure that the client is trusted
|
Body
Name | Type | Description | ||||||||||||||||||
id (optional) | String | The customer event unique Identifier (GUID)
| ||||||||||||||||||
contact_id (semi-optional) | String | The contact unique identifier (GUID) that the customer event is created for
| ||||||||||||||||||
cim (semi-optional) | String | The value for a single contact identification medium representing the customer event is created for
| ||||||||||||||||||
reference_number (mandatory) | String | The external system’s (unique) reference number that submitted the customer event | ||||||||||||||||||
classification (optional) | Object | The classification of the customer event The allowed identifier fields are the following
| ||||||||||||||||||
currency_code (optional) | String | The currency code that the customer event is created against
| ||||||||||||||||||
payment_medium_identifier (optional) | String | The payment medium identifier with which the purchase customer event has been made (e.g. first credit card digits) | ||||||||||||||||||
performed_on (optional) | Integer | The date that the customer event was actually performed (in epoch format)
| ||||||||||||||||||
merchant_tap (semi-optional) | Object | The merchant that captured the purchase customer event
The allowed identifier fields are the following
| ||||||||||||||||||
outlet_tap (semi-optional) | Object | The merchant's outlet that captured the purchase customer event
The allowed identifier fields are the following
| ||||||||||||||||||
products (mandatory) | Array of Objects | The purchased items of this customer event
| ||||||||||||||||||
spend_request (optional) | Object | Information related with the spend request that should be created as part of the purchase customer event
|
...