This method is used to create a purchase customer event in a posted life cycle state
Resource URL
Parameters
Name | Type | Description | ||||||||||||||||||||||||||||||
token | String | The token retrieved from the login method | ||||||||||||||||||||||||||||||
id | String | The customer event unique Identifier (GUID) | ||||||||||||||||||||||||||||||
contact_id | String | |||||||||||||||||||||||||||||||
cim | ||||||||||||||||||||||||||||||||
accounts_receivable_identifier (mandatory) | Accounts receivable Identifier | The related accounts receivable. The allowed accounts receivable identifier fields are the following:
From CRM.COM R15.0.0, access_token_identifier is supported For releases prior CRM.COM R17.0.0, this field was semi-optional | ||||||||||||||||||||||||||||||
classification_identifier (optional) | Customer Event Classification Identifier | The classification of the customer event. The allowed identifier fields are the following
| ||||||||||||||||||||||||||||||
performed_by_business_unit_identifier (semi-optional) | Business Unit Identifier | The business unit that initiated the customer event. The allowed identifier fields are the following
Available from CRM.COM R18.0.0 | ||||||||||||||||||||||||||||||
performed_by_unit_identifier (semi-optional) | Unit Identifier | The unit that initiated the customer event. The allowed identifier fields are the following
For releases prior CRM.COM R17.0.0, this attribute was mandatory From CRM.COM R17.0.0, this attribute will be set automatically if the performed_by_tap_identifier is specified Deprecated from CRM.COM R18.0.0 | ||||||||||||||||||||||||||||||
performed_by_tap_identifier (semi-optional) | Transaction Acquiring Point Identifier | The unit's transaction acquiring point that initiated the customer event. The allowed identifier fields are the following
Available from CRM.COM R17.0.0 From CRM.COM R17.0.0, this attribute will be set automatically if the performed_by_unit_identifier is specified From CRM.COM R18.0.0, this attribute will be set automatically if the performed_by_business_unit_identifier is specified | ||||||||||||||||||||||||||||||
performed_on (mandatory) | Integer | The date that the customer event was actually performed (in epoch format) | ||||||||||||||||||||||||||||||
reference_number (mandatory) | String | The reference number of the retrieved purchase customer event | ||||||||||||||||||||||||||||||
payment_medium_identifier (optional) | String | The payment medium identifier with which the purchase customer event has been made (e.g. first credit card digits) | ||||||||||||||||||||||||||||||
authorized_by_access_token_identifier (optional) | Access Token Identifier | The access token that was used to identify and authorized the customer. This information will be overridden if the customer was identified via an access token through this Web API call. The allowed access token identifier fields are the following:
Available from CRM.COM R15.0.0 Deprecated from CRM.COM R18.0.0 | ||||||||||||||||||||||||||||||
currency_code (optional) | String | The currency code that the customer event is created against (mapped to intended_currency_identifier) | ||||||||||||||||||||||||||||||
products | Array of Products | The purchase products of this customer event
| ||||||||||||||||||||||||||||||
spend_request | Object | Information related with the spend request that should be created as part of the purchase customer event
|
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
200
Name | Type | Description |
id | String | The purchase customer event GUID |