Developers
  • Introduction
  • Integration
    • Spring Boot Starter
      • Overview
      • Setup your project
      • Product search
      • Invoicing
      • Merchant side invoicing
      • Merchant side purchase control
      • Loyalty cards
      • Home delivery
      • Marketing & Offers
    • Custom Integration
      • Overview
      • Connection node
        • Get node version endpoint
        • Get node health endpoint
      • Product search
        • Pageable product list search endpoint
        • Product bacrode search endpoint
        • Product name search endpoint
        • Product category search endpoint
      • Invoicing
        • Receive invoice endpoint
      • Merchant side invoicing
        • Create receipt endpoint
        • Confirm receipt payment endpoint
      • Merchant side purchase control
        • Receive purchase check endpoint
        • Send purchase check result
        • Ask for purchase check data resend
      • Loyalty cards
        • Loyalty card registration endpoint
        • Loyalty card bonus endpoint
      • Home delivery
        • Receive order endpoint
        • Receive order update endpoint
        • Update order status
        • Find order by id
        • Find order by invoice id
        • Find order by institution invoice id
      • Marketing & Offers
        • Find offers endpoint
  • General
    • Data object descriptions
      • HealthStatus
      • DefaultOffer
      • DiscountOffer
      • ProductRelatedOffer
      • OfferType
      • OfferClassification
      • Order
      • OrderStatusChangeLog
      • ColorTheme
      • LoyaltyCard
      • DefaultLoyaltyCard
      • BonusLoyaltyCard
      • LoyaltyCardType
      • LoyaltyCardValidationType
      • Shipment
      • ShipmentStatus
      • Category
      • Addition
      • Address
      • Currency
      • BuyerParty
      • Campaign
      • CampaignCode
      • ClientCard
      • Information
      • Inspection
      • Invoice
      • LangCode
      • Price
      • Product
      • Quantity
      • SellerParty
      • Total
      • TotalVAT
      • Translatable
      • Receipt
      • ReceiptProduct
      • ReceiptLoyaltyCard
      • ReceiptCategory
      • VAT
    • Request & Responses
      • NodeHealthResponse
      • NodeVersionResponse
      • OfferSearchRequest
      • PickupOrderStatusChangeRequest
      • LoyaltyCardBonusResponse
      • LoyaltyCardBonusRequest
      • LoyaltyCardRegistrationResponse
      • LoyaltyCardRegistrationRequest
      • PurchaseControlCheckResendRequest
      • PurchaseControlResult
      • PurchaseControlCheckResponse
      • PurchaseControlCheckRequest
      • ReceiptPaymentConfirmationRequest
      • InstitutionRequest
      • Pageable
      • PageRequest
      • CreateReceiptRequest
      • ProductSearchRequest
    • Campaign standard
Powered by GitBook
On this page

Was this helpful?

  1. Integration
  2. Custom Integration
  3. Loyalty cards

Loyalty card registration endpoint

PreviousLoyalty cardsNextLoyalty card bonus endpoint

Last updated 5 years ago

Was this helpful?

Implementation is OPTIONAL

resource: /card/loyalty

method: POST

Request :

Response:

{
	"loyaltyCard": {
		"id": "1234",
		"imageId": null,
		"type": "BONUS",
		"canUseBonusPointsForPayment": true,
		"name": {
			"originalText": "Bonus card",
			"translations": [
				{
					"ET": "Boonus kaart"
				}
			]
		},
		"description": {
			"originalText": "For special clients",
			"translations": [
				{
					"ET": "Preemiumkliendi kaart"
				}
			]
		},
		"validationTypes": [
			"CARD_NUMER",
			"IDCODE"
		],
		"colorTheme": "DARK",
		"primary": true,
		"colors": [
			"#fff",
			"#000"
		]
	},
	"value": "22103944833292",
	"personId": "123545454",
	"personEmail": "test@test.ee",
	"personName": "TestUser"
}
{
	"cardNumber": "22103944833292",
	"validFrom": "2019-02-01",
	"validTo": "2022-01-31"
}

LoyaltyCardRegistrationRequest
LoyaltyCardRegistrationResponse