POS integration
{id}
/cancel{id}
{id}
/loyalty_identifiers{id}
/financials{id}
/rewards{id}
/financialsGet a single account, along with its fiancial details
Path variables
The account identifier whose financial details will be retrieved
Responses
OK
Body
The account’s name
The account’s number
Defines whether the account is the primary one of the contact
The account’s life cycle state
The account’s currency (3 code currency)
The account’s calculated balance
The unpaid amount that is passed its due date
The account’s credit limit
The ID of the latest closed accounting period
The name of the account’s latest accounting period
The opening balance brought forwards after the latest closed accounting period
The unique identifier of the Account classification
The name of the Account classification
The account’s wallet information (if available)
The wallet’s unique identifier
A unique 16-digit code that if not provided, it is auto-generated
The total balance of the wallet
The commerce balance of the wallet
The open balance of the wallet
The wallet’s life cycle state
The minimum wallet balance threshold. If not provided, the global rules apply
Defines the limit rules applied on specific wallet. If not provided, the global rules apply
The minimum amount allowed
The maximum amount allowed
The period for which the limit is applied
The wallet transaction type for which the limit is applied
Details about auto-topup details
Sets the threshold for the auto topup to be performed
The amount to get topped up
Indicates the method of collecting money
The contact’s actual preferred payment method. Required and mandatory only for online payments (Card, Wallet, PayPal and Account). Defaults to the primary payment method, if any.
Details about the billing address
The address identifier
The address line 1
The address line 2
The address state/province/county
The address town/city
The address postal code
The address country code
{id}
/rewardsGet a single account, along with its reward details
Path variables
The account identifier whose details will be retrieved
Responses
OK
Body
The account identifier
The account’s name
The account’s number
The account’s currency (3 code currency)
The date when the account was signed up for the first time
Information about the organisation that sign up the account for the first time
The organisation identifier
The organisation name
Defines whether the account can spend or not
The date that the spending status of the account was updated
Information about the user that updated the spending status of the account
The user identifier
The user’s email address
The user’s first name
The user’s last name
Information about the automatic spend settings for the account
Defines whether automatic spend is enabled for the account
Defines whether automatic spends will occur on the next purchase of a specific merchant or based on wallet balance and purchase amount to a group of merchants
The minimum wallet balance amount that should be available for the spend to be performed. Applicable when automatic spend preference is for all merchant purchases
The min amount (inclusive) that the purchase customer event total amount should be in order for the automatic spend to be applied. Applicable when automatic spend preference is for all merchant purchases
Information about the merchants that automatic spending is allowed
The merchant record identifier
Defines whether the merchant is setup for automatic spend on the next visit
Information about organisation
The organisation identifier
The organisation name
Information about the account’s reward tier
The reward tier identifier
The reward tier name
The designated hexadecimal code of the tier’s color
The account’s value units that accumulated during the last rolling period
The account’s value units that accumulated overall
The progression percentage until the next reward tier is reached
Information about the reward schemes that the account has signed up to
The reward scheme identifier
The reward scheme name
The date when the account was signed up on the specific reward scheme
The email address that was used during sign up (applicable if the reward scheme is a close loop scheme based on email domains)
Defines how customers can sign up to the reward scheme
The customer’s preferred payment method identifier that will be used for spending purposes for back-end reduction rewards (applicable payment methods are direct debit and credit cards related)
The preferred payment method identifier
The customer’s preferred payment method identifier that will be used for spending purposes
The first six digits of the card (applicable only if the payment method type is card based)
The last four digits of the card (applicable only if the payment method type is card based)
The bank’s iban (applicable only if the payment method type is direct debit based)
A supplementary API that enables the POS agents to search through existing purchases, either based on contact or specific purchase attributes
Request parameters
The contact identifier who performed the purchase
The purchase’s reference number
The date from which the purchase was performed.If not specified, then the last 10 purchases will be returned
The date until which the purchase was performed
The life cycle state of the customer event
The organisation that the purchase customer event was performed
The transaction acquiring point that captured the customer event
Filters customer events that have greater or equal total amount as specified
Filters customer events that have less or equal total amount as specified
Defines on which attribute the results should be sorted
Responses
The request has succeeded
Body
The purchase identifier (POS based)
The purchase unique referene number (can be the same as the POS based identifier or a unique transaction number if it’s supported)
Contact details
The contact identifier
The contact full name
The contact code
Account details
The account identifier
The account name
The account number
The purchase’s life cycle state
The reduction method that was applied on the related spend
The purchase event’s classification details
The classification identifier
The classification name
The purchase’s total net amount of all products’ net amount
The purchase’s total tax amount of all products’ tax amount
The purchase’s discount amount
The purchase’s total amount after discount
The organisation details at which the purchase was performed
The organisation identifier at which the purchase was performed
The organisation name at which the purchase was performed
The date on which the purchase was performed
Create a purchase customer event into CRM.COM (in posted state) based on the submitted POS purchase transaction
Request body
The purchase Identifier (POS based)
The contact identifier that the purchase is created for (customer identification can be made either using contact_ud or cim)
The value for a single contact identification medium representing the customer that the purchase is created for (customer identification can be made either using contact_ud or cim)
The OTP token that will identify the contact who requested to spend (applicable on Customer Self Service Identification/Spend)
The purchase unique referene number (can be the same as the POS based identifier or a unique transaction number if it’s supported)
The unique identifier of the payment medium used in the purchase (e.g. the first 8 digits of a credit card)
The date that the customer event was performed (if not specified, default to date of posting such purchase)
Defines the reduction method that will be applied on spend
The purchased products (either products object or explicit net/tax/total amounts should be provided)
The purchased product sku family (either product sku or product famly should be speciifed)
The purchased product name (will be used on online product sync)
The purchase product family (either product sku or product famly should be speciifed)
The purchased product net amount
The purchased product vat amount
The purchased product total amount (net and vat amount)
The purchased product quantity
Information related with the ad-hoc spend request that should be created as part of the purchase
The amount to be spent by the specified spend request in system currency
Details about the merchant’s point on which the purchase is made
The merchant transaction acquiring point identifier (either tap id or code should be provided)
The merchant transaction acquiring point code (either tap id or code should be provided)
Details about the merchant’s outlet point on which the purchase is made
The outlet transaction acquiring point identifier (either tap id or code should be provided)
The outlet transaction acquiring point code (either tap id or code should be provided)
The discount of the purchase
The purchase net amount. Applicable when no products (sku/family) are provided
The purchase tax amount. Applicable when no products (sku/family) are provided
The purchase total amount (net + tax - discount). Applicable when no products (sku/family) are provided
Details about the customer event classification
The customer event classification identifier
The customer event classification name
Details about the pass
The pass code
The pass one time password (if applicable)
Responses
The request has succeeded
Body
The purchase identifier
The purchase reference number (applicable only for Front-End Reduction)
The total award amount (applicable only for Front-End Reduction)
The sum of all spends (instant discount, auto spends, spends on request). Applicable only for Front End Reduction
The spend related to instant discount. Applicable only for Front End Reduction
The spend related to auto spend requests. Applicable only for Front End Reduction
The actual spend related to requested spend requests. Applicable only for Front End Reduction
{id}
/cancelCancel an existing customer’s purchase and as a result any related awards/spends will be reversed
Path variables
The purchase identifier (POS based) that will be cancelled
Responses
The request has succeeded
Body
The purchase identifier
Performs an ad hoc return of goods for a speciifc customer
Request body
The contact id that the customer event is created for (either contact_id or cim must be specified)
The value for a single contact identification medium representing the customer event is created for (either contact_id or cim must be specified)
The currency code
The amount (real currency) of purchased goods that are returned
Details about the merchant that submits such transaction (either id or code should be specified)
The organisation (business/merchant) tap identifier
The organisation (business/merchant) tap code
Details about the venue that submits such transaction (either id or code should be specified)
The organisation (venue) tap identifier
The organisation (venue) tap code
Responses
The request has succeeded
Body
The purchase identifier that ad hoc return of goods is applied
A supplementary API that enables the POS agents to search through existing contacts
Request parameters
The value of the search across Full Name, Company Name and Contact Code (case insensitive)
The contact’s email address
The contact’s phone number
The contact’s unique code
The contact’s loyalty identifier
The customer identification medium
The date from which the contact was registered
The date unitl which the contact was registered
The unique identifier of the organisation that owns the contact
Defines the additional metrics to be retrieved in the response (comma separated)
If set to true then information about the primary account and wallet will be also retrieved
Defines on which attribute the results should be sorted
Responses
The request has succeeded
Body
The contact identifier
The contact code
The contact type
The contact full name
The contact statutory number
The date on which the contact was registered
Details about contact category
The category identifier
The category name
The contact’s email address
Details about contact phones
The phone identifier
The phone type
Defines whether the phone is the primary one
The phone country code on which is registered
The phone number
Details about contact addresses
The address identifier
The address type
Defines whether the address is the primary one
The address line 1
The address line 2
The address county
The address town
The address postal code
The address country
Details about the contact’s financials
Details about the contact’s account
The account identifier
The account number
The account state
The account’s currency code
The account’s overdue amount
The account’s balance
Details about the contact’s wallet
The wallet identifier
The wallet code
The wallet state
The wallet’s balance (in real currency)
The wallet’s balance currency code (real currecy)
The contact’s interaction status
The contact’s metrics
Details about the contact’s subscriptions
Defaults to current timestamp
The total number of subscriptions
Details about the contact’s joined schemes
Defaults to current timestamp
The total number of schemes that the customer joined
The contact’s loyalty identifiers (cards)
The unique identifier of the loyalty identifier (CIM)
The loyalty identifier
{id}
Get details for a specific contact
Path variables
The contact identifier that should be returned
Responses
The request has succeeded
Body
The contact identifier
The contact’s unique code
Type of contact support types include Person and Company.
The name of the company if the contact type is COMPANY
The title of the contact. Applicable only if the type is PERSON
The first name of the contact. Applicable and mandatory only if the type is PERSON
The middle name of the contact. Applicable and mandatory only if the type is PERSON
The last name of the contact. Applicable and mandatory only if the type is PERSON
The full name of the Contact taking into consideration the name display settings
The contact’s email
The contact loyalty identifier
The contact’s preferred language for communication
Notes for the contact
The contact’s unique statutory code
Defines whether the contact is Tax Exempt or not
Details about the contact category
The category identifier
The category name
Details about the contact’s dmographic information (applicable for PERSON contects)
The contact gender
The contact’s country of residence
Details about the contact’s passport
The passport number
The issue country for the passport
The expiration date for the passport
Details about the ID (applicable for PERSON contects)
The ID number
The country that issued such ID
The expiration date for the ID
Details about the contact nameday (applicable for PERSON contects)
The nameday month
The nameday day
Details about the contact birthday (applicable for PERSON contects)
The year of birth
The month of birth
The day of birth
Details about the addresses
The address identifier
The address type
Defines whether the address is primary or not
The address of care of
The address line 1
The address line 2
The address state/province/county
The address town/city
The address postal code
The address country
The latitude of the address
The longitude of the address
The Google textual identifier that uniquely identifies an address
Details about the phones
The phone identifier
The phone type
Defines whether the phone is the primary one
The phone country code
The phone number
The contact’s consent state
Defines whether the contact is anonymized
The contact’s interaction status, retrieved from REDIS
The contact’s total spend amount in the last 12 months, retrieved from REDIS
Defines whether the SMS communication will be opt out
Defines whether the EMAIL communication will be opt out
Details about the KYC profile
The KYC profile identifier
The name of the KYC profile
The status of the KYC profile assigned to Contact
The contact referral code
The unique identifier of the loyalty identifier (CIM)
The loyalty identifier
{id}
/loyalty_identifiersRetrieve the loyalty identifiers for a specific contact
Path variables
The contact identifier that should be returned
Responses
The request has succeeded
Body
The unique identifier of the loyalty identifier (CIM)
The loyalty identifier of the customer
Performs product synchornization between the products that exist in the POS system over to CRM.COM
Request body
Details about the products to synchornise
The product sku
The product name
The product description
The product type (if type is provided, id or name should be specified)
The product type identifier
The product type name
Details about the product brand (if brand is provided, id or name should be specified)
The product brand identifier
The product brand name
Details about the product family (if family is provided, id or name should be specified)
The product family identifier
The product family name
Details about the product categories (for each provided category, id or name or code should be specified)
The product category identifier
The product category name
The product category code
Defines the period that the product will be valid (if not specified, will be always valid)
The date from which the product will be valid
The date up to which the product will be valid
Details about the product tax rate
The tax rate identifier
The tax rate name
Details about the product variant attributess
The variant key
The variant value
Details about the product components
The component product sku that will be used as component (sku or family, category or product type should be specified)
The component product family that will be used as component (sku or family, category or product type should be specified)
The product family identifer (id or name should be specified)
The product family name (id or name should be specified)
The component product type that will be used as component (sku or family, category or product type should be specified)
The product type identifer (id or name should be specified)
The product type name (id or name should be specified)
The component product category that will be used as component (sku or family, category or product type should be specified)
The product category identifer (id, name or codeshould be specified)
The product category name (id, name or codeshould be specified)
The product category code (id, name or codeshould be specified)
Defines if pricing is inclusive
The minimum number of components that should be added (applicable only for product family and type)
The maximum number of components that should be added (applicable only for product family and type)
Defines whether the component must be added to the product or not
Defines the classification of the component
The unique product sku of variant_attribute (required if the synced product is a variant attribute of another product)
Responses
The request has succeeded
Body
A unique identifier of the Web API call which can be used for triggering the webhook and relate the api request to the webhook request (enables integrator to match the api request with the webhook request).
Defines how the results will be ordered
The page number that should be retrieved
The size (total records) of each page
Defines on which attribute the results should be sorted
Order Provisioning to POS systems is achieved using CRM.COM Webhooks Adaptor (via CRM.COM Automations).
A webhook is an event notification method where an application (or a system) is provided with real time information for an order created in Vizulink without requiring an additional integration (the POS integrator is responsible to parse such order information in order to be able to perform POS operations).
Attached is the order details, send to a POS using a webhook
The order event
The date that the event was submitted
Details about the contact that placed the order
The contact identifier
The contact code
The contact name
Details about the account that placed the order
Details about the customer’s account
The account identifier
The account name
The account number
Details about the business organisation
Details about subsidiary organisation
The subsidiary organisation identifier
The subsidiary organisation name
Details about merchant organisation
The merchant organisation identifier
The merchant organisation name
Details about venue organisation
The venue organisation identifier
The venue organisation name
Details about the contact’s delivery address
Address line 1 details
Address line 2 details
Address town/city
Address postal code
Address country (code)
Details about the order transaction
The order identifier
The order number
The order state
The currency in which the order was made (3 code currency)
The order’s net amount
The order’s tax amount
The order’s discount amount
The order’s total amount
Details about the order
The order identifier
The order number
The state of the order
Defines how the order will be supplied
Details about the order’s category
The category identifier
The category name
Details about the order’s cancellation reason
The cancellation reason identifier
The cancellation reason name
The order notes
The date that the order was submitted
The estimated date that the order will be fulfilled
The date that the order was completed
The date that the order was cancelled
The date that the order was expired
The date that the order was requested
Defines whether the order is the favourited one (for the customer)
The total cost of the order
The order’s currency
Details about the payment method
The payment method
The payment method brand
The type of funding on which the payment is made against
The currency in which the order was made (3 code currency)
The payment amount
Details about the ordered products
The product identifier
The product sku
The product name
The product notes
Details about the product type
The product type identifier
The product type name
Details about the product brand
The product brand identifier
The product brand name
Details about the product family
The product family identifier
The product family name
Details about the product category
The product category identifier
The product category name
The ordered product quantity
The ordered product net amount
The ordered product tax amount
The ordered product discount amount
The ordered product total amount
Details about the bundle products
The bundle product identifier
The bundle product sku
The bundle product name
A creative is an object that contains all the data required for visually rendering an image responsively. The object contains the initial image and a number of scale versions of it (srcset)
The creative identifier
Information about the creative type
The creative width
The creative height
The creative format
The creative content URL
The creative public identifier
Information about the creative transformations
The transformed creative width
The transformed creative height
The transformed creative URL
Details about the product pricing
The pricing rate model
The pricing tax model
The price (amount)
The price currency (3 code)
Details about the pricing tiering (required for Tiered and Volume based rate models)
The lowest tier
The top tier
The tier price (amount)
Order Provisioning to POS systems is achieved using CRM.COM Webhooks Adaptor (via CRM.COM Automations).
A webhook is an event notification method where an application (or a system) is provided with real time information for an order created in CRM.COM without requiring an additional integration (the POS integrator is responsible to parse such order information in order to be able to perform POS operations).
Attached is the order details, send to a POS using a webhook
The order identifier
The order number
The order state
The order notes
The order’s total number of milestones
Defines how the order will be supplied
The order’s total cost
The currency in which the order was made (3 code currency)
Defines whether this order is the customer’s favourite one
Details about the contact that placed the order
The contact identifier
The contact code
The contact name
Details about the contact’s address
Address line 1 details
Address line 2 details
Address state/province/county
Address town/city
Address postal code
Address country (code)
Details about the order’s category
The category identifier
The category name
Details about the reason for cancelling the order
The cancellation reason identifier
The cancellation reasn name
Details about who will fulfill the order
The organisation identifier
The organisation name
Details about the person/organisation that is responsible for the order
Details about the user responible for the order
The user identifier
The user’s username
Details about the organisation responsible for the order
The organisation identifier
The organisation name
Details about the ordered items
The order item identifier
The order item notes
The order item state
The order item quantity
Details about the ordered product
The product identifier
The product sku
The product name
The product quantity
The product price
The product cost
Details about the product’s components
The component identifier
The component sku
The component name
The component quantity
The component price
Details about the product variants
The variant key
The variant name
The variant value
Details about order’s key dates
The date that the order was submitted
The date that the order was completed
The date that the order was cancelled
The time in which the order is estimated to be fulfilled
The unit of time of which the order is estimated to be fulfilled
The date that the order is estimated to be fulfillment
The date that the order is estimated to be expired
Details about the order’s payment milestones
The payment method
Defines on which state of the milestone the payment will be made
The date that the payment is posted
Details about the payment method
The payment method brand
The last 4 digits of the payment method
The type of funding on which the payment is made against
Details about the invoice
The invoice identifier
The invoice number
Details about the payment
The payment identifier
The payment number
The server received an invalid response from the upstream server it accessed in attempting to fulfill the request
The input request was invalid or incorrect, often due to missing a required parameter
The API key or Token does not have permissions to perform the request
The server did not receive a timely response from the upstream server
The server encountered an unexpected condition which prevented it from fulfilling the request
The requested resource does not exist
The provided API Key or Token is invalid