Download OpenAPI specification:Download
Glossary:
Item | Description |
---|---|
Accept-Language | The Accept-Language request HTTP header indicates the natural language and locale that the client prefers. Browsers set required values for this header according to their active user interface language. Users rarely change it, and such changes are not recommended because they may lead to fingerprinting. As Accept-Language header we can pass values available in LANGUAGES dictionary. If you provide values that dictionary does not contain, you will have default language returned. |
Base URL | In the context of an API, the base URL is the combination of scheme, hostname, and base path on the root level of the API. For example, in the Echo Loyalty Business To Business Gateway REST API, the full URL for the POST /enrollment operation, which enrolls a member is: https://b2b-tenantId.echoloyalty.com/b2b/profile/v3/enrollment. The base URL is: https://b2b-tenantId.echoloyalty.com/b2b/profile/v3. This is constructed from these three elements: -Scheme: HTTPS -Host: b2b-tenantId.echoloyalty.com -Base path: /b2b/profile/v3 |
Bearer access token (access token) | An access token that uses the standard and contains all the information the resource server needs to confirm the user’s grant to the application. It has the following three-part structure, with period separators: Header.Payload.Signature. The platform's OAuth Provider domain can issue Bearer access tokens. An advantage of the Bearer access token is that the Resource Server can validate by itself without having to go back to the Authorization Server. |
Bearer token | Used in OAuth, the bearer token is a security token with the property that any party in possession of the token (the bearer) can use it. The bearer token is sent as-is in the API request, in the Authorization header. The platform's OAuth Provider domain supports Referenced Bearer (a simple bearer token) and bearer access token. |
Coordinated Universal Time (UTC) | Coordinated Universal Time (UTC), also called Zulu time, is the primary time standard in general use. It essentially equates to Greenwich Mean Time (GMT), but is more scientifically precise. In the Echo Loyalty Business To Business Gateway REST API, time values are represented in the standard UTC date/time format YYYY-MM-DDTHH:MM:SSZ. Example: 2013-12-31T15:45:00-04:00Z. |
Gateway | A Echo Loyalty Business To Business Gateway REST API streamlines signing up, signing in, management, operation of APIs, enhancing security and regulatory compliance through authentication and authorization. It provides central definition and management of security and other operational governance policies across multiple instances. The Gateway enables enterprises to standardize API and service delivery with high security, performance, and availability. |
Header | API headers are like an extra source of information for each API call. Their job is to represent the meta-data associated with an API request and response. API headers tell user about request/response bodies, authorization, caching, cooking. Headers examples: Authorization, WWW-Authenticate, Accept-Charset, Content-Type, Cache-Control. |
Path Parameter | Path is a type of parameter that lives within the endpoint URL. In a typical REST scheme, the path portion of the URL represents entity class hierarchy. Path parameters are surrounded with curly brackets and offer a unique opportunity for developers to control the representation of a specific resource. In this URL: (https://b2b-tenantId.echoloyalty.com/b2b/redemption/v3/rewards/{rewardCode}?pricePlanDate=2018-09-01), the {rewardCode} part represents the parameter that is required for the call. Unlike query string parameters where the order doesn’t matter, path parameters values must be given in correspondence with the format that is dictated by the URL path. While query parameters allow you to omit a value, path parameter values can’t be omitted since it would mean changing the URL path. |
Query Parameter | API Query parameters can be defined as the optional key-value pairs that appear after the question mark in the URL. Basically, they are extensions of the URL that are utilized to help determine specific content or action based on the data being delivered. Query parameters are appended to the end of the URL, using a '?'. The question mark sign is used to separate path and query parameters. If you want to add multiple query parameters, an '&' sign is placed in between them to form what is known as a query string. In this URL: (https://b2b-tenantId.echoloyalty.com/b2b/redemption/v3/rewards/{rewardCode}?pricePlanDate=2018-09-01), there is one query parameter: pricePlanDate, with 2018-09-01 being its value. |
Token | An access object sent to the requestor (client app) after authentication is complete and authorization has been granted. The token enables the client app to request access to the end-user's resources. OAuth, OpenID Connect, and SAML use tokens. There are different types of tokens, as defined in the applicable specification; for example, OAuth access tokens, bearer tokens (also called bearer access tokens), client tokens (not currently supported), and ID tokens (used by OpenID Connect). |
URL | A URL (Universal Resource Locator, a Web address) identifies a resource by specifying its location in the context of a particular access protocol; for example, HTTP or HTTPS. |
Version | Each app or API on the platform much have at least one version, and can have multiple versions. When a user creates an app or API on the platform, the first version is created automatically; when using the API, it's important to complete both actions. |
X-Correlation-ID | X-Correlation-ID - header that correlates HTTP requests between a client and server. |
Customer | Member/participant of loyalty program. |
identifierId | 'identifierId' is an inner ID pointing specific identifier. Each identifier is linked to particular member and has its own type. |
identifierNo | 'identifierNo' is a member identifier ID as 'identifierId' generated within CLC. Unlike 'identifierId', 'identifierNo' is made public and can be found in Customer Care Panel among others. |
{target} | '{target}' is a path parameter. It is unique id of resource we want to point at and it is depending on what endpoint is used. For instance it could be unique id of loyalty identifier in the form of customerId={customerId} (in this case we replace whole {target} entity with customerId={customerId} where {customerId} is unique customer internal identifier in endpoint; https://b2b-tenantId.echoloyalty.com/b2b/profile/v3/customers/{target} = https://b2b-tenantId.echoloyalty.com/b2b/profile/v3/customers/customerId=123456654321). {target} parameter can be replaced with only value of resource as well (without name of resource and '=' mark). We can do this making use of identifierNo: https://b2b-tenantId.echoloyalty.com/b2b/profile/v3/customers/7000000000000000122443. However let's remember that first described scenario would have the same effect i.e. https://b2b-tenantId.echoloyalty.com/b2b/profile/v3/customers/identifierNo=7000000000000000122443. |
Client access token flow for user related clients. Client credentials grant type.
See Authentication documentation for more details.
Security Scheme Type | OAuth2 |
---|---|
clientCredentials OAuth Flow | Token URL: https://$host$:$port$/oauth/$version$/login Scopes:
|
Both authentication and authorization are core to the security of APIs.
Authentication - The process of proving your identity to the System. Authentication proves that you are who you say you are. We use OAuth2 security scheme as the method for authentication.
Authorization - The process when an entity proves a right to access. In other words, Authorization proves you have the right to make a request. To authorize in the System you need user, password and the token obtained during authentication.
Authorize user to access B2B gateway and issue the access token.
Usage of query parameters is denied, x-www-form-urlencoded approach is preferred.
any
) Content-Type required | string Value: "application/x-www-form-urlencoded" Request content type as MIME type. |
Accept | string Default: application/json Value: "application/json" Expected response content type as MIME type. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
username required | string User login. |
password required | string <password> User password. |
channel | string Default: "V" Enum: "L" "V" Business channel invoking further operations.
|
{- "access_token": "string",
- "token_type": "bearer",
- "expires_in": 0,
- "scope": "string",
- "jti": "string",
- "refresh_token": "string"
}
Prolongate access token expiry time.
Usage of query parameters is denied, x-www-form-urlencoded approach is preferred.
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Accept | string Default: application/json Value: "application/json" Expected response content type as MIME type. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
refresh_token required | string Refresh token to be refreshed |
scope | string Space separated list of scopes, which represent profiles granted within the token. |
{- "access_token": "string",
- "token_type": "bearer",
- "expires_in": 0,
- "scope": "string",
- "jti": "string",
- "refresh_token": "string"
}
Invalidate access token and logout.
Usage of query parameters is denied, x-www-form-urlencoded approach is preferred.
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
refresh_token required | string Refresh token to be invalidated |
{- "error": "UNAUTHORIZED",
- "message": "Unauthorized",
- "method": "PUT",
- "path": "/profile/customers/12345",
- "correlationId": "1505219765216595",
- "status": 401,
- "timestamp": "2017-09-12T12:36:05.217Z"
}
This set of requests allows the entity to get configured items and objects, specific for the given loyalty program and use in multiple way.
Get list of attributes used in specific form and password restrictions
any
) formType required | string Enum: "PT" "EN" Form type.
|
type | string Enum: "ALL" "CUSTOM" "PREDEFINED" Attribute type. Default value is ALL |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "memberAttributes": [
- {
- "name": "string",
- "code": "string",
- "predefined": true,
- "valueType": "S",
- "valueTypeName": "string",
- "acceptanceLevel": "string",
- "acceptanceLevelName": "string",
- "label": "string",
- "tags": [
- "string"
], - "editable": true,
- "order": 1,
- "description": "string",
- "formField": "string",
- "constraints": {
- "attributeValidators": [
- {
- "regexp": "string",
- "message": "string",
- "key": "string"
}
], - "valuesList": [
- "string"
], - "valuesBlackList": [
- "string"
], - "defaultValue": "string",
- "visible": true,
- "dictDomain": "string",
- "minValue": "string"
}
}
], - "passwordRestrictions": [
- {
- "regexp": "string",
- "message": "string",
- "key": "string"
}
], - "consents": {
- "gdpr": {
- "personalDataProcessing": {
- "description": "string",
- "acceptanceLevel": "string",
- "currentVersion": 0,
- "acceptanceDeadline": "2019-08-24T14:15:22Z",
- "label": "string",
- "currentVersionContent": {
- "contentFormat": "PDF",
- "content": "string",
- "contentFile": "string"
}
}, - "personalDataProfiling": {
- "description": "string",
- "acceptanceLevel": "string",
- "currentVersion": 0,
- "acceptanceDeadline": "2019-08-24T14:15:22Z",
- "label": "string",
- "currentVersionContent": {
- "contentFormat": "PDF",
- "content": "string",
- "contentFile": "string"
}
}
}, - "loyalty": {
- "termsAndConditions": {
- "description": "string",
- "acceptanceLevel": "string",
- "currentVersion": 0,
- "acceptanceDeadline": "2019-08-24T14:15:22Z",
- "label": "string",
- "currentVersionContent": {
- "contentFormat": "PDF",
- "content": "string",
- "contentFile": "string"
}
}, - "communications": {
- "description": "string",
- "acceptanceLevel": "string",
- "label": "string",
- "communicationChannels": [
- {
- "code": "string",
- "name": "string"
}
]
}, - "thirdPartyCommunications": {
- "description": "string",
- "acceptanceLevel": "string",
- "label": "string",
- "communicationChannels": [
- {
- "code": "string",
- "name": "string"
}
]
}, - "marketingCommunications": {
- "description": "string",
- "acceptanceLevel": "string",
- "label": "string",
- "communicationChannels": [
- {
- "code": "string",
- "name": "string"
}
]
}
}
}
}
Get list of partners.
Sortable by [code, name, status].
any
) filter | string non-empty Full text search query. |
code | Array of strings Partners codes list. PARTNERS dictionary. |
excludeCode | Array of strings List of partner codes that should be excluded from the result |
name | string Partner name |
status | string 1 characters Partner status code. GENERAL_STATUSES dictionary. |
promotionCode | Array of strings Promotion code associated with partners. TRANSACTION_RULES dictionary. |
sort | string Default: "id:ASC" Defines the sort order of the resulting list of objects.
|
firstResult | integer <int32> Default: 0 First item on the page. Indexed from 0. |
maxResults | integer <int32> Max count of items on the page. Default value is from the PROCESSING_DEFAULT_MAX_RESULTS system parameter. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "code": "string",
- "name": "string",
- "description": "string",
- "default": true,
- "logoFileId": "string",
- "status": "s",
- "statusName": "string"
}
]
}
Get partner data
any
) partnerCode required | string Target partner unique code |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "code": "string",
- "name": "string",
- "description": "string",
- "default": true,
- "logoFileId": "string",
- "status": "s",
- "statusName": "string"
}
Get list of configured locations.
Sortable by [name, code, status].
At least one of following request fields' sets is required:
any
) filter | string non-empty Full text search query. |
code | Array of strings List of location codes |
excludeCode | Array of strings List of location codes that should be excluded from the result |
partner | Array of strings List of partner's codes. PARTNERS dictionary. |
name | string Location name |
status | Array of strings Location statuses codes list. LOCATION_STATUSES dictionary. |
type | Array of strings Location types codes list. LOCATION_TYPES dictionary. |
address.filter | string Full text search query for location address. |
address.country | Array of strings Location country codes list. COUNTRIES dictionary. |
address.region | Array of strings Location region codes list. |
address.email | string Location e-mail list |
address.phone | string Stationary or mobile phone numbers of the location. |
rewardPOSDelivery | boolean Reward POS delivery flag. |
clickAndCollect | boolean Click and collect integration flag. |
sort | string Default: "id:ASC" Defines the sort order of the resulting list of objects.
|
firstResult | integer <int32> Default: 0 First item on the page. Indexed from 0. |
maxResults | integer <int32> Max count of items on the page. Default value is from the PROCESSING_DEFAULT_MAX_RESULTS system parameter. |
with | Array of strings Items Enum: "address" "geoPos" Appends to every response item additional content that is not appended by default to boost lists performance. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "id": 0,
- "code": "string",
- "name": "string",
- "description": "string",
- "partner": "string",
- "status": "s",
- "type": "stri",
- "partnerName": "string",
- "statusName": "string",
- "typeName": "string",
- "address": {
- "street": "string",
- "houseNumber": "string",
- "apartmentNumber": "string",
- "postalCode": "string",
- "city": "string",
- "region": "string",
- "country": "str",
- "email": "string",
- "mobile": "string",
- "additionalInfo": "string"
}, - "geoPos": {
- "latitude": 0,
- "longitude": 0
}, - "rewardPOSDelivery": true,
- "clickAndCollect": true
}
]
}
Get location details
any
) locationCode required | string Location unique code. LOCATIONS dictionary. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "id": 0,
- "code": "string",
- "name": "string",
- "description": "string",
- "partner": "string",
- "status": "s",
- "type": "stri",
- "partnerName": "string",
- "statusName": "string",
- "typeName": "string",
- "address": {
- "street": "string",
- "houseNumber": "string",
- "apartmentNumber": "string",
- "postalCode": "string",
- "city": "string",
- "region": "string",
- "country": "str",
- "email": "string",
- "mobile": "string",
- "additionalInfo": "string"
}, - "geoPos": {
- "latitude": 0,
- "longitude": 0
}, - "rewardPOSDelivery": true,
- "clickAndCollect": true,
- "lastModify": "2019-08-24T14:15:22Z"
}
Get list of configured point types.
Sortable by [code, name, transferable, adjustable].
any
) filter | string >= 3 characters Full text search query. |
code | Array of strings Point types codes list. |
name | string Point type name |
sort | string Default: "id:ASC" Defines the sort order of the resulting list of objects.
|
firstResult | integer <int32> Default: 0 First item on the page. Indexed from 0. |
maxResults | integer <int32> Max count of items on the page. Default value is from the PROCESSING_DEFAULT_MAX_RESULTS system parameter. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "id": 0,
- "code": "string",
- "name": "string",
- "description": "string",
- "transferable": true,
- "adjustable": true,
- "mainBalance": true
}
]
}
Get point type
any
) pointTypeCode required | string Point type code. POINT_TYPES dictionary. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "id": 0,
- "code": "string",
- "name": "string",
- "description": "string",
- "transferable": true,
- "adjustable": true,
- "expiryPeriod": "P1Y6M",
- "mainBalance": true
}
This set of method, is strictly related with loyalty program member and his data. You will find here all methods allowing you to manage the member from his enrollment, thru profile modification and update and closing the loyalty account. If you want to show member his loyalty card number/code and display data on the profile such as name or phone number you will use these methods.
Search for member profiles.
Note: for every account, customer or identifier matched, whole account structure with all members is returned.
any
) accountId | integer Unique account identifier |
excludeAccountId | integer Excluded account identifier |
pointsBalanceFrom | integer Points balance. Lower boundary, inclusive. |
pointsBalanceTo | integer Points balance. Upper boundary, inclusive. |
registrationDateFrom | string <date> Date since the registration was made. Inslusive. |
registrationDateTo | string <date> Date till the registration was made. Inslusive. |
status | string Account status code. ACCOUNT_STATUSES dictionary. |
statuses | Array of strings Account status code. ACCOUNT_STATUSES dictionary. |
customer.status | string Customer status code. CUSTOMER_STATUSES dictionary. |
customer.login | string Customer login |
customer.customerId | integer Unique customer identifier |
customer.accountId | integer Unique account identifier |
customer.birthDateFrom | string <date> Date since customer was born. Inslusive. |
customer.birthDateTo | string <date> Date till customer was born. Inslusive. |
customer.firstName | string First name of customer. |
customer.lastName | string First name of customer. |
customer.externalCustomerId | string External customer ID. |
customer.address.street | string Customer street |
customer.address.city | string Customer city |
customer.address.email | string Customer e-mail. Search is exact (=). |
customer.address.postalCode | string Customer postal code |
customer.address.phoneNumber | string Phone number of the customer. |
customer.attributes | string Allows search only by static attributes. Search is exact (=). When search by multiple attributes is performed they are joined with AND operator.
|
identifier.no | Array of strings Identifier number |
identifier.identifierTypeCode | Array of strings Identifier type code. IDENTIFIER_TYPES dictionary. |
identifier.firstTrnDateFrom | string <date> Date since first transaction was processed. Inslusive. |
identifier.firstTrnDateTo | string <date> Date till first transaction was processed. Inslusive. |
identifier.lastTrnDateFrom | string <date> Date since last transaction was processed. Inslusive. |
identifier.lastTrnDateTo | string <date> Date till last transaction was processed. Inslusive. |
firstResult | integer <int32> Default: 0 First item on the page. Indexed from 0. |
maxResults | integer <int32> Max count of items on the page. Default value is from the PROCESSING_DEFAULT_MAX_RESULTS system parameter. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "id": 0,
- "status": "string",
- "statusName": "string",
- "type": "string",
- "typeName": "string",
- "ownerCustomerId": 0,
- "customers": [
- {
- "systemData": {
- "customerId": 0,
- "mainIdentifier": "string"
}, - "profileData": {
- "firstName": "string",
- "lastName": "string"
}
}
], - "identifiers": [
- {
- "id": 0,
- "identifierNo": "string",
- "identifierTypeCode": "string",
- "status": "s",
- "statusName": "string",
- "redemptionEnabled": true,
- "customerId": 0,
- "firstTrnDate": "2019-08-24",
- "lastTrnDate": "2019-08-24"
}
]
}
]
}
Get member profile
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "predefinedAttributes": [
- {
- "code": "string",
- "value": "string"
}
], - "customAttributes": [
- {
- "code": "string",
- "value": "string"
}
], - "staticAttributes": {
- "customerId": 0,
- "accountId": 0,
- "balance": 0,
- "mobileId": "string",
- "mobileSystem": "string",
- "avatarImageId": "string",
- "loginBlocked": true,
- "externalIdentifiers": [
- {
- "externalId": "string",
- "type": "str",
- "typeName": "string"
}
], - "lastModify": "2019-08-24T14:15:22Z"
}, - "termsAcceptance": {
- "gdpr": {
- "personalDataProcessing": {
- "description": "string",
- "acceptanceLevel": "string",
- "currentVersion": 0,
- "acceptanceDeadline": "2019-08-24T14:15:22Z",
- "label": "string",
- "acceptedVersion": 0,
- "memberConsent": true,
- "currentVersionContent": {
- "contentFormat": "PDF",
- "content": "string",
- "contentFile": "string"
}, - "acceptanceDate": "2019-08-24"
}, - "personalDataProfiling": {
- "description": "string",
- "acceptanceLevel": "string",
- "currentVersion": 0,
- "acceptanceDeadline": "2019-08-24T14:15:22Z",
- "label": "string",
- "acceptedVersion": 0,
- "memberConsent": true,
- "currentVersionContent": {
- "contentFormat": "PDF",
- "content": "string",
- "contentFile": "string"
}, - "acceptanceDate": "2019-08-24"
}
}, - "loyalty": {
- "termsAndConditions": {
- "description": "string",
- "acceptanceLevel": "string",
- "currentVersion": 0,
- "acceptanceDeadline": "2019-08-24T14:15:22Z",
- "label": "string",
- "acceptedVersion": 0,
- "memberConsent": true,
- "currentVersionContent": {
- "contentFormat": "PDF",
- "content": "string",
- "contentFile": "string"
}, - "acceptanceDate": "2019-08-24"
}, - "communications": {
- "description": "string",
- "acceptanceLevel": "string",
- "label": "string",
- "memberConsent": true,
- "communicationChannels": [
- {
- "acceptanceDate": "2019-08-24",
- "code": "string",
- "name": "string"
}
]
}, - "thirdPartyCommunications": {
- "description": "string",
- "acceptanceLevel": "string",
- "label": "string",
- "memberConsent": true,
- "communicationChannels": [
- {
- "acceptanceDate": "2019-08-24",
- "code": "string",
- "name": "string"
}
]
}, - "marketingCommunications": {
- "description": "string",
- "acceptanceLevel": "string",
- "label": "string",
- "memberConsent": true,
- "communicationChannels": [
- {
- "acceptanceDate": "2019-08-24",
- "code": "string",
- "name": "string"
}
]
}
}
}
}
Update member profile.
Not provided data are cleared in the data storage.
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
Array of objects | |
Array of objects | |
object (types.StaticAttributes) |
{- "predefinedAttributes": [
- {
- "code": "string",
- "value": "string"
}
], - "customAttributes": [
- {
- "code": "string",
- "value": "string"
}
], - "staticAttributes": {
- "mobileId": "string",
- "mobileSystem": "string",
- "avatarImageId": "string",
- "externalIdentifiers": [
- {
- "externalId": "string",
- "type": "str"
}
], - "lastModify": "2019-08-24T14:15:22Z"
}
}
{- "error": "VALIDATION_ERROR",
- "message": "Validation error: Constraint violations",
- "method": "PUT",
- "path": "/profile/customers/12345",
- "correlationId": "1505219765216595",
- "status": 400,
- "timestamp": "2017-09-12T12:36:05.217Z",
- "violations": [
- {
- "error": "CONSTRAINT_NOT_EMPTY",
- "message": "Empty value not allowed",
- "path": "arg1.address.street"
}
]
}
Modify member profile.
Not provided data are not overwritten in the data storage.
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
Array of objects | |
Array of objects | |
object (types.StaticAttributes) |
{- "predefinedAttributes": [
- {
- "code": "string",
- "value": "string"
}
], - "customAttributes": [
- {
- "code": "string",
- "value": "string"
}
], - "staticAttributes": {
- "mobileId": "string",
- "mobileSystem": "string",
- "avatarImageId": "string",
- "externalIdentifiers": [
- {
- "externalId": "string",
- "type": "str"
}
], - "lastModify": "2019-08-24T14:15:22Z"
}
}
{- "error": "VALIDATION_ERROR",
- "message": "Validation error: Constraint violations",
- "method": "PUT",
- "path": "/profile/customers/12345",
- "correlationId": "1505219765216595",
- "status": 400,
- "timestamp": "2017-09-12T12:36:05.217Z",
- "violations": [
- {
- "error": "CONSTRAINT_NOT_EMPTY",
- "message": "Empty value not allowed",
- "path": "arg1.address.street"
}
]
}
Get Terms and Conditions Policy.
any
) Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "gdpr": {
- "personalDataProcessing": {
- "description": "string",
- "acceptanceLevel": "string",
- "currentVersion": 0,
- "acceptanceDeadline": "2019-08-24T14:15:22Z",
- "label": "string",
- "currentVersionContent": {
- "contentFormat": "PDF",
- "content": "string",
- "contentFile": "string"
}
}, - "personalDataProfiling": {
- "description": "string",
- "acceptanceLevel": "string",
- "currentVersion": 0,
- "acceptanceDeadline": "2019-08-24T14:15:22Z",
- "label": "string",
- "currentVersionContent": {
- "contentFormat": "PDF",
- "content": "string",
- "contentFile": "string"
}
}
}, - "loyalty": {
- "termsAndConditions": {
- "description": "string",
- "acceptanceLevel": "string",
- "currentVersion": 0,
- "acceptanceDeadline": "2019-08-24T14:15:22Z",
- "label": "string",
- "currentVersionContent": {
- "contentFormat": "PDF",
- "content": "string",
- "contentFile": "string"
}
}, - "communications": {
- "description": "string",
- "acceptanceLevel": "string",
- "label": "string",
- "communicationChannels": [
- {
- "code": "string",
- "name": "string"
}
]
}, - "thirdPartyCommunications": {
- "description": "string",
- "acceptanceLevel": "string",
- "label": "string",
- "communicationChannels": [
- {
- "code": "string",
- "name": "string"
}
]
}, - "marketingCommunications": {
- "description": "string",
- "acceptanceLevel": "string",
- "label": "string",
- "communicationChannels": [
- {
- "code": "string",
- "name": "string"
}
]
}
}
}
Get details of recently accepted Terms and Conditions Policy and info about acceptance.
target required | string Target unique id of loyalty identifier. Constructed as following: |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "gdpr": {
- "personalDataProcessing": {
- "description": "string",
- "acceptanceLevel": "string",
- "currentVersion": 0,
- "acceptanceDeadline": "2019-08-24T14:15:22Z",
- "label": "string",
- "acceptedVersion": 0,
- "memberConsent": true,
- "currentVersionContent": {
- "contentFormat": "PDF",
- "content": "string",
- "contentFile": "string"
}, - "acceptanceDate": "2019-08-24"
}, - "personalDataProfiling": {
- "description": "string",
- "acceptanceLevel": "string",
- "currentVersion": 0,
- "acceptanceDeadline": "2019-08-24T14:15:22Z",
- "label": "string",
- "acceptedVersion": 0,
- "memberConsent": true,
- "currentVersionContent": {
- "contentFormat": "PDF",
- "content": "string",
- "contentFile": "string"
}, - "acceptanceDate": "2019-08-24"
}
}, - "loyalty": {
- "termsAndConditions": {
- "description": "string",
- "acceptanceLevel": "string",
- "currentVersion": 0,
- "acceptanceDeadline": "2019-08-24T14:15:22Z",
- "label": "string",
- "acceptedVersion": 0,
- "memberConsent": true,
- "currentVersionContent": {
- "contentFormat": "PDF",
- "content": "string",
- "contentFile": "string"
}, - "acceptanceDate": "2019-08-24"
}, - "communications": {
- "description": "string",
- "acceptanceLevel": "string",
- "label": "string",
- "memberConsent": true,
- "communicationChannels": [
- {
- "acceptanceDate": "2019-08-24",
- "code": "string",
- "name": "string"
}
]
}, - "thirdPartyCommunications": {
- "description": "string",
- "acceptanceLevel": "string",
- "label": "string",
- "memberConsent": true,
- "communicationChannels": [
- {
- "acceptanceDate": "2019-08-24",
- "code": "string",
- "name": "string"
}
]
}, - "marketingCommunications": {
- "description": "string",
- "acceptanceLevel": "string",
- "label": "string",
- "memberConsent": true,
- "communicationChannels": [
- {
- "acceptanceDate": "2019-08-24",
- "code": "string",
- "name": "string"
}
]
}
}
}
Accept Terms and Conditions Policy.
Current version of policy is accepted with current date and time.
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
object | |
object |
{- "gdpr": {
- "personalDataProcessing": {
- "memberConsent": true,
- "acceptedVersion": 0
}, - "personalDataProfiling": {
- "memberConsent": true,
- "acceptedVersion": 0
}
}, - "loyalty": {
- "termsAndConditions": {
- "memberConsent": true,
- "acceptedVersion": 0
}, - "communications": {
- "memberConsent": true,
- "communicationChannels": [
- {
- "code": "string"
}
]
}, - "thirdPartyCommunications": {
- "memberConsent": true,
- "communicationChannels": [
- {
- "code": "string"
}
]
}, - "marketingCommunications": {
- "memberConsent": true,
- "communicationChannels": [
- {
- "code": "string"
}
]
}
}
}
{- "error": "VALIDATION_ERROR",
- "message": "Validation error: Constraint violations",
- "method": "PUT",
- "path": "/profile/customers/12345",
- "correlationId": "1505219765216595",
- "status": 400,
- "timestamp": "2017-09-12T12:36:05.217Z",
- "violations": [
- {
- "error": "CONSTRAINT_NOT_EMPTY",
- "message": "Empty value not allowed",
- "path": "arg1.address.street"
}
]
}
Accept Terms and Conditions Policy.
Current version of policy is accepted with current date and time.
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
object | |
object |
{- "gdpr": {
- "personalDataProcessing": {
- "memberConsent": true,
- "acceptedVersion": 0
}, - "personalDataProfiling": {
- "memberConsent": true,
- "acceptedVersion": 0
}
}, - "loyalty": {
- "termsAndConditions": {
- "memberConsent": true,
- "acceptedVersion": 0
}, - "communications": {
- "memberConsent": true,
- "communicationChannels": [
- {
- "code": "string"
}
]
}, - "thirdPartyCommunications": {
- "memberConsent": true,
- "communicationChannels": [
- {
- "code": "string"
}
]
}, - "marketingCommunications": {
- "memberConsent": true,
- "communicationChannels": [
- {
- "code": "string"
}
]
}
}
}
{- "error": "VALIDATION_ERROR",
- "message": "Validation error: Constraint violations",
- "method": "PUT",
- "path": "/profile/customers/12345",
- "correlationId": "1505219765216595",
- "status": 400,
- "timestamp": "2017-09-12T12:36:05.217Z",
- "violations": [
- {
- "error": "CONSTRAINT_NOT_EMPTY",
- "message": "Empty value not allowed",
- "path": "arg1.address.street"
}
]
}
Enrolls new member with lists of predefined and custom attributes.
any
) Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
Array of objects | |
Array of objects | |
required | object (types.StaticAttributesEnrollment) |
required | object (types.TaCMemberCreateUpdate) |
{- "predefinedAttributes": [
- {
- "code": "string",
- "value": "string"
}
], - "customAttributes": [
- {
- "code": "string",
- "value": "string"
}
], - "staticAttributes": {
- "externalIdentifiers": [
- {
- "externalId": "string",
- "type": "str"
}
]
}, - "termsAcceptance": {
- "gdpr": {
- "personalDataProcessing": {
- "memberConsent": true,
- "acceptedVersion": 0
}, - "personalDataProfiling": {
- "memberConsent": true,
- "acceptedVersion": 0
}
}, - "loyalty": {
- "termsAndConditions": {
- "memberConsent": true,
- "acceptedVersion": 0
}, - "communications": {
- "memberConsent": true,
- "communicationChannels": [
- {
- "code": "string"
}
]
}, - "thirdPartyCommunications": {
- "memberConsent": true,
- "communicationChannels": [
- {
- "code": "string"
}
]
}, - "marketingCommunications": {
- "memberConsent": true,
- "communicationChannels": [
- {
- "code": "string"
}
]
}
}
}
}
{- "predefinedAttributes": [
- {
- "code": "string",
- "value": "string"
}
], - "staticAttributes": {
- "customerId": 0
}
}
Migrate new member with regular input data required without consent validation.
any
) Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
Array of objects | |
Array of objects | |
object (types.TaCMemberCreateUpdateForMigration) | |
object (types.StaticAttributesEnrollment) |
{- "predefinedAttributes": [
- {
- "code": "string",
- "value": "string"
}
], - "customAttributes": [
- {
- "code": "string",
- "value": "string"
}
], - "termsAcceptance": {
- "gdpr": {
- "personalDataProcessing": {
- "memberConsent": true
}, - "personalDataProfiling": {
- "memberConsent": true
}
}, - "loyalty": {
- "termsAndConditions": {
- "memberConsent": true
}, - "communications": {
- "memberConsent": true,
- "communicationChannels": [
- {
- "code": "string"
}
]
}, - "thirdPartyCommunications": {
- "memberConsent": true,
- "communicationChannels": [
- {
- "code": "string"
}
]
}, - "marketingCommunications": {
- "memberConsent": true,
- "communicationChannels": [
- {
- "code": "string"
}
]
}
}
}, - "staticAttributes": {
- "externalIdentifiers": [
- {
- "externalId": "string",
- "type": "str"
}
]
}
}
{- "predefinedAttributes": [
- {
- "code": "string",
- "value": "string"
}
], - "staticAttributes": {
- "customerId": 0
}
}
Close customer or close due to fraud.
Operation is irrevertible.
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
fraud | boolean Indicates if customer is closed due to a fraud |
reason required | string <= 1000 characters Reason for closing the customer |
{- "fraud": true,
- "reason": "Fraud attempt"
}
{- "error": "REWARDS_MASS_REMOVAL_FAILED",
- "message": "Cannot remove group of rewards",
- "method": "POST",
- "path": "/rewards/remove",
- "correlationId": "1505219765216595",
- "status": 500,
- "timestamp": "2017-09-12T12:36:05.217Z"
}
Block customer.
Blocked customer has no transactional abilities. For blocking customer's login ability see Block login operation.
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
reason required | string <= 1000 characters Reason for blocking the customer |
{- "reason": "string"
}
{- "error": "REWARDS_MASS_REMOVAL_FAILED",
- "message": "Cannot remove group of rewards",
- "method": "POST",
- "path": "/rewards/remove",
- "correlationId": "1505219765216595",
- "status": 500,
- "timestamp": "2017-09-12T12:36:05.217Z"
}
Unblock customer
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "error": "REWARDS_MASS_REMOVAL_FAILED",
- "message": "Cannot remove group of rewards",
- "method": "POST",
- "path": "/rewards/remove",
- "correlationId": "1505219765216595",
- "status": 500,
- "timestamp": "2017-09-12T12:36:05.217Z"
}
Get identifier details
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "identifierNo": "string",
- "identifierTypeCode": "string",
- "identifierTypeName": "string",
- "status": "s",
- "statusName": "string",
- "main": true,
- "assignmentDate": "2019-08-24",
- "visualMode": "BC",
- "blockedReason": "string",
- "blockedByUserId": 0,
- "firstTrnDate": "2019-08-24",
- "lastTrnDate": "2019-08-24",
- "lastModify": "2019-08-24T14:15:22Z"
}
Feeding the System with the transactional data is one point, but this one is the different one. Members like to browse thru transaction history and checking number of added points. Each on them is stored in the System with an unique identifier so you can display all it details. By using member balance request you can know and display the current points balance based on the provided member identifier.
Get member points balance.
Returns breakdown of all points.
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "member": {
- "customerLogin": "string",
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0,
- "balanceUpdateDate": "2019-08-24T14:15:22Z",
- "mainBalance": true,
- "pointsWithDelayed": 0,
- "delayedPoints": [
- {
- "points": 0,
- "bookDate": "2019-08-24T14:15:22Z"
}
]
}
]
}
}
Get list of member transactions.
Sortable by [transactionId, identifierNo, date, type, points, status, channel, partner, trnNo, location].
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
id | integer Unique transaction identifier |
identifierNo | string Loyalty identifier which identifies the customer on which operation will be processed. |
type | Array of strings Transactions types codes. TRANSACTION_TYPES dictionary. |
status | Array of strings Transactions statuses codes. TRANSACTION_STATUSES dictionary. |
channel | Array of strings Transactions channels codes. TRANSACTION_CHANNELS dictionary. |
partner | string Code of the partner that participated in the transactions. PARTNERS dictionary. |
location | string Code of the location in which the transactions where processed. LOCATIONS dictionary. |
trnNo | string Identifier of the transaction in the partners' external systems. |
dateFrom | string <date> Transaction date lower boundary. Inclusive. |
dateTo | string <date> Transaction date upper boundary. Inclusive. |
attributes | string Allows search only by static attributes. Search is exact (=). When search by multiple attributes is performed they are joined with AND operator.
DateTime and Date attributes must be sent with a time zones:
|
with | Array of strings Items Enum: "attributes" "products" "triggeredRules" Appends to every response item additional content that is not appended by default to boost lists performance. |
sort | string Default: "date:DESC" Defines the sort order of the resulting list of objects.
|
firstResult | integer <int32> Default: 0 First item on the page. Indexed from 0. |
maxResults | integer <int32> Max count of items on the page. Default value is from the PROCESSING_DEFAULT_MAX_RESULTS system parameter. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "transactionId": 0,
- "customerLogin": "string",
- "identifierId": 0,
- "identifierNo": "string",
- "date": "2019-08-24T14:15:22Z",
- "type": "st",
- "typeName": "string",
- "status": "s",
- "statusName": "string",
- "channel": "s",
- "channelName": "string",
- "partner": "string",
- "partnerName": "string",
- "location": "string",
- "locationName": "string",
- "trnNo": "string",
- "basicPoints": 0,
- "basicPointsTypeName": "string",
- "cashierId": "string",
- "products": [
- {
- "code": "string",
- "name": "string",
- "domain": "P",
- "quantity": 0.01,
- "externalCode": "string",
- "value": 0,
- "discountedValue": 0,
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}
], - "triggeredRules": [
- {
- "code": "string",
- "name": "string",
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
], - "discount": 0
}
], - "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
], - "attributes": [
- {
- "code": "string",
- "value": "string"
}
]
}
]
}
Get list of points expiration forecast.
Sortable by [expirationDate].
Default sort: expirationDate:ASC.
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
pointType | string Point type code. POINT_TYPES dictionary. |
expirationDateFrom | string <date> Points expiration date - lower limit. Inclusive. |
expirationDateTo | string <date> Points expiration date - upper limit. Inclusive. |
sort | string Default: "id:ASC" Defines the sort order of the resulting list of objects.
|
firstResult | integer <int32> Default: 0 First item on the page. Indexed from 0. |
maxResults | integer <int32> Max count of items on the page. Default value is from the PROCESSING_DEFAULT_MAX_RESULTS system parameter. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "customerId": 0,
- "pointType": "string",
- "points": 0,
- "expirationDate": "2019-08-24",
- "scheduledPointsExpirationDate": "2019-08-24",
- "rollingPeriodPointsExpirationDate": "2019-08-24"
}
]
}
Get transaction details.
Transaction results depend on transaction type and system configuration.
any
) transactionId required | integer Transaction internal unique identifier |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "transactionId": 0,
- "customerLogin": "string",
- "identifierId": 0,
- "identifierNo": "string",
- "date": "2019-08-24T14:15:22Z",
- "type": "st",
- "typeName": "string",
- "status": "s",
- "statusName": "string",
- "channel": "s",
- "channelName": "string",
- "partner": "string",
- "partnerName": "string",
- "location": "string",
- "locationName": "string",
- "trnNo": "string",
- "basicPoints": 0,
- "basicPointsTypeName": "string",
- "cashierId": "string",
- "accountId": 0,
- "customerId": 0,
- "delayedBasicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0,
- "status": "s",
- "statusName": "string",
- "expirationDate": "2019-08-24"
}
], - "delayedPoints": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0,
- "status": "s",
- "statusName": "string",
- "expirationDate": "2019-08-24"
}
], - "incentiveValue": 0,
- "discountValue": 0,
- "shared": true,
- "genericEvent": true,
- "correctionReasonCode": "string",
- "processDate": "2019-08-24T14:15:22Z",
- "confirmationDate": "2019-08-24T14:15:22Z",
- "comment": "string",
- "files": [
- {
- "fileId": "string",
- "fileName": "string"
}
], - "createdBy": "string",
- "triggeredRules": [
- {
- "code": "string",
- "name": "string",
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
], - "discount": 0
}
], - "issuedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
]
}
], - "burnedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "useDetails": {
- "useResult": "s",
- "useResultName": "string",
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
], - "refundedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
], - "useDetails": {
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
], - "products": [
- {
- "code": "string",
- "name": "string",
- "domain": "P",
- "quantity": 0.01,
- "externalCode": "string",
- "value": 0,
- "discountedValue": 0,
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}
], - "attributes": [
- {
- "code": "string",
- "value": "string",
- "name": "string",
- "description": "string"
}
], - "paymentMethods": [
- {
- "paymentMethod": "string",
- "paymentMethodName": "string"
}
]
}
This set of methods also works in both ways – you can display generic info about all active and configured coupons in your program and, on the other hand you can show individual coupons dedicated to member and assign to his loyalty identifier. Member can find the names, validity dates, value and code of the coupon on his account.
Get list of member regular coupons available at the moment of operation execution.
Sortable by [id, couponTypeCode, couponNumber, issuanceDate, validityStartDate, expiryDate].
Note that there may exist multiple coupons with same couponNumber belonging to different or same customers.
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
filter | string >= 3 characters Full text search query. |
couponTypeCode | Array of strings Coupon type codes list. CLOUD_COUPON_TYPES dictionary. |
couponNumber | Array of strings Coupon numbers list |
deliveryChannelCode | Array of strings Coupon delivery channels codes list. COUPON_DELIVERY_CHANNELS dictionary. |
expiryDateFrom | string <date> Coupon expiration date - lower limit. Inclusive. |
expiryDateTo | string <date> Coupon expiration date - upper limit. Inclusive. |
applicableForShopify | boolean When true returns only coupons applicable to integration with Shopify, when false returns all. |
sort | string Default: "issuanceDate:DESC, expiryDate:ASC" Defines the sort order of the resulting list of objects.
|
firstResult | integer <int32> Default: 0 First item on the page. Indexed from 0. |
maxResults | integer <int32> Max count of items on the page. Default value is from the PROCESSING_DEFAULT_MAX_RESULTS system parameter. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "id": 0,
- "customerId": 0,
- "customerLogin": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "deliveryChannels": {
- "pos": {
- "marketingText": "string"
}, - "email": {
- "marketingText": "string"
}, - "sms": {
- "marketingText": "string"
}, - "webapp": {
- "marketingText": "string"
}, - "mobileapp": {
- "marketingText": "string"
}
}, - "couponTypeLargeImageId": "string",
- "couponTypeSmallImageId": "string",
- "tags": [
- "string"
], - "couponNumber": "string",
- "visualModes": [
- "BC"
], - "issuanceDate": "2019-08-24T14:15:22Z",
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24",
- "status": "s",
- "statusName": "string",
- "useQuantity": 0,
- "burnQuantity": 0,
- "refundQuantity": 0,
- "distributionMode": "string",
- "distributionModeName": "string",
- "issuedByPromotion": 0,
- "issuedByTransaction": 0,
- "discount": 0.01,
- "discountPercentage": 0,
- "interactive": true,
- "incentiveTarget": "T"
}
]
}
Get list of wide audience campaigns which are currently active in the current time period.
It returns active coupons with the Mass campaign type,
when identifierNo is not provided are visible only coupons for non-logged in users (i.e. broadcast = true).
Sortable by [code, name, distributionMode].
any
) filter | string >= 3 characters Full text search query. |
code | Array of strings List of coupon type codes. CLOUD_COUPON_TYPES dictionary. |
excludeCode | Array of strings List of coupon types codes that should be excluded from the result. CLOUD_COUPON_TYPES dictionary. |
deliveryChannelCode | Array of strings Codes of coupon delivery channels. COUPON_DELIVERY_CHANNELS dictionary. |
deliveryStartDateFrom | string <date> Coupon earliest delivery start date - lower limit. Inclusive. |
deliveryStartDateTo | string <date> Coupon earliest delivery start date - upper limit. Inclusive. |
validityEndDateFrom | string <date> Coupon validity end date - lower limit. Inclusive. |
validityEndDateTo | string <date> Coupon validity end date - upper limit. Inclusive. |
tags | Array of strings Coupon type tags. |
identifierNo | string Loyalty identifier on which operation will be processed. |
sort | string Default: "id:ASC" Defines the sort order of the resulting list of objects.
|
firstResult | integer <int32> Default: 0 First item on the page. Indexed from 0. |
maxResults | integer <int32> Max count of items on the page. Default value is from the PROCESSING_DEFAULT_MAX_RESULTS system parameter. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "code": "string",
- "name": "string",
- "externalName": "string",
- "externalDescription": "string",
- "status": "s",
- "statusName": "string",
- "distributionMode": "string",
- "distributionModeName": "string",
- "delivery": {
- "channels": [
- {
- "code": "string",
- "name": "string"
}
], - "segments": [
- {
- "code": "string",
- "name": "string",
- "type": "s",
- "assignMode": "I",
- "size": 0
}
], - "broadcast": true
}, - "useQuantity": 0,
- "validityPeriod": {
- "from": "2019-08-24",
- "to": "2019-08-24"
}, - "largeImageId": "string",
- "smallImageId": "string",
- "tags": [
- "string"
], - "discount": 0.01,
- "discountPercentage": 0,
- "couponNumber": "string",
- "visualModes": [
- "BC"
], - "interactive": true,
- "interactionData": {
- "interactionType": "string",
- "interactiveText": "string",
- "coverColor": "string",
- "coverText": "string"
}, - "incentiveTarget": "T"
}
]
}
Get coupon type generic details
any
) couponTypeCode required | string Target coupon type code |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "code": "string",
- "name": "string",
- "externalName": "string",
- "externalDescription": "string",
- "status": "s",
- "statusName": "string",
- "distributionMode": "string",
- "distributionModeName": "string",
- "description": "string",
- "usageMode": "string",
- "usageModeName": "string",
- "distributionModeData": {
- "couponNumber": "string",
- "validityPeriod": {
- "from": "2019-08-24",
- "to": "2019-08-24"
}, - "useQuantity": 0,
- "visualModes": [
- "BC"
]
}, - "interactive": true,
- "interactionData": {
- "interactionType": "string",
- "interactiveText": "string",
- "coverColor": "string",
- "coverText": "string"
}, - "largeImageId": "string",
- "smallImageId": "string",
- "tagsI18N": {
- "value": [
- "string"
], - "i18n": [
- {
- "langCode": "string",
- "value": [
- "string"
]
}
]
}, - "lastModify": "2019-08-24T14:15:22Z"
}
Get list of coupon numbers status.
Exactly one of the following request fields is required:
any
) couponNumber | Array of strings Coupon numbers list |
identifierId | integer Unique id of identifier of the customer who is coupon owner. |
identifierNo | string Identifier number of the customer who is coupon owner. |
firstResult | integer <int32> Default: 0 First item on the page. Indexed from 0. |
maxResults | integer <int32> Max count of items on the page. Default value is from the PROCESSING_DEFAULT_MAX_RESULTS system parameter. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "couponInfo": {
- "issuanceDate": "2019-08-24T14:15:22Z",
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24",
- "status": "s",
- "statusName": "string",
- "useQuantity": 0,
- "burnQuantity": 0,
- "refundQuantity": 0
}, - "couponNumber": "string",
- "couponTypeInfo": {
- "code": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "status": "s",
- "statusName": "string",
- "usageMode": "string",
- "usageModeName": "string",
- "visualModes": [
- "BC"
]
}
}
]
}
By these methods you will feed the System with the transactional data. Transaction date, value or purchased products or used coupon are used in the loyalty program to give points or issue new coupon based on configured promotions. From business perspective returns are also needed, in this case the number of previously issued points is deducted. You can use them also in Simulate mode to check the effect.
Process or simulate sale transaction on identifier level.
Accrues points basing on basket items.
Exactly one of the following query parameters is required:
any
) identifierId | integer Unique id of the loyalty identifier on which operation will be processed. |
identifierNo | string Loyalty identifier on which operation will be processed. |
externalCustomerId | string Id assigned in external system to the customer on which operation will be processed. |
externalType | string Code of type used to identify which external system is the owner of externalCustomerId. EXTERNAL_IDENTIFIER_TYPES dictionary. |
simulate | boolean Default: false True enable simulation mode. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
partner required | string <= 10 characters Partner code from PARTNERS dictionary. |
trnNo | string <= 100 characters Partner transaction number |
location | string <= 10 characters Code of partner's location from LOCATIONS dictionary. |
date | string <date-time> Transaction date. |
totalValue | number <double (2 decimal digits)> >= 0.01 Total value as given by the POS system, may be different from the basket amount. |
maxTotalValue | number <double (2 decimal digits)> >= 0 Max total value of sale request. When provided, result of subtraction of discountValue from totalValue is validated. |
currencyCode | string <= 3 characters Code of currency with which purchase is paid. |
Array of objects (types.CouponBurnRequest) non-empty Coupons which have been burned in the transaction. | |
Array of objects (types.SaleRequestBasketItem) List of products in basket. | |
comment | string <= 400 characters Transaction comment |
paymentMethods | string <= 100 characters List of payment method codes separated by comma. PAYMENT_METHODS dictionary . |
cashierId | string <= 100 characters Cashier identifier in external system |
Array of objects List of transaction attributes. |
{- "partner": "PRT",
- "trnNo": 34234234,
- "location": "EE",
- "date": "2019-08-24T14:15:22Z",
- "totalValue": 0,
- "maxTotalValue": 0,
- "currencyCode": "USD",
- "coupons": [
- {
- "couponNumbers": [
- "000000000000030254",
- "000000000000030064"
], - "quantity": 1
}
], - "products": [
- {
- "code": "BonusCard",
- "quantity": 1,
- "value": 23,
- "discountedValue": 20
}
], - "comment": "Sale transaction with products and coupons",
- "paymentMethods": "UNK",
- "cashierId": 351235,
- "attributes": [
- {
- "code": "ATTRT",
- "value": "value"
}
]
}
{- "transactionId": 0,
- "status": "s",
- "statusName": "string",
- "orderId": 0,
- "transactionPoints": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "memberBalance": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "incentiveValue": 0,
- "productsDiscountValue": 0,
- "billDiscountValue": 0,
- "discountValue": 0,
- "paymentValue": 0,
- "messages": [
- "string"
], - "products": [
- {
- "code": "string",
- "externalCode": "string",
- "quantity": 0,
- "discountValue": 0,
- "paymentValue": 0,
- "discountPromotions": [
- {
- "code": "string",
- "externalName": "string",
- "discountValue": 0
}
]
}
], - "billDiscountPromotions": [
- {
- "code": "string",
- "externalName": "string",
- "discountValue": 0
}
], - "issuedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
]
}
], - "burnedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "useDetails": {
- "useResult": "s",
- "useResultName": "string",
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
], - "refundedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
], - "useDetails": {
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
]
}
Process products return transaction on identifier level.
Cancels accrued points basing on returned products basket.
Exactly one of the following query parameters is required:
any
) identifierId | integer Unique id of the loyalty identifier on which operation will be processed. |
identifierNo | string Loyalty identifier on which operation will be processed. |
externalCustomerId | string Id assigned in external system to the customer on which operation will be processed. |
externalType | string Code of type used to identify which external system is the owner of externalCustomerId. EXTERNAL_IDENTIFIER_TYPES dictionary. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
partner required | string <= 10 characters Partner code. PARTNERS dictionary. |
location | string <= 10 characters Partner's location code. |
required | Array of objects (types.SaleReturnBasketItem) List of products to return. |
comment | string <= 400 characters Transaction comment |
cashierId | string <= 100 characters Cashier identifier in external system |
{- "partner": "string",
- "location": "string",
- "products": [
- {
- "code": "string",
- "productVariantCode": "string",
- "quantity": 0,
- "value": 0
}
], - "comment": "string",
- "cashierId": "string"
}
{- "transactionId": 0,
- "status": "s",
- "statusName": "string",
- "orderId": 0,
- "transactionPoints": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "memberBalance": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "incentiveValue": 0,
- "productsDiscountValue": 0,
- "billDiscountValue": 0,
- "discountValue": 0,
- "paymentValue": 0,
- "messages": [
- "string"
], - "products": [
- {
- "code": "string",
- "externalCode": "string",
- "quantity": 0,
- "discountValue": 0,
- "paymentValue": 0,
- "discountPromotions": [
- {
- "code": "string",
- "externalName": "string",
- "discountValue": 0
}
]
}
], - "billDiscountPromotions": [
- {
- "code": "string",
- "externalName": "string",
- "discountValue": 0
}
], - "issuedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
]
}
], - "burnedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "useDetails": {
- "useResult": "s",
- "useResultName": "string",
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
], - "refundedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
], - "useDetails": {
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
]
}
Process products return transaction on identifier level.
Cancels accrued points basing on returned products basket.
Refers to the original transaction. Identifier number is taken from the original transaction.
At least one of request body parameters [products, totalValue] is required.
any
) transactionId required | integer Transaction internal unique identifier |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
partner required | string <= 10 characters Original transaction partner code |
processMode | string <= 1 characters Default: "C" Value: "C" Processing mode:
|
location | string <= 10 characters Partner's location code. |
Array of objects (types.SaleReturnWithTransactionBasketItem) List of products to return. | |
comment | string <= 400 characters Transaction comment |
totalValue | number <double (2 decimal digits)> Transaction total value |
cashierId | string <= 100 characters Cashier identifier in external system |
{- "partner": "string",
- "processMode": "C",
- "location": "string",
- "products": [
- {
- "code": "string",
- "productVariantCode": "string",
- "quantity": 0
}
], - "comment": "string",
- "totalValue": 0,
- "cashierId": "string"
}
{- "transactionId": 0,
- "status": "s",
- "statusName": "string",
- "orderId": 0,
- "transactionPoints": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "memberBalance": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "incentiveValue": 0,
- "productsDiscountValue": 0,
- "billDiscountValue": 0,
- "discountValue": 0,
- "paymentValue": 0,
- "messages": [
- "string"
], - "products": [
- {
- "code": "string",
- "externalCode": "string",
- "quantity": 0,
- "discountValue": 0,
- "paymentValue": 0,
- "discountPromotions": [
- {
- "code": "string",
- "externalName": "string",
- "discountValue": 0
}
]
}
], - "billDiscountPromotions": [
- {
- "code": "string",
- "externalName": "string",
- "discountValue": 0
}
], - "issuedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
]
}
], - "burnedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "useDetails": {
- "useResult": "s",
- "useResultName": "string",
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
], - "refundedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
], - "useDetails": {
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
]
}
Browsing thru rewards with colorful images, checking their price in points and availability – that's one of the most frequent member activity in the program. You can display whole catalog with many details to show the attractiveness of your program.
Get list of reward categories.
Sortable by [code, name, description, parentCategory, categoryOrder].
any
) filter | string >= 3 characters Full text search query. |
code | Array of strings List of reward category codes. REWARD_CATEGORIES dictionary. |
name | string Reward category name. |
description | string Reward category description. |
parentCategory | Array of strings List of associated upper level categories codes. REWARD_CATEGORIES dictionary. |
root | boolean When true returns only root level categories, when false returns all categories. |
sort | string Default: "id:ASC" Defines the sort order of the resulting list of objects.
|
firstResult | integer <int32> Default: 0 First item on the page. Indexed from 0. |
maxResults | integer <int32> Max count of items on the page. Default value is from the PROCESSING_DEFAULT_MAX_RESULTS system parameter. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "code": "string",
- "name": "string",
- "externalName": "string",
- "parentCategory": "string",
- "description": "string",
- "externalDescription": "string",
- "shortDescription": "string",
- "imageId": "string",
- "parentCategoryName": "string",
- "categoryOrder": 0
}
]
}
Get list of rewards.
Sortable by [code, name, categoryOrder, auditCD, pricePlan.points, type, status, startDate, endDate].
Sorting by pricePlan.points uses the default system point type by default, the pricePlan.pointType filter can be used to specify the desired one.
any
) filter | string >= 3 characters Full text search query. |
externalFilter | string >= 3 characters Full text search query for external fields. |
code | Array of strings List of reward codes. REWARDS dictionary. |
internalName | string Reward name |
category | Array of strings List of category codes of the reward. REWARD_CATEGORIES dictionary.
|
masterCategory | Array of strings List of category codes of the reward. REWARD_CATEGORIES dictionary. |
type | Array of strings List of reward type codes. REWARD_TYPES dictionary. |
status | Array of strings List of reward statuses. REWARD_STATUSES dictionary. |
startDateFrom | string <date> Reward availability start date - lower limit. Inclusive. |
startDateTo | string <date> Reward availability start date - upper limit. Inclusive. |
endDateFrom | string <date> Reward availability end date - lower limit. Inclusive. |
endDateTo | string <date> Reward availability end date - upper limit. Inclusive. |
period | string Enum: "D" "W" "M" "Y" Convenience way for defining reward availability date range.
|
partner | Array of strings Codes of reward partners. PARTNERS dictionary. |
segments | Array of strings List of segments assigned to reward. |
unlimitedQuantity | boolean Filter rewards which availability is limited due to targeting and segmentation or those which are available to any member. |
pricePlan.code | Array of strings List of reward price plan codes |
pricePlan.channel | Array of strings List of reward price plan channel codes. REWARD_ORDER_CHANNELS dictionary. |
pricePlan.pointsFrom | integer Minimum price plan points - lower boundary, inclusive. Minimum amount of points that customer is willing to pay for reward. |
pricePlan.pointsTo | integer Maximum price plan points - upper boundary, inclusive. Maximum amount of points that customer is willing to pay for reward. |
pricePlan.pointType | Array of strings Price plan related point type codes. POINT_TYPES dictionary. |
pricePlan.startDateFrom | string <date> Reward price plan availability start date - lower limit. Inclusive. |
pricePlan.startDateTo | string <date> Reward price plan availability start date - upper limit. Inclusive. |
pricePlan.endDateFrom | string <date> Reward price plan availability end date - lower limit. Inclusive. |
pricePlan.endDateTo | string <date> Reward price plan availability end date - upper limit. Inclusive. |
pricePlan.period | string Enum: "D" "W" "M" "Y" Convenience way for defining reward price plan availability date range.
|
availableToCustomerId | integer Id of customer. |
sort | string Default: "id:ASC" Defines the sort order of the resulting list of objects.
|
firstResult | integer <int32> Default: 0 First item on the page. Indexed from 0. |
maxResults | integer <int32> Max count of items on the page. Default value is from the PROCESSING_DEFAULT_MAX_RESULTS system parameter. |
with | Array of strings Items Enum: "pricePlans" "segments" "resources" "supplier" Appends to every response item additional content that is not appended by default to boost lists performance. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "code": "string",
- "externalName": "string",
- "status": "s",
- "type": "s",
- "category": "string",
- "categoryOrder": 0,
- "masterCategory": "string",
- "partner": "string",
- "partnerName": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "statusName": "string",
- "typeName": "string",
- "categoryName": "string",
- "masterCategoryName": "string",
- "supplier": "string",
- "rewardSupplier": {
- "code": "string",
- "name": "string",
- "status": "s",
- "statusName": "string",
- "address": {
- "street": "string",
- "houseNumber": "string",
- "apartmentNumber": "string",
- "postalCode": "string",
- "city": "string",
- "region": "string",
- "country": "str",
- "email": "string",
- "mobile": "string",
- "additionalInfo": "string"
}, - "contacts": [
- {
- "name": "string",
- "address": "string",
- "email": "string",
- "phone": "string",
- "mobile": "string",
- "additionalInfo": "string"
}
], - "deliveryPOS": true,
- "deliveryHome": true,
- "deliveryOnline": true
}, - "nonMaterial": true,
- "pricePlans": [
- {
- "id": 0,
- "code": "string",
- "pointTypeName": "string",
- "channel": "string",
- "points": 1,
- "pointType": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24"
}
], - "resources": {
- "main": {
- "id": 0,
- "name": "string",
- "fileId": "string",
- "type": "string",
- "channel": "s",
- "typeName": "string",
- "channelName": "string"
}, - "other": [
- {
- "id": 0,
- "name": "string",
- "fileId": "string",
- "type": "string",
- "channel": "s",
- "typeName": "string",
- "channelName": "string"
}
]
}, - "creationDate": "2019-08-24T14:15:22Z",
- "internalName": "string",
- "segments": [
- {
- "code": "string",
- "name": "string",
- "type": "s",
- "assignMode": "I",
- "size": 0
}
]
}
]
}
Get reward details
any
) rewardCode required | string Unique code identifying reward |
pricePlanDate | string <date> Example: pricePlanDate=2018-09-01 Effective date for price plan. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "code": "string",
- "internalName": "string",
- "externalName": "string",
- "description": "string",
- "externalDescription": "string",
- "type": "s",
- "category": "string",
- "masterCategory": "string",
- "couponTypeCode": "string",
- "categoryOrder": 0,
- "externalNameI18N": {
- "value": "string",
- "i18n": [
- {
- "langCode": "string",
- "value": "string"
}
]
}, - "status": "s",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "externalDescriptionI18N": {
- "value": "string",
- "i18n": [
- {
- "langCode": "string",
- "value": "string"
}
]
}, - "partner": "string",
- "supplier": "string",
- "netValue": 0,
- "tax": "string",
- "quantity": 1,
- "maximumRedemptionsAllowed": 1,
- "nonMaterial": true,
- "statusName": "string",
- "partnerName": "string",
- "typeName": "string",
- "categoryName": "string",
- "masterCategoryName": "string",
- "pricePlans": [
- {
- "id": 0,
- "code": "string",
- "pointTypeName": "string",
- "channel": "string",
- "points": 1,
- "pointType": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24"
}
], - "segments": [
- {
- "code": "string",
- "name": "string",
- "type": "s",
- "assignMode": "I",
- "size": 0
}
], - "tiers": [
- {
- "tier": "string",
- "tierName": "string"
}
], - "resources": {
- "main": {
- "id": 0,
- "name": "string",
- "fileId": "string",
- "type": "string",
- "channel": "s",
- "typeName": "string",
- "channelName": "string"
}, - "other": [
- {
- "id": 0,
- "name": "string",
- "fileId": "string",
- "type": "string",
- "channel": "s",
- "typeName": "string",
- "channelName": "string"
}
]
}, - "lastModify": "2019-08-24T14:15:22Z"
}
History of rewards orders (redemptions) to be displayed on customer profile. There is also and option to manage/ cancel the particular order this way.
Get list of reward orders.
any
) accountId | integer Unique identifier of the account which is owner of the requested entity. |
customerId | integer Unique identifier of the customer who is owner of the requested entity. |
login | string Unique login of the customer who is owner of the requested entity. |
identifierId | integer Unique id of the loyalty identifier which identified the owner of the requested entity. |
identifierNo | string Loyalty identifier which identifies the owner of the requested entity. |
status | string Order status. ORDER_STATUSES dictionary. |
deliveryMethod | string Order delivery method code. REWARD_DELIVERY_METHODS dictionary. |
dateFrom | string <date> Order placement date. Lower boundary. Inclusive. |
dateTo | string <date> Order placement date. Upper boundary. Inclusive. |
partner | string Partner code. PARTNERS dictionary |
location | string Location code. LOCATIONS dictionary |
withRewards | boolean Flag indicates whether to get orders with rewards. If not set, return orders without rewards |
sort | string Default: "date:DESC" Defines the sort order of the resulting list of objects.
|
firstResult | integer <int32> Default: 0 First item on the page. Indexed from 0. |
maxResults | integer <int32> Max count of items on the page. Default value is from the PROCESSING_DEFAULT_MAX_RESULTS system parameter. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
X-Tenant-ID | string <= 100 characters Tenant identifier. |
[- {
- "orderId": 0,
- "transactionId": 0,
- "accountId": 0,
- "customerId": 0,
- "identifierNo": "string",
- "firstName": "string",
- "lastName": "string",
- "date": "2019-08-24",
- "partnerCode": "string",
- "partnerName": "string",
- "deliveryMethod": "string",
- "deliveryMethodName": "string",
- "status": "st",
- "statusName": "string",
- "ownerEmail": "string",
- "ownerMobile": "string",
- "ownerMobilePhonePrefix": "string",
- "channel": "s",
- "channelName": "string",
- "location": "string",
- "locationName": "string",
- "totalPointTypes": [
- {
- "pointTypeCode": "string",
- "pointTypeName": "string",
- "amount": 0
}
], - "rewards": [
- {
- "reward": "string",
- "rewardName": "string",
- "pricePlanCode": "string",
- "quantity": 1,
- "totalPointTypes": [
- {
- "pointTypeCode": "string",
- "pointTypeName": "string",
- "amount": 0
}
], - "supplier": "string",
- "supplierName": "string",
- "online": true,
- "type": null
}
]
}
]
Get order detailed info
any
) target required | string Target unique id of loyalty identifier. Constructed as following: |
orderId required | integer order internal unique identifier |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "orderId": 0,
- "transactionId": 0,
- "accountId": 0,
- "customerId": 0,
- "identifierNo": "string",
- "firstName": "string",
- "lastName": "string",
- "date": "2019-08-24",
- "partnerCode": "string",
- "partnerName": "string",
- "deliveryMethod": "string",
- "deliveryMethodName": "string",
- "status": "st",
- "statusName": "string",
- "ownerEmail": "string",
- "ownerMobile": "string",
- "ownerMobilePhonePrefix": "string",
- "channel": "s",
- "channelName": "string",
- "location": "string",
- "locationName": "string",
- "totalPointTypes": [
- {
- "pointTypeCode": "string",
- "pointTypeName": "string",
- "amount": 0
}
], - "deliveryAddress": {
- "name": "string",
- "phone": "string",
- "phoneCountryPrefix": "string",
- "street": "string",
- "houseNumber": "string",
- "apartmentNumber": "string",
- "postalCode": "string",
- "city": "string",
- "region": "string",
- "country": "str",
- "email": "string",
- "mobile": "string",
- "additionalInfo": "string"
}, - "deliveryLocation": {
- "partner": "string",
- "partnerName": "string",
- "location": "string",
- "locationName": "string"
}, - "comment": "string",
- "rewards": [
- {
- "reward": "string",
- "rewardName": "string",
- "pricePlanCode": "string",
- "quantity": 1,
- "totalPointTypes": [
- {
- "pointTypeCode": "string",
- "pointTypeName": "string",
- "amount": 0
}
], - "supplier": "string",
- "supplierName": "string",
- "online": true,
- "type": null
}
], - "totalQuantity": 0,
- "externalId": "string"
}
any
) orderId required | integer order internal unique identifier |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "error": "VALIDATION_ERROR",
- "message": "Validation error: Constraint violations",
- "method": "PUT",
- "path": "/profile/customers/12345",
- "correlationId": "1505219765216595",
- "status": 400,
- "timestamp": "2017-09-12T12:36:05.217Z",
- "violations": [
- {
- "error": "CONSTRAINT_NOT_EMPTY",
- "message": "Empty value not allowed",
- "path": "arg1.address.street"
}
]
}
any
) transactionId required | integer Transaction internal unique identifier |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "error": "VALIDATION_ERROR",
- "message": "Validation error: Constraint violations",
- "method": "PUT",
- "path": "/profile/customers/12345",
- "correlationId": "1505219765216595",
- "status": 400,
- "timestamp": "2017-09-12T12:36:05.217Z",
- "violations": [
- {
- "error": "CONSTRAINT_NOT_EMPTY",
- "message": "Empty value not allowed",
- "path": "arg1.address.street"
}
]
}
By using them you can fully reverses any revertible transaction such as accrual (reversal). Not all transactions and actions are marked as reversible in the System.
Fully reverses any revertible transaction.
Note: Use return operations to partially reverse accrual transactions.
any
) transactionId required | integer Transaction internal unique identifier |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
comment | string <= 400 characters Transaction comment |
cashierId | string <= 100 characters Cashier identifier in external system |
{- "comment": "string",
- "cashierId": "string"
}
{- "transactionId": 0,
- "status": "s",
- "statusName": "string",
- "orderId": 0,
- "transactionPoints": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "memberBalance": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "incentiveValue": 0,
- "productsDiscountValue": 0,
- "billDiscountValue": 0,
- "discountValue": 0,
- "paymentValue": 0,
- "messages": [
- "string"
], - "products": [
- {
- "code": "string",
- "externalCode": "string",
- "quantity": 0,
- "discountValue": 0,
- "paymentValue": 0,
- "discountPromotions": [
- {
- "code": "string",
- "externalName": "string",
- "discountValue": 0
}
]
}
], - "billDiscountPromotions": [
- {
- "code": "string",
- "externalName": "string",
- "discountValue": 0
}
], - "issuedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
]
}
], - "burnedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "useDetails": {
- "useResult": "s",
- "useResultName": "string",
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
], - "refundedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
], - "useDetails": {
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
]
}
Fully reverses any revertible transaction found by partner's unique transaction number.
Note: Use return operations to partially reverse accrual transactions.
any
) partnerCode required | string Transaction's partner code |
trnNo required | string Transaction partner's unique transaction number |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
comment | string <= 400 characters Transaction comment |
cashierId | string <= 100 characters Cashier identifier in external system |
{- "comment": "string",
- "cashierId": "string"
}
{- "transactionId": 0,
- "status": "s",
- "statusName": "string",
- "orderId": 0,
- "transactionPoints": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "memberBalance": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "incentiveValue": 0,
- "productsDiscountValue": 0,
- "billDiscountValue": 0,
- "discountValue": 0,
- "paymentValue": 0,
- "messages": [
- "string"
], - "products": [
- {
- "code": "string",
- "externalCode": "string",
- "quantity": 0,
- "discountValue": 0,
- "paymentValue": 0,
- "discountPromotions": [
- {
- "code": "string",
- "externalName": "string",
- "discountValue": 0
}
]
}
], - "billDiscountPromotions": [
- {
- "code": "string",
- "externalName": "string",
- "discountValue": 0
}
], - "issuedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
]
}
], - "burnedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "useDetails": {
- "useResult": "s",
- "useResultName": "string",
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
], - "refundedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
], - "useDetails": {
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
]
}
Redemptions requests are use to burn points to the reward from catalogue (coupons) or burn any issued coupon during transaction. You can use them also in Simulate mode to check the effect.
Process or simulate redemption transaction on customer or identifier level.
Redeems basing on business rules and rewards catalogue.
Exactly one of the following query parameters is required:
any
) identifierId | integer Unique id of the loyalty identifier on which operation will be processed. |
identifierNo | string Loyalty identifier on which operation will be processed. |
externalCustomerId | string Id assigned in external system to the customer on which operation will be processed. |
externalType | string Code of type used to identify which external system is the owner of externalCustomerId. EXTERNAL_IDENTIFIER_TYPES dictionary. |
simulate | boolean Default: false True enable simulation mode. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
partner required | string <= 10 characters Partner code. PARTNERS dictionary. |
trnNo | string <= 100 characters Partner transaction number |
location | string <= 10 characters Code of partner's location. |
comment | string <= 400 characters Transaction comment |
required | Array of objects (types.OrderItem) List of rewards in basket |
deliveryMethod | string Delivery method code. REWARD_DELIVERY_METHODS dictionary. |
object Delivery location details. | |
object Delivery address details. | |
cashierId | string <= 100 characters Cashier identifier in external system |
{- "partner": "string",
- "trnNo": "string",
- "location": "string",
- "comment": "string",
- "rewards": [
- {
- "pricePlanCode": "string",
- "quantity": 1
}
], - "deliveryMethod": "string",
- "deliveryLocation": {
- "partnerCode": "string",
- "locationCode": "string"
}, - "deliveryAddress": {
- "name": "string",
- "street": "string",
- "houseNumber": "string",
- "apartmentNumber": "string",
- "postalCode": "string",
- "city": "string",
- "region": "string",
- "country": "str",
- "email": "string",
- "mobile": "string",
- "phoneCountryPrefix": "string",
- "additionalInfo": "string"
}, - "cashierId": "string"
}
{- "transactionId": 0,
- "status": "s",
- "statusName": "string",
- "orderId": 0,
- "transactionPoints": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "memberBalance": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "incentiveValue": 0,
- "productsDiscountValue": 0,
- "billDiscountValue": 0,
- "discountValue": 0,
- "paymentValue": 0,
- "messages": [
- "string"
], - "products": [
- {
- "code": "string",
- "externalCode": "string",
- "quantity": 0,
- "discountValue": 0,
- "paymentValue": 0,
- "discountPromotions": [
- {
- "code": "string",
- "externalName": "string",
- "discountValue": 0
}
]
}
], - "billDiscountPromotions": [
- {
- "code": "string",
- "externalName": "string",
- "discountValue": 0
}
], - "issuedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
]
}
], - "burnedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "useDetails": {
- "useResult": "s",
- "useResultName": "string",
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
], - "refundedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percent": 1,
- "applicationRule": "U",
- "visualModes": [
- "BC"
], - "useDetails": {
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
]
}
Process or simulate coupon redemption transaction.
Operation burns coupon issued to loyalty member.
Exactly one of the following query parameters is required:
any
) identifierId | integer Unique id of the loyalty identifier on which operation will be processed. |
identifierNo | string Loyalty identifier on which operation will be processed. |
externalCustomerId | string Id assigned in external system to the customer on which operation will be processed. |
externalType | string Code of type used to identify which external system is the owner of externalCustomerId. EXTERNAL_IDENTIFIER_TYPES dictionary. |
simulate | boolean Default: false True enable simulation mode. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
partner required | string <= 10 characters Partner code. PARTNERS dictionary. |
trnNo | string <= 100 characters Partner transaction number |
location | string <= 10 characters Code of partner's location. |
date | string <date-time> Transaction date. |
comment | string <= 400 characters Transaction comment |
required | Array of objects (types.CouponRedemptionBurnRequest) non-empty Burned coupons |
cashierId | string <= 100 characters Cashier identifier in external system |
{- "partner": "string",
- "trnNo": "string",
- "location": "string",
- "date": "2019-08-24T14:15:22Z",
- "comment": "string",
- "coupons": [
- {
- "couponNumbers": [
- "string"
], - "quantity": 1
}
], - "cashierId": "string"
}
{- "transactionId": 0,
- "status": "s",
- "statusName": "string",
- "memberBalance": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}, - "burnedCoupons": [
- {
- "couponNumber": "string",
- "couponTypeCode": "string",
- "couponTypeName": "string",
- "externalName": "string",
- "externalDescription": "string",
- "marketingText": "string",
- "useQuantity": 0,
- "validityPeriod": {
- "validityStartDate": "2019-08-24",
- "expiryDate": "2019-08-24"
}, - "fixedValueDiscount": 0.01,
- "percentDiscount": 1,
- "useDetails": {
- "useResult": "s",
- "useResultName": "string",
- "status": "s",
- "statusName": "string",
- "burnQuantity": 0,
- "refundQuantity": 0
}
}
]
}
The System posts the given member points balance on the loyalty identifier level. This transaction is visible on the member’s transaction list.
Process balance inquiry transaction on identifier level.
Queries for points balance using the loyalty identifier.
Exactly one of the following query parameters is required:
any
) identifierId | integer Unique id of the loyalty identifier on which operation will be processed. |
identifierNo | string Loyalty identifier on which operation will be processed. |
simulate | boolean Default: true True enable simulation mode. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
partner required | string <= 10 characters Partner code. PARTNERS dictionary. |
cashierId | string <= 100 characters Cashier identifier in external system |
{- "partner": "string",
- "cashierId": "string"
}
{- "transactionId": 0,
- "status": "s",
- "statusName": "string",
- "memberBalance": {
- "basicPoints": 0,
- "points": [
- {
- "pointType": "string",
- "pointTypeName": "string",
- "points": 0
}
]
}
}
This set of methods response with the detailed list dictionaries and dictionary items values. So if you want to present Titles or Genders values on your page, or the phone prefixes list that are allowed in the System you will use these.
List of available dictionaries
any
) Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- "string"
]
}
Get list of dictionaries with dictionary items
any
) dic required | string Dictionaries query in special format (examples below). |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "code": "string",
- "items": [
- {
- "code": "string",
- "value": "string",
- "order": 0,
- "description": "string",
- "imageId": "string"
}
]
}
]
}
Returns dictionary items for the particular dictionary domain
any
) dictionaryCode required | string Dictionary code, from response of GET /available-dictionaries |
filter | string Full text search query. |
firstLetters | string Full text search query working in 'startsWith' mode. |
itemCode | Array of strings Item code. For fetching particular dictionary items. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "results": [
- {
- "code": "string",
- "value": "string",
- "order": 0,
- "description": "string",
- "imageId": "string"
}
]
}
Returns languages from the LANGUAGES dictionary of the MEMBER_LANGUAGES parameter.
any
) filter | string Full text search query. |
firstLetters | string Full text search query working in 'startsWith' mode. |
itemCode | Array of strings Item code. For fetching particular languages. |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
{- "results": [
- {
- "code": "string",
- "value": "string",
- "order": 0,
- "description": "string",
- "imageId": "string"
}
]
}
Get system parameter
any
) parameterCode required | string System parameter code |
Content-Type | string Request content type as MIME type. |
Accept | string Specifies which content types, expressed as MIME types, are accepted by client. |
Accept-Language | string Example: pl, en-us Specifies the client proposed language of the response. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
{- "code": "string",
- "name": "string",
- "category": "st",
- "categoryName": "string",
- "type": "s",
- "typeName": "string",
- "value": "string",
- "pattern": "string",
- "description": "string"
}
Upload binary file into the system storage.
any
) Content-Type | string Default: multipart/form-data Value: "multipart/form-data" Content type as MIME type. |
Authorization | string Example: Bearer QWxhZGRpbjpPcGVuU2VzYW1l OAuth authorization header. Formatted according to OAUTH principles with Bearer Authentication Scheme. See Authorization documentation. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
X-Tenant-ID | string <= 100 characters Tenant identifier. |
file required | string <binary> File contents |
{- "error": "VALIDATION_ERROR",
- "message": "Validation error: Constraint violations",
- "method": "PUT",
- "path": "/profile/customers/12345",
- "correlationId": "1505219765216595",
- "status": 400,
- "timestamp": "2017-09-12T12:36:05.217Z",
- "violations": [
- {
- "error": "CONSTRAINT_NOT_EMPTY",
- "message": "Empty value not allowed",
- "path": "arg1.address.street"
}
]
}
Get any binary file stored in the system via system-wide unique identifier.
any
) fileId required | string <= 99 characters System-wide unique file identifier in form of GUID. |
Accept | string Default: application/octet-stream Expected response content type as MIME type. |
X-Correlation-ID | string <= 100 characters Unique request token for correlation purposes. |
Time-Zone | string <= 100 characters Time zone to which all datetime fields will be adjusted (GET) or interpreted (POST/PUT/PATCH).
|
X-Tenant-ID | string <= 100 characters Tenant identifier. |
{- "error": "VALIDATION_ERROR",
- "message": "Validation error: Constraint violations",
- "method": "PUT",
- "path": "/profile/customers/12345",
- "correlationId": "1505219765216595",
- "status": 400,
- "timestamp": "2017-09-12T12:36:05.217Z",
- "violations": [
- {
- "error": "CONSTRAINT_NOT_EMPTY",
- "message": "Empty value not allowed",
- "path": "arg1.address.street"
}
]
}