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. Spring Boot Starter

Setup your project

Spring Boot integration process overview

1. Create new store in Smarts Web Manager to get access token

2. Register store from your application property file

smarts.access[0].token=${PASTE_YOUR_ACCESS_TOKEN_HERE}
smarts.access[0].institution={PASTE_YOUR_STORE_ID_HERE}

3. Import Smarts dependency to your Spring Boot project

<repositories>
    <repository>
        <snapshots>

            <enabled>false</enabled>
        </snapshots>
        <id>smarts-central</id>
        <name>libs-release</name>
        <url>http://repo.huefy.eu/artifactory/libs-release</url>
    </repository>
    <repository>
        <snapshots />
        <id>smarts-snapshots</id>
        <name>libs-snapshot</name>
        <url>http://repo.huefy.eu/artifactory/libs-snapshot</url>
    </repository>
</repositories>
<pluginRepositories>
    <pluginRepository>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
        <id>smarts-central</id>
        <name>libs-release</name>
        <url>http://repo.huefy.eu/artifactory/libs-release</url>
    </pluginRepository>
    <pluginRepository>
        <snapshots />
        <id>smarts-snapshots</id>
        <name>libs-snapshot</name>
        <url>http://repo.huefy.eu/artifactory/libs-snapshot</url>
    </pluginRepository>

</pluginRepositories>
<dependency>
    <groupId>ee.smarts</groupId>
    <artifactId>spring-boot-starter</artifactId>
    <version>0.0.49-SNAPSHOT</version>
</dependency>
PreviousOverviewNextProduct search

Last updated 5 years ago

Was this helpful?